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

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


A NOTE has been added to this issue. 
====================================================================== 
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:45 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. 















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

---------------------------------------------------------------------- 
 (0094744) jpeeler (administrator) - 2008-11-11 10:45
 http://bugs.digium.com/view.php?id=13874#c94744 
---------------------------------------------------------------------- 
In the future, for migration issues from 1.4 to 1.6, please read
UPGRADE.txt. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-11 10:45 jpeeler        Note Added: 0094744                          
======================================================================




More information about the asterisk-bugs mailing list