]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
confirm_transfer tweak
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 9 May 2012 13:39:23 +0000 (08:39 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 9 May 2012 13:49:52 +0000 (08:49 -0500)
src/mod/applications/mod_dptools/mod_dptools.c

index b07f1a21ed344dddbce55643347beff1ea0d0b9a..7cf262acbe98fa1be5517910f7c70368612bc5be 100755 (executable)
@@ -3058,7 +3058,8 @@ SWITCH_STANDARD_APP(audio_bridge_function)
                                }
                        } 
                }
-               if (!switch_channel_test_flag(caller_channel, CF_TRANSFER) && switch_channel_get_state(caller_channel) != CS_ROUTING) {
+               if (!switch_channel_test_flag(caller_channel, CF_TRANSFER) && !switch_channel_test_flag(caller_channel, CF_CONFIRM_BLIND_TRANSFER) && 
+                       switch_channel_get_state(caller_channel) != CS_ROUTING) {
                        switch_channel_hangup(caller_channel, cause);
                }
                return;