Thanks Todd, I didn't realise that it worked like that. I thought Asterisk would find it and serve it.I installed StarPy now, and I have a working AGI script. Regards, Michael
2009/8/29 Todd Fulton <todd.ful...@yahoo.com> > > 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 <connor...@gmail.com> > Date: Sat, August 29, 2009 5:29 am > To: asterisk-users@lists.digium.com > > 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,Hangup > > My 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,Hangup > > The 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-bin > > I am running Asterisk 1.4.17~dfsg-2ubuntu1 > > Any 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 > -- Michael Connors Burggravenlaan 148, Leiden 2313 HZ, The Netherlands 0031611520252
_______________________________________________ -- 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