From: Anthony Minessale Date: Sat, 20 May 2017 00:05:44 +0000 (-0500) Subject: FS-10328: [freeswitch-core] Add method to allow orphaned B legs during originate... X-Git-Tag: v1.6.18~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76e0b3bdee48313b941183a799ff130a0b0947c0;p=thirdparty%2Ffreeswitch.git FS-10328: [freeswitch-core] Add method to allow orphaned B legs during originate to transfer to another extension --- diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 0cb8d03e07..93591cbd91 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -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)))) {