From: Anthony Minessale Date: Thu, 22 Oct 2009 22:35:08 +0000 (+0000) Subject: dog X-Git-Tag: v1.0.6~1625 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42eaf72bc91ca55ad91f6e2676b70f6410047a0b;p=thirdparty%2Ffreeswitch.git dog git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15203 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 2f9cbafbff..fa20e6ab4b 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -395,7 +395,7 @@ static uint8_t check_channel_status(originate_global_t *oglobals, originate_stat } if (switch_channel_test_flag(originate_status[i].peer_channel, CF_EARLY_MEDIA)) { - if (oglobals->ignore_early_media == 2 && len == 1 && caller_channel && !oglobals->ignore_ring_ready) { + if (!oglobals->sent_ring && oglobals->ignore_early_media == 2 && len == 1 && caller_channel && !oglobals->ignore_ring_ready) { switch_channel_pass_callee_id(originate_status[0].peer_channel, caller_channel); switch_channel_ring_ready(caller_channel); oglobals->sent_ring = 1;