git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15203 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-10-22 22:35:08 +00:00
parent 8119a1cd98
commit 42eaf72bc9

View 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;