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
This commit is contained in:
parent
7eafa85de5
commit
90c3b07ee0
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue