search for: __my_group

Displaying 1 result from an estimated 1 matches for "__my_group".

Did you mean: _my_group
2005 Aug 08
0
trouble using variables with included contexts
...context and use it in another: [c1] MY_GROUP = SIP/200&SIP/201 [c2] include c1 exten s,1,NoOp(${MY_GROUP}) The noop prints out a blank string. In [c1], I've tried exten s,1,SetVar(MY_GROUP=SIP/200&SIP/201) and exten s,1,SetVar(_MY_GROUP=SIP/200&SIP/201) and exten s,1,SetVar(__MY_GROUP=SIP/200&SIP/201) and exten s,1,SetGlobalVar(MY_GROUP=SIP/200&SIP/201) Nothing set in [c1] works. If in [c2] I do: exten s,1,SetVar(MY_GROUP=SIP/200&SIP/201) exten s,2,NoOp(${MY_GROUP}) Then that works. From reading http://www.voip-info.org/tiki-index.php?page=Asterisk%20variables...