[Home]

Summary:ASTERISK-03640: AGI Command GET VARIABLE Delays output
Reporter:siftach (siftach)Labels:
Date Opened:2005-03-07 06:34:40.000-0600Date Closed:2011-06-07 14:05:30
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When executing GET VARIABLE command, AGI returns 510. However, if after the GET VARIABLE a SET VARIABLE command is issued, the value from the previous GET VARIABLE is returned.

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

Example from my log:
Executing GET VARIABLE directory
Result: 510 Invalid or unknown command
Executing SET VARIABLE boxnum 30619
Result: 200 result=1 (iftach)

"iftach" is the value of the variable directory
Comments:By: siftach (siftach) 2005-03-07 10:13:40.000-0600

Sorry, my mistake. It put the line "#!/usr/bin/php -q" on my AGI files, and Asterisk considered them as AGI commands.

By: Clod Patry (junky) 2005-03-07 20:44:57.000-0600

seems more an error in AGI.