Does the script generate an error when run outside of Asterisk?   An AGI should 
simply wait for input when run outside of Asterisk.   


-----Original Message-----
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Haley,Scott A
Sent: Monday, April 28, 2014 1:04 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Trunk issue

I am trying to run an agi script and asterisk is not finding it. The output of 
the cli is as follows:

-- Executing [s@tbs-utils:7] AGI("SIP/7002-0000001a", "tbsdial.agi") in new 
stack [Apr 28 12:00:05] WARNING[21812][C-0000000f]: res_agi.c:1681 
launch_script: Failed to execute '/var/lib/asterisk/agi-bin/tbsdial.agi': File 
does not exist.

The file is in that directory and is owned by the user "asterisk". Why does it 
say the file does not exist?
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to