Merged revisions 134480 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r134480 | tilghman | 2008-07-30 14:03:44 -0500 (Wed, 30 Jul 2008) | 5 lines launch_netscript sometimes returns -1, which fails to set AGISTATUS. Map failure to -1, so that AGISTATUS is always set. (closes issue #13199) Reported by: smw1218 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134481 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
2d62a6015f
commit
4c81650745
|
@ -100,10 +100,10 @@ static int agidebug = 0;
|
|||
#define AGI_PORT 4573
|
||||
|
||||
enum agi_result {
|
||||
AGI_RESULT_FAILURE = -1,
|
||||
AGI_RESULT_SUCCESS,
|
||||
AGI_RESULT_SUCCESS_FAST,
|
||||
AGI_RESULT_SUCCESS_ASYNC,
|
||||
AGI_RESULT_FAILURE,
|
||||
AGI_RESULT_NOTFOUND,
|
||||
AGI_RESULT_HANGUP,
|
||||
};
|
||||
|
|
Reference in New Issue