Samy Antoun wrote:

[context1]
exten => s,1,Answer
exten => s,2,SetVar(MYVAR=1)
exten => s,3,Goto(context2,s,1)
[context2]
exten => s,1,NoOp(${MYVAR})

The NoOp in context2 will return 1?

Variables are set on the channel itself, they aren't related to contexts at all.
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

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