[Home]

Summary:ASTERISK-00404: SetGlobalVar seems to create a local variable instead of changing the global
Reporter:steven (steven)Labels:
Date Opened:2003-10-20 11:42:36Date Closed:2004-09-25 02:21:16
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I defined a global var in extensions.conf and tried to change it via the SetGlobalVar application.
The application didn't return any errors, however the value of the global variable was still the same as the initial value.

Also the description of the application says:
"Setvar(#n=value): Sets global variable n to value"
And NOT "SetGlobalVar(.." or something.

****** ADDITIONAL INFORMATION ******

I assume the application calls the same method as the SetVar application and therefore creates a local variable instead of changing the global.
Comments:By: x martinp (martinp) 2003-11-03 17:52:40.000-0600

It works fine. Just tested it. Cvs update to have the description fixed.

When you issue SetGlobalVar app you should see something like this:

Setting global variable 'NAME' to 'value'