[asterisk-users] How to get values of local channels context
kjcsb
kjcsb at yahoo.com
Mon Feb 26 23:32:29 MST 2007
>> CLI shows:
>> -- Executing NoOp("Local/2592 at 1100006-2000-e802,2", "Context macro-test") in new stack
>>
>> I want to get 1100006-2000 somehow.
>>
>> Any suggestions would be appreciated.
>
>So use ${MACRO_CONTEXT} .
Thanks
But doesn't this give the calling context which, if itself is another macro, will still not give me what I want? If macro-test is called by macro-first then ${MACRO_CONTEXT} = macro-first. Surely there's a way to get the context directly from the Local channel itself?
Cameron
___________________________________________________________
Inbox full of unwanted email? Get leading protection and 1GB storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070226/e40cc3e0/attachment-0001.htm
More information about the asterisk-users
mailing list