TEST_FRAMEWORK: Fix threewaytransfer reporting
authorKinsey Moore <kmoore@digium.com>
Thu, 17 Jul 2014 14:28:16 +0000 (14:28 +0000)
committerKinsey Moore <kmoore@digium.com>
Thu, 17 Jul 2014 14:28:16 +0000 (14:28 +0000)
Ensure that three-way transfers can be reported even if featuremap is
non-NULL.
........

Merged revisions 418810 from http://svn.asterisk.org/svn/asterisk/branches/12

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

main/bridge_channel.c

index 0948928..93cbed2 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";
                }