[asterisk-users] How to get values of local channels context
kjcsb
kjcsb at yahoo.com
Wed Feb 28 19:23:46 MST 2007
>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)})
Are there any better options?
Cameron
___________________________________________________________
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes.
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070228/ddec2026/attachment.htm
More information about the asterisk-users
mailing list