On 8/24/06, Tony Mountifield [EMAIL PROTECTED] wrote:
In article [EMAIL PROTECTED],
unplug [EMAIL PROTECTED] wrote:
Tony Mountifield wrote:
Try using Set(__testmode=1), but still refer to it as ${testmode}.
The __ tells Asterisk to propagate the variable to created channels.
Do you
In article [EMAIL PROTECTED],
unplug [EMAIL PROTECTED] wrote:
Hi,
I have set some variable in a call.
Set(testmode=1)
For some reason, such as forward the call, the follow command called.
Dial(Local/1234567)
It will go through the dial plan again but the value of variable
testmode
Do you mean it is a global variable instead of channel variable?
Try using Set(__testmode=1), but still refer to it as ${testmode}.
The __ tells Asterisk to propagate the variable to created channels.
Cheers
Tony
--
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play:
In article [EMAIL PROTECTED],
unplug [EMAIL PROTECTED] wrote:
Tony Mountifield wrote:
Try using Set(__testmode=1), but still refer to it as ${testmode}.
The __ tells Asterisk to propagate the variable to created channels.
Do you mean it is a global variable instead of channel variable?