[asterisk-users] getting at ${CALLERIDNUM}

Eric "ManxPower" Wieling eric at fnords.org
Thu Jun 7 16:31:29 CDT 2007


If he's using 1.4, I hope he read UPGRADE.txt, which covers this and all 
the other changes between 1.2 and 1.4

Jared Smith wrote:
> 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.



More information about the asterisk-users mailing list