[asterisk-users] getting at ${CALLERIDNUM}
John covici
covici at ccs.covici.com
Thu Jun 7 16:13:55 CDT 2007
Lucky the answer to your problem is simple -- you are using an old
format for the caller id -- they are now functions like
${CALLERID(num)} etc. -- see the documentation for more information.
on Thursday 06/07/2007 Matthew Pease(matt at parkinghero.com) 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
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici at ccs.covici.com
More information about the asterisk-users
mailing list