[asterisk-users] getting at ${CALLERIDNUM}
Jared Smith
jaredsmith at jaredsmith.net
Thu Jun 7 15:52:31 CDT 2007
On 6/7/07, Matthew Pease <matt at parkinghero.com> wrote:
> I'm having awesome fun with Asterisk & voicepulse connect together.
> So cool.
I'm glad you're having fun!
> I'm trying to have the caller id read back to me. Do I need to do
> something to have this sent across in the sip.conf? Or is there
> something I need to do somewhere to enable the reading of this data?
If you're using Asterisk 1.4, the syntax has changed:
exten => _XX.,1,Answer()
exten => _XX.,n,Playback(hello-world)
exten => _XX.,n,SayDigits(${CALLERID(num)})
exten => _XX.,n,SayDigits(${LEN(${CALLERID(num)})})
exten => _XX.,n,SayDigits(1234)
exten => _XX.,n,Hangup()
You now use the CALLERID dialplan function to both read and set
CallerID related values, instead of just using channel variables.
-Jared
More information about the asterisk-users
mailing list