--- "Eric \"ManxPower\" Wieling" <[EMAIL PROTECTED]> wrote:
> That is the default.  Once you set a variable it should exist for the
> life of the channel.  Now, if you are wanting to access that variable
> when one channel spawns another channel (like chan_local does), then 
> prefix the name of the variable by _ or __ .  I'm sure it's
> documented 
> somewhere, but I have no idea where.  The underscore and double 
> underscore prefix feature is NOT available in 1.0.x, only in CVS-HEAD

Eric,
If I have two contexts:

[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?



        
                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
_______________________________________________
--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