Skip to content

Commit

Permalink
dress up event fired after parsing a message
Browse files Browse the repository at this point in the history
  • Loading branch information
anthmFS committed May 3, 2013
1 parent ec0067b commit a062444
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/switch_ivr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit a062444

Please sign in to comment.