From 42eaf72bc91ca55ad91f6e2676b70f6410047a0b Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 22 Oct 2009 22:35:08 +0000 Subject: [PATCH] dog git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15203 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr_originate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;