diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-08 01:55:31 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-08 01:55:31 +0000 |
commit | df706a8900728f959c8f227580fe45227495fb81 (patch) | |
tree | ce21ec4bfdeea79845fbbf2eb5308a2e6d513fc8 /apps/app_queue.c | |
parent | 82616a4d97f94c6988c4db02adb6b10f77891c89 (diff) |
issue #5648
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7011 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rwxr-xr-x | apps/app_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 7fcffd71c..ae622f05a 100755 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2022,7 +2022,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce cur = qe->parent->members; if (!ast_strlen_zero(qe->announce)) announce = qe->announce; - if (announceoverride && !ast_strlen_zero(announceoverride)) + if (!ast_strlen_zero(announceoverride)) announce = announceoverride; while(cur) { @@ -2201,7 +2201,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce } /* Drop out of the queue at this point, to prepare for next caller */ leave_queue(qe); - if (url && !ast_strlen_zero(url) && ast_channel_supports_html(peer)) { + if (!ast_strlen_zero(url) && ast_channel_supports_html(peer)) { if (option_debug) ast_log(LOG_DEBUG, "app_queue: sendurl=%s.\n", url); ast_channel_sendurl(peer, url); |