Modified: freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c (17486 => 17487)
--- freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c 2010-05-04 21:03:43 UTC (rev 17486)
+++ freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c 2010-05-05 15:56:10 UTC (rev 17487)
@@ -262,7 +262,7 @@
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) {