ARI: Fix a crash caused by hanging during playback to a channel in a bridge

ASTERISK-24147 #close
Reported by: Edvin Vidmar
Review: https://reviewboard.asterisk.org/r/3908/
........

Merged revisions 421879 from http://svn.asterisk.org/svn/asterisk/branches/12


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@421880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jonathan Rose
2014-08-22 16:44:21 +00:00
parent 50381d2c77
commit 712907eec6
9 changed files with 113 additions and 68 deletions

View File

@@ -50,7 +50,7 @@ int stasis_app_control_answer(struct stasis_app_control *control)
ast_debug(3, "%s: Sending answer command\n",
stasis_app_control_get_channel_id(control));
retval = stasis_app_send_command(control, app_control_answer, NULL);
retval = stasis_app_send_command(control, app_control_answer, NULL, NULL);
if (retval != 0) {
ast_log(LOG_WARNING, "%s: Failed to answer channel\n",