[Home]

Summary:ASTERISK-07414: [patch] GET VARIABLE does not return global dialplan variables
Reporter:Simon Austin (simonaustin)Labels:
Date Opened:2006-07-28 14:50:07Date Closed:2006-08-24 08:47:51
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Resources/res_agi
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) bug7609.patch
Description:GET VARIABLE returns zero when trying to access global dialplan variables


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

I originally asked about this on the asterisk-users mailing list.  Russel mentioned that I should submit a bug report for it.
Comments:By: Russell Bryant (russell) 2006-07-28 16:02:26

Please test the attached patch and see if it fixes your problem.

For information about how to apply a patch, see http://www.asterisk.org/developers for a patch how-to page.

By: Russell Bryant (russell) 2006-08-15 17:51:57

This should now be fixed in 1.2 and trunk in revisions 39935 and 39936

By: Tilghman Lesher (tilghman) 2006-08-23 11:15:39

This change broke builtin variables.  I am reverting it for now.

By: Tilghman Lesher (tilghman) 2006-08-23 11:17:26

I am not sure why you are not able to retrieve global variables with the code in 1.2.10.  The code is there to do it.  Could you give us an example where a global variable is definitely set, but you are not getting the value back?

By: Russell Bryant (russell) 2006-08-24 08:47:50

Well, I just tested this and it works fine.  I'm sorry for breaking it.  :(

simonaustin, if you are able to  recreate your original issue, feel free to re-open the bug