[asterisk-commits] mmichelson: branch mmichelson/digit_manipulation r198595 - /team/mmichelson/d...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jun 1 12:13:31 CDT 2009
Author: mmichelson
Date: Mon Jun 1 12:13:28 2009
New Revision: 198595
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=198595
Log:
Add a warning message if we try to run a connected line macro but app_macro is not present.
Modified:
team/mmichelson/digit_manipulation/main/app.c
Modified: team/mmichelson/digit_manipulation/main/app.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/mmichelson/digit_manipulation/main/app.c?view=diff&rev=198595&r1=198594&r2=198595
==============================================================================
--- team/mmichelson/digit_manipulation/main/app.c (original)
+++ team/mmichelson/digit_manipulation/main/app.c Mon Jun 1 12:13:28 2009
@@ -211,6 +211,7 @@
macro_app = pbx_findapp("Macro");
if (!macro_app) {
+ ast_log(LOG_WARNING, "Cannot run macro '%s' because the 'Macro' application in not available\n", macro_name);
return -1;
}
snprintf(buf, sizeof(buf), "%s%s%s", macro_name, ast_strlen_zero(macro_args) ? "" : ",", S_OR(macro_args, ""));
More information about the asterisk-commits
mailing list