[asterisk-users] getting at ${CALLERIDNUM}

Matthew Pease matt at parkinghero.com
Thu Jun 7 16:44:04 CDT 2007


Hi Jared-

  Awesome!  Thanks so much for saving me hours of scratching my head.
 I have the asterisk book, but evidently its 1.2 based.   boo.

matt

On 6/7/07, Jared Smith <jaredsmith at jaredsmith.net> wrote:
> 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
> _______________________________________________
> --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