]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
compare peer and chan instead of looking at the parked user (pu), which could have...
authorJeff Peeler <jpeeler@digium.com>
Thu, 18 Sep 2008 21:01:23 +0000 (21:01 +0000)
committerJeff Peeler <jpeeler@digium.com>
Thu, 18 Sep 2008 21:01:23 +0000 (21:01 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@143475 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_features.c

index cea8577febebb4a37810e7d7deb3605562a00607..12b2a6bf50be355f032590a75d679cc9dd72815b 100644 (file)
@@ -465,7 +465,7 @@ static int park_call_full(struct ast_channel *chan, struct ast_channel *peer, in
                ast_clear_flag(peer, AST_FLAG_MASQ_NOSTREAM);
        }
 
-       if (pu->notquiteyet) {
+       if (peer == chan) { /* pu->notquiteyet = 1 */
                /* Wake up parking thread if we're really done */
                ast_indicate_data(pu->chan, AST_CONTROL_HOLD, 
                        S_OR(parkmohclass, NULL),