From: BJ Weschke Date: Mon, 8 May 2006 13:15:30 +0000 (+0000) Subject: Oops. :( X-Git-Tag: 1.2.8~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d46fa7e825d2d1c90ef4fd7aee31652f0dc87643;p=thirdparty%2Fasterisk.git Oops. :( git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25520 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- 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;