<html><body><span style="font-family:Verdana; color:#000000;
font-size:10pt;"><br>Hi,<br><br>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.<br><br><br>Todd<br><br><br><br>
<blockquote webmail="1" style="border-left: 2px solid blue;
margin-left: 8px; padding-left: 8px; font-size: 10pt; color: black; font-family:
verdana;">
<div >
-------- Original Message --------<br>
Subject: [asterisk-users] cannot run agi scripts<br>
From: Michael Connors <connorsml@gmail.com><br>
Date: Sat, August 29, 2009 5:29 am<br>
To: asterisk-users@lists.digium.com<br>
<br>
Hi,<div>I am new to Asterisk, I installed it add got it working for
incoming calls using a sip
provider.</div><div><br></div><div>I can for
example run the following
successfully:</div><div><br></div><div><div>exten
=> 124,1,Wait(1)</div> <div>exten =>
124,2,Playback(demo-thanks)</div><div>exten =>
124,3,Hangup</div><div><br></div><div>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.</div>
<div><br></div><div><div>exten =>
124,1,wait(1)</div><div>exten =>
124,2,AGI(hello.agi)</div><div>exten =>
124,3,Hangup</div><div><br></div><div>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.</div>
<div><br></div><div>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.</div><div><br></div><div>In my
asterisk.conf I have the following line:</div>
</div></div><div><br clear="all">astagidir
=>
/usr/lib/asterisk/agi-bin</div><div><br></div><div>I
am running Asterisk
1.4.17~dfsg-2ubuntu1</div><div><br></div><div>Any
help would be greatly appreciated.</div><div>Regards,<br> --
<br>Michael Connors<br>Leiden 2313 HZ,<br>The
Netherlands<br><br> </div>
<hr>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a
href="http://www.api-digital.com" target="_blank"
mce_href="http://www.api-digital.com">http://www.api-digital.com</a>
--<br>
<br>
AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net"
target="_blank"
mce_href="http://www.astricon.net">http://www.astricon.net</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a
href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank"
mce_href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</div>
</blockquote></span></body></html>