mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
FS-10328: [freeswitch-core] Add method to allow orphaned B legs during originate to transfer to another extension
This commit is contained in:
parent
b2a692432d
commit
76e0b3bdee
@ -3204,7 +3204,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)))) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user