提交 bbd87e4a authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-10328: [freeswitch-core] Add method to allow orphaned B legs during originate…

FS-10328: [freeswitch-core] Add method to allow orphaned B legs during originate to transfer to another extension
上级 513b9f52
......@@ -3209,7 +3209,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
if (oglobals.session &&
!switch_channel_test_flag(caller_channel, CF_PROXY_MODE) &&
!switch_channel_test_flag(caller_channel, CF_PROXY_MEDIA) &&
!switch_channel_test_flag(caller_channel, CF_XFER_ZOMBIE) &&
//!switch_channel_test_flag(caller_channel, CF_XFER_ZOMBIE) &&
switch_channel_up(caller_channel) &&
(oglobals.ringback_ok
|| (switch_channel_test_flag(caller_channel, CF_ANSWERED) || switch_channel_test_flag(caller_channel, CF_EARLY_MEDIA)))) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论