[asterisk-commits] oej: branch oej/pinequeue-trunk r387407 - /team/oej/pinequeue-trunk/apps/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu May 2 04:50:25 CDT 2013
Author: oej
Date: Thu May 2 04:48:52 2013
New Revision: 387407
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=387407
Log:
Apply fix
Modified:
team/oej/pinequeue-trunk/apps/app_queue.c
Modified: team/oej/pinequeue-trunk/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/pinequeue-trunk/apps/app_queue.c?view=diff&rev=387407&r1=387406&r2=387407
==============================================================================
--- team/oej/pinequeue-trunk/apps/app_queue.c (original)
+++ team/oej/pinequeue-trunk/apps/app_queue.c Thu May 2 04:48:52 2013
@@ -6376,12 +6376,12 @@
}
}
/* If the filename doesn't exist, do not queue it up */
- if (!ast_fileexists(filename, NULL, chan->language)) {
- ast_log(LOG_ERROR, "Filename %s does not exist, not queued for playing out on chan %s\n", filename, ast_channel_name(chan));
- return 0;
- }
-+
-
+ if (!ast_strlen_zero(filename)) {
+ if (!ast_fileexists(filename, NULL, ast_channel_language(chan))) {
+ ast_log(LOG_ERROR, "Filename %s does not exist, not queued for playing out on chan %s\n", filename, ast_channel_name(chan));
+ return 0;
+ }
+ }
AST_LIST_LOCK(&aqsi->flist);
More information about the asterisk-commits
mailing list