]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
dog
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 22 Oct 2009 22:35:08 +0000 (22:35 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 22 Oct 2009 22:35:08 +0000 (22:35 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15203 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_originate.c

index 2f9cbafbff153f3ac20b7f6481233cd25f42f058..fa20e6ab4be029165816d2c19b23d9c29a8a2b44 100644 (file)
@@ -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;