FS-6077 mod_rayo - minor regression on end events from outbound calls

This commit is contained in:
Chris Rienzo 2014-01-13 15:49:52 -05:00
parent 0b59bfd765
commit 275d8f882f
1 changed files with 1 additions and 0 deletions

View File

@ -1039,6 +1039,7 @@ static void rayo_call_cleanup(struct rayo_actor *actor)
if (no_offered_clients && !zstr(dcp_jid)) {
/* send to DCP only */
switch_log_printf(SWITCH_CHANNEL_UUID_LOG(rayo_call_get_uuid(call)), SWITCH_LOG_DEBUG, "Sending <end> to DCP %s\n", dcp_jid);
iks_insert_attrib(revent, "to", dcp_jid);
RAYO_SEND_MESSAGE_DUP(actor, dcp_jid, revent);
}