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:
parent
5e4396a46e
commit
ad6cca6737
|
@ -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) {
|
if (switch_core_session_dequeue_private_event(session, &event) == SWITCH_STATUS_SUCCESS) {
|
||||||
switch_ivr_parse_event(session, event);
|
switch_ivr_parse_event(session, event);
|
||||||
|
switch_channel_event_set_data(switch_core_session_get_channel(session), event);
|
||||||
switch_event_fire(&event);
|
switch_event_fire(&event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue