[asterisk-bugs] [Asterisk 0013874]: AGI Script 'Failed to execute'

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 11 10:43:45 CST 2008


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=13874 
====================================================================== 
Reported By:                SirWhit
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13874
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-11-11 09:26 CST
Last Modified:              2008-11-11 10:43 CST
====================================================================== 
Summary:                    AGI Script 'Failed to execute'
Description: 
I have a test system where AGI scripts will execute with the 1.4 branch.
Upon upgrading to trunk, they no longer run. The scripts are getting caught
at this section in launch_script() (line 623 of current trunk):

/* Before even trying let's see if the file actually exists */
if (stat(script, &st)) {
    ast_log(LOG_WARNING, "Failed to execute '%s': File does not exist.\n",
script);
    return AGI_RESULT_NOTFOUND;
}


I'm passing in variables, CLI output for my example looks like:

Failed to execute
'/var/lib/asterisk/agi-bin/app_check.agi|5555481212|9995551212|8885551212|2':
No such file or directory

The file (app_check.agi) does exist, and permissions are fine - and it
works with the 1.4 version so I'm not sure why AGI is failing here. 















====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-11 10:43 jsmith         Disclaimer on File?       => N/A             
2008-11-11 10:43 jsmith         Status                   new => closed       
======================================================================




More information about the asterisk-bugs mailing list