From d46fa7e825d2d1c90ef4fd7aee31652f0dc87643 Mon Sep 17 00:00:00 2001 From: BJ Weschke Date: Mon, 8 May 2006 13:15:30 +0000 Subject: [PATCH] Oops. :( git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25520 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_queue.c b/apps/app_queue.c index bd6102136e..dda70b4928 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1185,7 +1185,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;