>>Check out /path/to/src/asterisk/doc/README.variables

>${DIALEDPEERNUMBER} would give it to me if I sliced it up.
>exten => s,n,Set(Foo=${CUT(DIALEDPEERNUMBER,@,2)})
>exten => s,n,Set(Foo=${CUT(Foo,/n,1)})

${CHANNEL} gets me something similar.

Too bad I now have to rename my contexts. Putting a - in them makes using Cut 
with ${CHANNEL} difficult!

Cameron


                
___________________________________________________________ 
The all-new Yahoo! Mail goes wherever you go - free your email address from 
your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
_______________________________________________
--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

Reply via email to