From 584603b6a08100ff7218d98c0853de157ed978be Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 31 Aug 2012 15:28:02 -0500 Subject: [PATCH] queue in-dialog message to the session --- src/mod/endpoints/mod_sofia/sofia_presence.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index fca3a1bad3..5445adae11 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -4402,6 +4402,12 @@ void sofia_presence_handle_sip_i_message(int status, } } + if (session) { + if (switch_event_dup(&event_dup, event) == SWITCH_STATUS_SUCCESS) { + switch_core_session_queue_event(session, &event_dup); + } + } + } else { abort();