[PHP-AGI] Problem executing script
\ Karim H (23 Aug 2007)
. \ Louis-Eric (23 Aug 2007)
. \ Mik Cheez (23 Aug 2007)
. \ Karim H (23 Aug 2007)

2 msgunable to load chan_unicall.so
3 msglibmfcr2 is giving definition error while compi...
2 msgRe: [Serusers] why combine ser with asterisk
1 msgasterisk configurator with E120P E1 card
1 msgB410P and echo
2 msgcontact header is missing in 200OK for SUBSCRIBE
1 msgASTCC and IVR
1 msgRe: asterisk-users Digest, Vol 37, Issue 88
1 msgHow to get callee extension inapplicationmap(fe...
1 msgUsers Conference - Friday@12:30 PM EDT: Founder...
1 msgQueue Agents from Dialplan
1 msgVoIP encryption with SIP and IAX
3 msgZaptel 1.2.20.1 and 1.4.5.1 released
8 msgMultiple servers using realtime
6 msgChan_mobile and Asterisk SVN-branch-1.4-r80183c...
2 msgTDM400P Not hanging up fast enough
1 msgRe: Que on A2Billing
2 msgAgent status on Polycom phone?
4 msg[OT] IAX2 WiFi phone?
Subject:Re: [PHP-AGI] Problem executing script
Group:Asterisk-users
From:Karim H
Date:23 Aug 2007


 


Problem resolved :Two things :1 - php agi instead of php-cli (I have apache running on my server too and it edits himself all the php.ini it finds)2 - Error using php-q it is amistake : php -q (of course =) )Their is a real problem with asterisk concerning errors in agi script.If there is an error in the script itself asterisk give back : No such file or directory even if the error is just that ";" is missing...Thanks for the helpFrom: marikounet: asterisk-users: Thu, 23 Aug 2007 14:51:27 +0000Subject: [asterisk-users] [PHP-AGI] Problem executing script





Hello,I have succeded in compiling and configuring My TDM Card and asterisk, all works fine. But I have a problem using the PHP Agi.The CLI tells me that when I call my number :-- Starting simple switch on 'Zap/4-1' -- Executing [s@incoming:1] Answer("Zap/4-1", "") in new stack -- Executing [s@incoming:2] AGI("Zap/4-1", "rabot.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/rabot.agi == rabot.agi: Failed to execute '/var/lib/asterisk/agi-bin/rabot.agi': No such file or directory -- AGI Script rabot.agi completed, returning 0 == Auto fallthrough, channel 'Zap/4-1' status is 'UNKNOWN' -- Hungup 'Zap/4-1'I tought first that it was a problem of chmod so I change the chmod of all the directory agi-bin TO 777But it changed nothing. I have verify that php was well indicate at the beginning of the script :#!/usr/bin/php-qAnd there is a php exec at /usr/binAny ideas about this problem ?Thank for you helpKheraudBesoin d'un e-mail ? Créez gratuitement un compte Windows Live Hotmail et bénéficiez de 2 Go de stockage ! Windows Live Hotmail

_________________________________________________________________
Windows Live Messenger vous offre 30 nouvelles émoticônes gratuites, installées directement dans votre Messenger !
http://www.emoticones-messenger.fr/
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


© 2004-2008 readlist.com