From c4864dea159da18f198ef809bd46683da89f1e4b Mon Sep 17 00:00:00 2001 From: Chris Rienzo Date: Mon, 13 Jan 2014 15:49:52 -0500 Subject: [PATCH] FS-6077 mod_rayo - minor regression on end events from outbound calls --- src/mod/event_handlers/mod_rayo/mod_rayo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/event_handlers/mod_rayo/mod_rayo.c b/src/mod/event_handlers/mod_rayo/mod_rayo.c index fda3db9fc1..16bf7a7e98 100644 --- a/src/mod/event_handlers/mod_rayo/mod_rayo.c +++ b/src/mod/event_handlers/mod_rayo/mod_rayo.c @@ -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 to DCP %s\n", dcp_jid); + iks_insert_attrib(revent, "to", dcp_jid); RAYO_SEND_MESSAGE_DUP(actor, dcp_jid, revent); }