aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-26 23:02:30 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-26 23:02:30 +0000
commit92101626b595c90b4be276355ca8026dfda9adf8 (patch)
treeadc0ca90a7d6ac33a5354b968d3d43ca82b7eac8
parent6a5b6ce0630e9e8bfa3147c97625f259376338c3 (diff)
After issuing a "say load new" tons of warning messages are printed
out to the CLI every time do_say in app_playback is called. Removing these warnings git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@89616 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_playback.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/app_playback.c b/apps/app_playback.c
index b808edbc5..c5f36cdc5 100644
--- a/apps/app_playback.c
+++ b/apps/app_playback.c
@@ -152,7 +152,6 @@ static int do_say(say_args_t *a, const char *s, const char *options, int depth)
struct varshead head = { .first = NULL, .last = NULL };
struct ast_var_t *n;
- ast_log(LOG_WARNING, "string <%s> depth <%d>\n", s, depth);
if (depth++ > 10) {
ast_log(LOG_WARNING, "recursion too deep, exiting\n");
return -1;
@@ -164,7 +163,6 @@ static int do_say(say_args_t *a, const char *s, const char *options, int depth)
/* scan languages same as in file.c */
if (a->language == NULL)
a->language = "en"; /* default */
- ast_log(LOG_WARNING, "try <%s> in <%s>\n", s, a->language);
lang = ast_strdupa(a->language);
for (;;) {
for (v = ast_variable_browse(say_cfg, lang); v ; v = v->next) {
@@ -190,7 +188,6 @@ static int do_say(say_args_t *a, const char *s, const char *options, int depth)
s = x + 1;
if ( (x = strchr(s, ':')) )
s = x + 1;
- ast_log(LOG_WARNING, "value is <%s>\n", s);
n = ast_var_assign("SAY", s);
AST_LIST_INSERT_HEAD(&head, n, entries);
@@ -206,7 +203,6 @@ static int do_say(say_args_t *a, const char *s, const char *options, int depth)
/* replace variables */
memset(fn, 0, sizeof(fn)); /* XXX why isn't done in pbx_substitute_variables_helper! */
pbx_substitute_variables_varshead(&head, x, fn, sizeof(fn));
- ast_log(LOG_WARNING, "doing [%s]\n", fn);
/* locate prefix and data, if any */
fmt = index(fn, ':');