From: Anthony Minessale Date: Wed, 5 May 2010 15:56:10 +0000 (-0500) Subject: MODENDP-302 X-Git-Tag: git2svn-syncpoint-master~110 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=710290bcb4ae3a613c99f036b2a0d65cceb0862b;p=thirdparty%2Ffreeswitch.git MODENDP-302 --- diff --git a/src/mod/endpoints/mod_portaudio/mod_portaudio.c b/src/mod/endpoints/mod_portaudio/mod_portaudio.c index b2778d4f80..9ff135823b 100644 --- a/src/mod/endpoints/mod_portaudio/mod_portaudio.c +++ b/src/mod/endpoints/mod_portaudio/mod_portaudio.c @@ -262,7 +262,7 @@ static switch_status_t channel_on_routing(switch_core_session_t *session) switch_channel_mark_ring_ready(channel); } - while (switch_channel_get_state(channel) == CS_INIT && !switch_test_flag(tech_pvt, TFLAG_ANSWER)) { + while (switch_channel_get_state(channel) == CS_ROUTING && !switch_test_flag(tech_pvt, TFLAG_ANSWER)) { switch_size_t olen = globals.read_timer.samples; if (switch_micro_time_now() - last >= waitsec) {