[Freeswitch-svn] [commit] r10861 - freeswitch/trunk/src
FreeSWITCH SVN
anthm at freeswitch.org
Wed Dec 17 13:50:34 PST 2008
Author: anthm
Date: Wed Dec 17 16:50:34 2008
New Revision: 10861
Log:
MODAPP-182
Modified:
freeswitch/trunk/src/switch_core_io.c
freeswitch/trunk/src/switch_ivr.c
Modified: freeswitch/trunk/src/switch_core_io.c
==============================================================================
--- freeswitch/trunk/src/switch_core_io.c (original)
+++ freeswitch/trunk/src/switch_core_io.c Wed Dec 17 16:50:34 2008
@@ -539,6 +539,10 @@
switch_mutex_unlock(session->read_codec->mutex);
switch_mutex_unlock(session->codec_read_mutex);
+ if (switch_core_session_private_event_count(session)) {
+ switch_ivr_parse_all_events(session);
+ }
+
return status;
}
Modified: freeswitch/trunk/src/switch_ivr.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr.c (original)
+++ freeswitch/trunk/src/switch_ivr.c Wed Dec 17 16:50:34 2008
@@ -539,6 +539,8 @@
{
while (switch_ivr_parse_next_event(session) == SWITCH_STATUS_SUCCESS);
+ switch_ivr_sleep(session, 0, SWITCH_TRUE, NULL);
+
return SWITCH_STATUS_SUCCESS;
}
More information about the Freeswitch-svn
mailing list