diff options
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: |