]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
TEST_FRAMEWORK: Fix threewaytransfer reporting
authorKinsey Moore <kmoore@digium.com>
Thu, 17 Jul 2014 14:27:40 +0000 (14:27 +0000)
committerKinsey Moore <kmoore@digium.com>
Thu, 17 Jul 2014 14:27:40 +0000 (14:27 +0000)
Ensure that three-way transfers can be reported even if featuremap is
non-NULL.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@418810 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/bridge_channel.c

index 873369a26ef609d4f9ac444c524d18ba0c7ab726..d24409f2e3d750b3b14d9947cc4e9671a6c69ea2 100644 (file)
@@ -1478,7 +1478,8 @@ static void testsuite_notify_feature_success(struct ast_channel *chan, const cha
                } else if (!strcmp(dtmf, featuremap->parkcall)) {
                        feature = "parkcall";
                }
-       } else if (xfer) {
+       }
+       if (xfer) {
                if (!strcmp(dtmf, xfer->atxferthreeway)) {
                        feature = "atxferthreeway";
                }