[asterisk-commits] mmichelson: trunk r174951 - /trunk/apps/app_queue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Feb 11 17:12:57 CST 2009
Author: mmichelson
Date: Wed Feb 11 17:12:57 2009
New Revision: 174951
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=174951
Log:
Fix a bit of odd logic for announcing position. Sync with 1.6.0's logic
Modified:
trunk/apps/app_queue.c
Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/apps/app_queue.c?view=diff&rev=174951&r1=174950&r2=174951
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Wed Feb 11 17:12:57 2009
@@ -2126,11 +2126,11 @@
}
posout:
- if (announceposition == 1 || say_thanks) {
- if (qe->parent->announceposition) {
- ast_verb(3, "Told %s in %s their queue position (which was %d)\n",
- qe->chan->name, qe->parent->name, qe->pos);
- }
+ if (qe->parent->announceposition) {
+ ast_verb(3, "Told %s in %s their queue position (which was %d)\n",
+ qe->chan->name, qe->parent->name, qe->pos);
+ }
+ if (say_thanks) {
res = play_file(qe->chan, qe->parent->sound_thanks);
}
playout:
More information about the asterisk-commits
mailing list