mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 11:28:25 +00:00
Fix SendText AMI action to never return non-zero.
AMI actions must never return non-zero unless they intend to close the AMI connection. (Which is almost never.) (closes issue ASTERISK-21779) Reported by: Paul Goldbaum git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@388477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3465,7 +3465,7 @@ static int action_sendtext(struct mansession *s, const struct message *m)
|
||||
astman_send_error(s, m, "Failure");
|
||||
}
|
||||
|
||||
return res;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*! \brief action_redirect: The redirect manager command */
|
||||
|
||||
Reference in New Issue
Block a user