提交 5b752c54 authored 作者: Anthony Minessale's avatar Anthony Minessale

fix ignore_early_media=ring_ready

上级 4f89b514
...@@ -488,7 +488,7 @@ static uint8_t check_channel_status(originate_global_t *oglobals, originate_stat ...@@ -488,7 +488,7 @@ static uint8_t check_channel_status(originate_global_t *oglobals, originate_stat
pindex = (uint32_t) i; pindex = (uint32_t) i;
} else if (!oglobals->sent_ring && oglobals->ignore_early_media == 2 && len == 1 && caller_channel && !oglobals->ignore_ring_ready) { } 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_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; oglobals->sent_ring = 1;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论