From 5b752c54a7c6c6368c97cf458340c71634c3ab39 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 22 Dec 2010 15:53:11 -0600 Subject: [PATCH] fix ignore_early_media=ring_ready --- 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 51032dec60..26d8374f9a 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -488,7 +488,7 @@ static uint8_t check_channel_status(originate_global_t *oglobals, originate_stat pindex = (uint32_t) i; } else 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); + switch_channel_ring_ready(caller_channel); oglobals->sent_ring = 1; }