From: Anthony Minessale Date: Mon, 4 Dec 2006 00:04:20 +0000 (+0000) Subject: fix X-Git-Tag: v1.0-beta1~1642 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad63096f5c28b1a4154e06465d7649f4774635fe;p=thirdparty%2Ffreeswitch.git fix git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3524 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_ivr.c b/src/switch_ivr.c index fa21640995..6bb1376d46 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -2209,7 +2209,7 @@ static uint8_t check_channel_status(switch_channel_t **peer_channels, if (switch_channel_get_state(peer_channels[i]) >= CS_HANGUP) { hups++; } else if ((switch_channel_test_flag(peer_channels[i], CF_ANSWERED) || - (!ringback_data && len == 1 && switch_channel_test_flag(peer_channels[0], CF_EARLY_MEDIA))) && + (!ringback_data && len == 1 && switch_channel_test_flag(peer_channels[i], CF_EARLY_MEDIA))) && !switch_channel_test_flag(peer_channels[i], CF_TAGGED)) { if (key) {