[asterisk-users] Included context

Artifex Maximus artifexor at gmail.com
Tue Sep 26 10:41:27 MST 2006


Hello,

For example I have this dialplan:

[context1]
exten => s,1,Noop
exten => s,n,Dial(...)
exten => s,n,Playback(${CONTEXT})
exten => s,n,Hangup

[context2]
include => context1

[context3]
include => context1

Then I make dial-out call files with context2, context3, etc. What is
the value of ${CONTEXT} in that case? Still context1 because it's
physically there or context2, context3 because I am included from
there (so in a way logically is there). I didn't find any exact answer
that's why I'm asking here.

bye,
Zsolt


More information about the asterisk-users mailing list