From a49b794317a4e14825bf111dea51dc1e6764cd36 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 22 Jun 2011 15:35:35 -0500 Subject: [PATCH] FS-3275 try this --- src/switch_ivr_async.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index f9cf24ef83..4c2a140379 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -1287,7 +1287,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_eavesdrop_session(switch_core_session msg.message_id = SWITCH_MESSAGE_INDICATE_DISPLAY; switch_core_session_receive_message(tsession, &msg); - while (switch_channel_ready(tchannel) && switch_channel_ready(channel)) { + while (switch_channel_up(tchannel) && switch_channel_ready(channel)) { uint32_t len = sizeof(buf); switch_event_t *event = NULL; char *fcommand = NULL;