add channel data to event

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4328 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2007-02-19 21:28:58 +00:00
parent 5e4396a46e
commit ad6cca6737
1 changed files with 1 additions and 0 deletions

View File

@ -171,6 +171,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_park(switch_core_session_t *session,
if (switch_core_session_dequeue_private_event(session, &event) == SWITCH_STATUS_SUCCESS) {
switch_ivr_parse_event(session, event);
switch_channel_event_set_data(switch_core_session_get_channel(session), event);
switch_event_fire(&event);
}