[svn-commits] mmichelson: branch 1.4 r158306 - /branches/1.4/apps/app_queue.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Nov 21 09:24:19 CST 2008
Author: mmichelson
Date: Fri Nov 21 09:24:19 2008
New Revision: 158306
URL: http://svn.digium.com/view/asterisk?view=rev&rev=158306
Log:
This change had somehow gotten reverted due to a
completely unrelated commit. Thanks to Theo Belder
on the Asterisk-dev list for pointing this out.
Modified:
branches/1.4/apps/app_queue.c
Modified: branches/1.4/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_queue.c?view=diff&rev=158306&r1=158305&r2=158306
==============================================================================
--- branches/1.4/apps/app_queue.c (original)
+++ branches/1.4/apps/app_queue.c Fri Nov 21 09:24:19 2008
@@ -1577,8 +1577,9 @@
/* If the hold time is >1 min, if it's enabled, and if it's not
supposed to be only once and we have already said it, say it */
- if ((avgholdmins+avgholdsecs) > 0 && (qe->parent->announceholdtime) &&
- (!(qe->parent->announceholdtime == ANNOUNCEHOLDTIME_ONCE) && qe->last_pos)) {
+ if ((avgholdmins+avgholdsecs) > 0 && qe->parent->announceholdtime &&
+ ((qe->parent->announceholdtime == ANNOUNCEHOLDTIME_ONCE && !qe->last_pos) ||
+ !(qe->parent->announceholdtime == ANNOUNCEHOLDTIME_ONCE))) {
res = play_file(qe->chan, qe->parent->sound_holdtime);
if (res)
goto playout;
More information about the svn-commits
mailing list