cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3403668 ] Asterisk + sh witch curl = exit code 127

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sat, 03 Sep 2011 13:23:53 +0000

Bugs item #3403668, was opened at 2011-09-03 13:23
Message generated for change (Tracker Item Submitted) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3403668&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: client module
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Daniel Stenberg (bagder)
Summary: Asterisk + sh witch curl = exit code 127

Initial Comment:
Asterisk dialplan:
System('/home/fsa/my_super_script.sh ...');

my_super_script.sh include:
curl --data-urlencode "date=$1 $2" --data-urlencode "phone=$3" --data-urlencode "message=$4" -f -m 60 $siteurl >> $curllog
result=$?

After running the script as a result is a value (exit code) 127. This return code is not contained in the documentation
When I run the script from the command line as user asterisk problem is not observed. Exit code 0.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3403668&group_id=976
Received on 2011-09-03

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET