]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10328: [freeswitch-core] Add method to allow orphaned B legs during originate...
authorAnthony Minessale <anthm@freeswitch.org>
Sat, 20 May 2017 00:05:44 +0000 (19:05 -0500)
committerMike Jerris <mike@jerris.com>
Thu, 1 Jun 2017 20:18:24 +0000 (16:18 -0400)
src/switch_ivr_originate.c

index 0cb8d03e07ab7369c8c305266dc5bbacca84453b..93591cbd91975420a90a3b73a4e56efe16175097 100644 (file)
@@ -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)))) {