dress up event fired after parsing a message

This commit is contained in:
Anthony Minessale 2013-05-03 11:42:36 -05:00
parent e95bbd1e1f
commit 21c5db871b
1 changed files with 3 additions and 0 deletions

View File

@ -740,6 +740,9 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_parse_next_event(switch_core_session_
if (switch_core_session_dequeue_private_event(session, &event) == SWITCH_STATUS_SUCCESS) {
status = switch_ivr_parse_event(session, event);
event->event_id = SWITCH_EVENT_PRIVATE_COMMAND;
switch_event_prep_for_delivery(event);
switch_channel_event_set_data(switch_core_session_get_channel(session), event);
switch_event_fire(&event);
}