]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8566 #resolve [Call fails when put on hold in bypass media mode with inbound late...
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 25 Nov 2015 19:52:51 +0000 (13:52 -0600)
committerBrian West <brian@freeswitch.org>
Wed, 25 Nov 2015 19:53:14 +0000 (13:53 -0600)
src/switch_channel.c

index 5d21a4d7a7534e4d23bb12b18b36325aa5a2d65c..b6e282ced5716f2efada76af752fa0e3187b6a30 100644 (file)
@@ -3799,7 +3799,7 @@ SWITCH_DECLARE(switch_status_t) switch_channel_perform_answer(switch_channel_t *
        }
 
 
-       if (switch_core_session_in_thread(channel->session)) {
+       if (switch_core_session_in_thread(channel->session) && !switch_channel_test_flag(channel, CF_PROXY_MODE)) {
                const char *delay;
 
                if (switch_channel_test_flag(channel, CF_VIDEO)) {