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", "Context macro-test") in new 
stack

I want to get 1100006-2000 somehow.

Any suggestions would be appreciated.

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