Summary: | ASTERISK-09735: res_agi launch_script say: File does not exist | ||
Reporter: | Mike Anikienko (mike anikienko) | Labels: | |
Date Opened: | 2007-06-22 11:05:56 | Date Closed: | 2007-07-06 19:18:18 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_agi |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | -- Executing [s@Menu_Thermometer:4] AGI("SIP/710-0828ffa0", "thermometer/get_temp.php") in new stack [Jun 22 19:39:31] WARNING[21823]: res_agi.c:256 launch_script: Failed to execute '/var/lib/asterisk/agi-bin/thermometer/get_temp.php': File does not exist. Why? 2 week ago this work properly. ****** ADDITIONAL INFORMATION ****** I comment at res_agi.c:256 // if (!ast_fileexists(script, NULL, NULL)) and it began to work. | ||
Comments: | By: Joshua C. Colp (jcolp) 2007-06-22 11:19:17 Fixed in trunk as of revision 71158. By: Luigi Rizzo (rizzo) 2007-06-24 15:26:24 file, this commit http://svn.digium.com/view/asterisk?view=rev&revision=71158 does not compile on FreeBSD as stat() requires the inclusion of sys/stat.h in res_agi.c - this is also done in other places using stat() e.g. res_monitor.c res_indications.c and so on, so i guess it is harmless on linux as well. Can you please fix it ? (i am not doing it myself because i am not up to date with trunk so i am afraid of breaking something). thanks luigi (rizzo) |