mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-13 13:40:44 +00:00
MODAPP-182
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10861 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
6e497267ec
commit
c2b1ce53bc
@ -539,6 +539,10 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_frame(switch_core_sessi
|
|||||||
switch_mutex_unlock(session->read_codec->mutex);
|
switch_mutex_unlock(session->read_codec->mutex);
|
||||||
switch_mutex_unlock(session->codec_read_mutex);
|
switch_mutex_unlock(session->codec_read_mutex);
|
||||||
|
|
||||||
|
if (switch_core_session_private_event_count(session)) {
|
||||||
|
switch_ivr_parse_all_events(session);
|
||||||
|
}
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -539,6 +539,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_parse_all_events(switch_core_session_
|
|||||||
{
|
{
|
||||||
|
|
||||||
while (switch_ivr_parse_next_event(session) == SWITCH_STATUS_SUCCESS);
|
while (switch_ivr_parse_next_event(session) == SWITCH_STATUS_SUCCESS);
|
||||||
|
switch_ivr_sleep(session, 0, SWITCH_TRUE, NULL);
|
||||||
|
|
||||||
return SWITCH_STATUS_SUCCESS;
|
return SWITCH_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user