kjcsb wrote:
The variable ${CONTEXT} stores the value of the current context. However
if we are in a macro that will be the name of the macro. How do I access
the name of the local channel's context.
For example:
[macro-test]
exten => s,n,NoOp(Context ${CONTEXT})
CLI shows:
-- Executing NoOp("Local/[EMAIL PROTECTED],2
<mailto:Local/[EMAIL PROTECTED],2>", "Context macro-test") in new stack
I want to get 1100006-2000 somehow.
Hi,
Check out ${MACRO_CONTEXT}
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Macro
--
Warm Regards,
Lee
_______________________________________________
--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