Hi,
Did you start your agi server? It should be listening on port 4573 in order for asterisk to be able to connect. Once you do start the server, telnet to localhost 4573 (or whatever your agi host is) and you'll know if its available.
Todd
-------- Original Message --------
Subject: [asterisk-users] cannot run agi scripts
From: Michael Connors <[email protected]>
Date: Sat, August 29, 2009 5:29 am
To: [email protected]
Hi,I am new to Asterisk, I installed it add got it working for incoming calls using a sip provider.I can for example run the following successfully:exten => 124,1,Wait(1)exten => 124,2,Playback(demo-thanks)exten => 124,3,HangupMy problem is that I can not run AGI scripts, I tried the default test-agi.agi and a more simple python based one. I am using the following to use AGI.exten => 124,1,wait(1)exten => 124,2,AGI(hello.agi)exten => 124,3,HangupThe result of this is that the call goes straight to the SIP providers voice mail system, and it does not register in my /var/log/asterisk/messages log file.My AGI scripts are stored in /usr/lib/asterisk/agi-bin, which is read, write and execute for all users, as are all the scripts in the directory.In my asterisk.conf I have the following line:
astagidir => /usr/lib/asterisk/agi-binI am running Asterisk 1.4.17~dfsg-2ubuntu1Any help would be greatly appreciated.Regards,
--
Michael Connors
Leiden 2313 HZ,
The Netherlands
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
