diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-11 23:13:21 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-11 23:13:21 +0000 |
commit | 9fcb18ba4435a47451fd4dc0f915d415d0a1845b (patch) | |
tree | 776f1ebfcf68104e1b0bde082a4b3190eaaad535 /apps/app_queue.c | |
parent | 4070f3ac14873633e0e422a0df932141ac5096ec (diff) |
Merged revisions 174951 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r174951 | mmichelson | 2009-02-11 17:12:57 -0600 (Wed, 11 Feb 2009) | 3 lines
Fix a bit of odd logic for announcing position. Sync with 1.6.0's logic
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@174952 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 293281332..b6a5e2e08 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1948,11 +1948,11 @@ static int say_position(struct queue_ent *qe, int ringing) } 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: |