<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body><div style="text-align: left;">Hello,<br>I have succeded in compiling and configuring My TDM Card and asterisk, all works fine. <br>But I have a problem using the PHP Agi.<br>The CLI tells me that when I call my number :<br><br>-- Starting simple switch on 'Zap/4-1'<br>&nbsp;&nbsp;&nbsp; -- Executing [s@incoming:1] Answer("Zap/4-1", "") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@incoming:2] AGI("Zap/4-1", "rabot.agi") in new stack<br>&nbsp;&nbsp;&nbsp; -- Launched AGI Script /var/lib/asterisk/agi-bin/rabot.agi<br>&nbsp; ==&nbsp; rabot.agi: Failed to execute '/var/lib/asterisk/agi-bin/rabot.agi': No such file or directory<br>&nbsp;&nbsp;&nbsp; -- AGI Script rabot.agi completed, returning 0<br>&nbsp; == Auto fallthrough, channel 'Zap/4-1' status is 'UNKNOWN'<br>&nbsp;&nbsp;&nbsp; -- Hungup 'Zap/4-1'<br><br>I tought first that it was a problem of chmod so I change the chmod of all the directory agi-bin TO 777<br><br>But it changed nothing. I have verify that php was well indicate at the beginning of the script :<br>#!/usr/bin/php-q<br><br>And there is a php exec at /usr/bin<br><br>Any ideas about this problem ?<br><br>Thank for you help<br><br>Kheraud<br></div><br /><hr />Besoin d'un e-mail ? Créez gratuitement un compte Windows Live Hotmail et bénéficiez de 2 Go de stockage ! <a href='http://www.windowslive.fr/hotmail/default.asp' target='_new'>Windows Live Hotmail</a></body>
</html>