diff options
author | Mark Michelson <mmichelson@digium.com> | 2007-08-30 22:08:51 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2007-08-30 22:08:51 +0000 |
commit | ac9c53375fd5c5c9b4a00583bd362b9ee6fbd90a (patch) | |
tree | 5d09e52d8854a7b182c1149d23f50ed1b62eec42 /apps/app_queue.c | |
parent | fe8ffda8418f9c82a2e6f9a4fccf9841dbf8ea2b (diff) |
Merged revisions 81397 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r81397 | mmichelson | 2007-08-30 17:05:56 -0500 (Thu, 30 Aug 2007) | 7 lines
Removing an extraneous (and possibly misleading) log message. Firstly, if the announce file isn't found, the
streaming functions will report it. Secondly, not all non-zero returns from play_file mean that the announce file
wasn't found. Positive return values simply mean that a digit was pressed (most likely to skip through the announcement).
(closes issue #10612, reported and patched by dimas)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index c879aedb7..df2128689 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2658,8 +2658,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce res2 |= ast_safe_sleep(peer, qe->parent->memberdelay * 1000); } if (!res2 && announce) { - if (play_file(peer, announce)) - ast_log(LOG_WARNING, "Announcement file '%s' is unavailable, continuing anyway...\n", announce); + play_file(peer, announce); } if (!res2 && qe->parent->reportholdtime) { if (!play_file(peer, qe->parent->sound_reporthold)) { |