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?
No, it is a channel variable. The __ on the beginning means it will be
inherited by any channels created from the channel it was set on.
See the section called "Inheritance of Channel Variables" on
http://www.voip-info.org/wiki/view/Asterisk+variables
In fact you will find that there is a LOT of useful info on that site.
Cheers
Tony
--
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users