Merged revisions 25520 via svnmerge from
authorBJ Weschke <bweschke@btwtech.com>
Mon, 8 May 2006 13:16:06 +0000 (13:16 +0000)
committerBJ Weschke <bweschke@btwtech.com>
Mon, 8 May 2006 13:16:06 +0000 (13:16 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r25520 | bweschke | 2006-05-08 09:15:30 -0400 (Mon, 08 May 2006) | 3 lines

 Oops. :(

........

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

apps/app_queue.c

index b81e091..bbf0a2c 100644 (file)
@@ -1215,7 +1215,7 @@ static int say_position(struct queue_ent *qe)
        qe->last_pos = now;
        qe->last_pos_said = qe->pos;
        /* Don't restart music on hold if we're about to exit the caller from the queue */
-       if (!res)
+       if (res)
                ast_moh_start(qe->chan, qe->moh);
 
        return res;