Either the file is missing something like #!/usr/bin/php or there is an
error in what the file is trying to access

 

  _____  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Anahi Ludueña
Sent: Thursday, September 17, 2009 2:58 PM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] DeadAgi

 

Hi people, I have the following dialplan:

[context]
exten => s,1,Noop(Start)
...
exten => h,1,Noop(Ending)
exten => h,n,DEADAGI(finconf.php,${ARG1},${ARG2})


When it is running, the asterisk gives the following error:

    -- Launched AGI Script /var/lib/asterisk/agi-bin/finconf.php
  ==  finconf.php|800|: Failed to execute
'/var/lib/asterisk/agi-bin/finconf.php': No such file or directory

But the file is there. The command ls -l returns:

-rwxrwxrwx 1 root     root       140 Sep 17 15:42 finconf.php

Why does it return the error?

Thanks,

  _____  

Anahi Ludueña

 





  _____  

Disfruta antes que nadie del nuevo Windows Live Messenger
<http://download.live.com> 

_______________________________________________
-- 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

Reply via email to