Christopher L. Wade wrote:
Hi all,

Is there an equivalent of the ${CONTEXT} variable that represents the *original* context of the call? i.e. If a call originates in the 'internal' context, no matter where it goes, this alternate version of ${CONTEXT} would never change from saying 'internal'?

I realize I could set this using the dialplan but I just wonder if there this already exists, and if not, would there be any objection to adding it? It could be ${CALL_CONTEXT} or ${ORIGINAL_CONTEXT}, or similar.


Thinking about this, the name of the variable might be ${DEVICE_CONTEXT} instead. This seems more in keeping with what I was intending the variable to represent, which is the 'context=' line from the appropriate config file.


Thanks,
Chris

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to