[asterisk-users] AGI: Not getting answers from get_data in a call-file call

2008-02-03 Thread Edwin Groothuis
I have the following situation: I drop a call-file into the Asterisk spool directory and I get called back. That all works. And I have this script: #!/usr/bin/perl -w use Asterisk::AGI; my $AGI = new Asterisk::AGI; my %input = $AGI-ReadParse(); $AGI-answer(); my $i;

Re: [asterisk-users] AGI: Not getting answers from get_data in a call-file call

2008-02-03 Thread Edwin Groothuis
a) The call file Channel: Zap/g4/0409227633 MaxRetries: 0 RetryTime: 60 WaitTime: 30 Extension: 0409227633 Callerid: 0409227633 Context: barnet-callback Priority: 1 b) the snippet of extensions.conf that this is called in ; ; dial back ; exten = 0293353699,1,AGI(callback1.agi)

Re: [asterisk-users] AGI: Not getting answers from get_data in a call-file call

2008-02-03 Thread Matt Riddell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Have you tried with AGI Debug on? - -- Kind Regards, Matt Riddell Director ___ http://www.venturevoip.com (Great new VoIP end to end solution) http://www.venturevoip.com/news.php (Daily Asterisk News -

Re: [asterisk-users] AGI: Not getting answers from get_data in a call-file call

2008-02-03 Thread Matt Riddell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Edwin Groothuis wrote: I have the following situation: I drop a call-file into the Asterisk spool directory and I get called back. That all works. And I have this script: #!/usr/bin/perl -w use Asterisk::AGI; my $AGI = new

Re: [asterisk-users] AGI: Not getting answers from get_data in a call-file call

2008-02-03 Thread Edwin Groothuis
Have you tried with AGI Debug on? Yes! Even before you asked :-) This is when I use DeadAgi (for some reason): -- Executing [EMAIL PROTECTED]:3] DeadAGI(Zap/4:103-1, callback2.agi) in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/callback2.agi AGI Tx agi_request: