mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-20 12:20:12 +00:00
I needed to increment the numbers used on the VERBOSITY_ATLEAST calls by 1.
Thanks to kpfleming for pointing this out. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -106,7 +106,7 @@ static int timeout_write(struct ast_channel *chan, const char *cmd, char *data,
|
|||||||
case 'a':
|
case 'a':
|
||||||
case 'A':
|
case 'A':
|
||||||
ast_channel_setwhentohangup(chan, x);
|
ast_channel_setwhentohangup(chan, x);
|
||||||
if (VERBOSITY_ATLEAST(2)) {
|
if (VERBOSITY_ATLEAST(3)) {
|
||||||
if (chan->whentohangup) {
|
if (chan->whentohangup) {
|
||||||
struct timeval tv = { chan->whentohangup, 0 };
|
struct timeval tv = { chan->whentohangup, 0 };
|
||||||
ast_strftime(timestr, sizeof(timestr), "%Y-%m-%d %H:%M:%S.%3q %Z",
|
ast_strftime(timestr, sizeof(timestr), "%Y-%m-%d %H:%M:%S.%3q %Z",
|
||||||
|
@@ -2677,7 +2677,7 @@ static void purge_sessions(int n_max)
|
|||||||
if (s->sessiontimeout && (now > s->sessiontimeout) && !s->inuse) {
|
if (s->sessiontimeout && (now > s->sessiontimeout) && !s->inuse) {
|
||||||
AST_LIST_REMOVE_CURRENT(list);
|
AST_LIST_REMOVE_CURRENT(list);
|
||||||
ast_atomic_fetchadd_int(&num_sessions, -1);
|
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",
|
ast_verb(2, "HTTP Manager '%s' timed out from %s\n",
|
||||||
s->username, ast_inet_ntoa(s->sin.sin_addr));
|
s->username, ast_inet_ntoa(s->sin.sin_addr));
|
||||||
}
|
}
|
||||||
|
@@ -2649,7 +2649,7 @@ static int pbx_extension_helper(struct ast_channel *c, struct ast_context *con,
|
|||||||
c->priority = priority;
|
c->priority = priority;
|
||||||
pbx_substitute_variables(passdata, sizeof(passdata), c, e);
|
pbx_substitute_variables(passdata, sizeof(passdata), c, e);
|
||||||
ast_debug(1, "Launching '%s'\n", app->name);
|
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];
|
char tmp[80], tmp2[80], tmp3[EXT_DATA_SIZE];
|
||||||
ast_verb(3, "Executing [%s@%s:%d] %s(\"%s\", \"%s\") %s\n",
|
ast_verb(3, "Executing [%s@%s:%d] %s(\"%s\", \"%s\") %s\n",
|
||||||
exten, context, priority,
|
exten, context, priority,
|
||||||
|
Reference in New Issue
Block a user