[asterisk-commits] mmichelson: trunk r93065 - in /trunk: funcs/ main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Dec 14 13:19:07 CST 2007
Author: mmichelson
Date: Fri Dec 14 13:19:07 2007
New Revision: 93065
URL: http://svn.digium.com/view/asterisk?view=rev&rev=93065
Log:
I needed to increment the numbers used on the VERBOSITY_ATLEAST calls by 1.
Thanks to kpfleming for pointing this out.
Modified:
trunk/funcs/func_timeout.c
trunk/main/manager.c
trunk/main/pbx.c
Modified: trunk/funcs/func_timeout.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_timeout.c?view=diff&rev=93065&r1=93064&r2=93065
==============================================================================
--- trunk/funcs/func_timeout.c (original)
+++ trunk/funcs/func_timeout.c Fri Dec 14 13:19:07 2007
@@ -106,7 +106,7 @@
case 'a':
case 'A':
ast_channel_setwhentohangup(chan, x);
- if (VERBOSITY_ATLEAST(2)) {
+ if (VERBOSITY_ATLEAST(3)) {
if (chan->whentohangup) {
struct timeval tv = { chan->whentohangup, 0 };
ast_strftime(timestr, sizeof(timestr), "%Y-%m-%d %H:%M:%S.%3q %Z",
Modified: trunk/main/manager.c
URL: http://svn.digium.com/view/asterisk/trunk/main/manager.c?view=diff&rev=93065&r1=93064&r2=93065
==============================================================================
--- trunk/main/manager.c (original)
+++ trunk/main/manager.c Fri Dec 14 13:19:07 2007
@@ -2677,7 +2677,7 @@
if (s->sessiontimeout && (now > s->sessiontimeout) && !s->inuse) {
AST_LIST_REMOVE_CURRENT(list);
ast_atomic_fetchadd_int(&num_sessions, -1);
- if (s->authenticated && (VERBOSITY_ATLEAST(1)) && manager_displayconnects(s)) {
+ if (s->authenticated && (VERBOSITY_ATLEAST(2)) && manager_displayconnects(s)) {
ast_verb(2, "HTTP Manager '%s' timed out from %s\n",
s->username, ast_inet_ntoa(s->sin.sin_addr));
}
Modified: trunk/main/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/main/pbx.c?view=diff&rev=93065&r1=93064&r2=93065
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Fri Dec 14 13:19:07 2007
@@ -2649,7 +2649,7 @@
c->priority = priority;
pbx_substitute_variables(passdata, sizeof(passdata), c, e);
ast_debug(1, "Launching '%s'\n", app->name);
- if (VERBOSITY_ATLEAST(2)) {
+ if (VERBOSITY_ATLEAST(3)) {
char tmp[80], tmp2[80], tmp3[EXT_DATA_SIZE];
ast_verb(3, "Executing [%s@%s:%d] %s(\"%s\", \"%s\") %s\n",
exten, context, priority,
More information about the asterisk-commits
mailing list