[asterisk-users] AEL Variable Warning Messages

Brent Davidson brent at texascountrytitle.com
Mon Jan 5 16:11:00 CST 2009


Benoit wrote:
> Brent Davidson a écrit :
>   
>> Another question along these lines...  If I set a Global called
>> "TRUNK" in the globals section and later assign do a TRUNK=whatever it
>> appears that a local variable called TRUNK is created instead of using
>> the global.  You must explicitly use the Set(GLOBAL(TRUNK)=whatever)
>> syntax to alter the global.
>>     
> And the question is ?
I guess my question was whether or not the above is the intended 
behavior.  It seems to me that if you declare a global, then later use 
the same name it should refer to the global without having to use the 
old syntax.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090105/764085c4/attachment.htm 


More information about the asterisk-users mailing list