[Home]

Summary:ASTERISK-01359: asterisk is unable to get * variables from an AGI Script called within the hangup extension
Reporter:fabeman (fabeman)Labels:
Date Opened:2004-04-06 08:08:14Date Closed:2004-09-25 02:51:27
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Dialplan example:
[testcontext]
exten => s,1,Answer
exten => s,2,SetVar(testvar=123)
exten => s,3,MeetMe (or whatever...)

exten => h,1,AGI(cleanup.php)
exten => h,2,NoOp(${testvar})  //This is successful and outputs the correct value to the console

cleanup.php:
read in of the standard agi headers successful..
writing command: "GET VARIABLE testvar"

-> asterisk doesen't respond to the command! (not even an error code)


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

if i do a Goto(h,1) in the s extension the agi script works as it should!

Used Setup:
Asterisk CVS-03/25/04-17:18:25
added cdr_mysql and app_sql_mysql

Digium Te405P Card on a Quad P3 Xeon 700mhz pc,
with Redhat Linux 9
Comments:By: Mark Spencer (markster) 2004-04-06 11:57:52

Use the "DeadAGI" application.

By: fabeman (fabeman) 2004-04-07 05:31:14

hmm. my version is nearly 20 days after the add of the deadagi application but there's no DeadAGI app in it (not even in the src).
i'll do a fresh checkout and see then...

btw. this app should be added to the docs ;)

By: Mark Spencer (markster) 2004-04-07 10:24:00

show application deadagi

Be sure you're running CVS head.

By: Mark Spencer (markster) 2004-04-12 09:38:13

Did it work?

By: Mark Spencer (markster) 2004-04-15 16:57:16

Fixed in CVS using DeadAGI