[asterisk-users] getting at ${CALLERIDNUM}

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


You didn't say what VERISON OF ASTERISK you are using, so I will assume 
1.2.  When you watch the console, what is the output on the CLI of the 
SayDigits lines?  The only reason I can see for CALLERIDNUM to be empty 
is if the information was not received with the call.

I'll bet you got this example from the Wiki, didn't you?

Matthew Pease wrote:
> Hi all --
> 
>  I'm having awesome fun with Asterisk  & voicepulse connect together.
>  So cool.
> 
>  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?
> 
>   Thank you!
> Matt
> 
> Here is my extensions.conf
> 
> exten => _XX.,1,Answer()
> exten => _XX.,n,Playback(hello-world)
> exten => _XX.,n,SayDigits(${CALLERIDNUM})
> exten => _XX.,n,SayDigits(${LEN(${CALLERIDNUM})})
> exten => _XX.,n,SayDigits(1234)
> exten => _XX.,n,Hangup()
> 
> 
> exten => _XX.,n,SayDigits(${LEN(${CALLERIDNUM})})    says  "zero"
> 
> and
> exten => _XX.,n,SayDigits(${CALLERIDNUM})  says nothing at all.
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 



More information about the asterisk-users mailing list