[Asterisk-Users] AGI call problem

2005-04-05 Thread Adam Robins
I am issuing an AGI call in extensions.conf as follows: exten = 2000,1,Answer exten = 2000,n,AGI(script.pl) exten = 2000,n,Hangup Asterisk perl is installed. "script.pl" is a valid perl script in /var/lib/asterisk/agi-bin Output is: -- Executing Answer("SIP/2034-e908", "") in new

Re: [Asterisk-Users] AGI call problem

2005-04-05 Thread Josiah Bryan
On Tuesday 05 April 2005 3:24 pm, Adam Robins wrote: I am issuing an AGI call in extensions.conf as follows: exten = 2000,1,Answer exten = 2000,n,AGI(script.pl) exten = 2000,n,Hangup Asterisk perl is installed. script.pl is a valid perl script in /var/lib/asterisk/agi-bin Output is:

RE: [Asterisk-Users] AGI call problem

2005-04-05 Thread Adam Robins
Thanks! Use strict; unveiled a syntax error! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Josiah Bryan Sent: Tuesday, April 05, 2005 3:38 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] AGI call problem

Re: [Asterisk-Users] AGI call problem

2005-04-05 Thread Mike Roberts
check file permissions, if not turn off any (or as much) outputting to the console you can. On Apr 5, 2005 1:24 PM, Adam Robins [EMAIL PROTECTED] wrote: I am issuing an AGI call in extensions.conf as follows: exten = 2000,1,Answer exten = 2000,n,AGI(script.pl) exten = 2000,n,Hangup