From: William King Date: Tue, 16 Oct 2012 21:41:29 +0000 (-0700) Subject: If the chat message has been successfully delivered in the chat plan, then set the... X-Git-Tag: v1.3.0~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90c3b07ee056763af2ab9d1c7b0285f377baa867;p=thirdparty%2Ffreeswitch.git If the chat message has been successfully delivered in the chat plan, then set the status to success and don't fire an event about the chat delivery failure --- diff --git a/src/switch_loadable_module.c b/src/switch_loadable_module.c index 90410d3d8f..3a79c3e024 100644 --- a/src/switch_loadable_module.c +++ b/src/switch_loadable_module.c @@ -565,6 +565,7 @@ static switch_status_t do_chat_send(switch_event_t *message_event) status = ci->chat_send(message_event); if (status == SWITCH_STATUS_BREAK) { do_skip = 1; + status = SWITCH_STATUS_SUCCESS; } if (status != SWITCH_STATUS_SUCCESS && status != SWITCH_STATUS_BREAK) {