queue in-dialog message to the session

This commit is contained in:
Anthony Minessale 2012-08-31 15:28:02 -05:00
parent 984b27c68d
commit 6e39233840
1 changed files with 6 additions and 0 deletions

View File

@ -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();