aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-10 14:18:21 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-10 14:18:21 +0000
commitc08c9c7a7df28365209ec4d0d6cb0314e5ec707b (patch)
tree1135d3ece6df6cc4e88ab2d9cc4ba46f6cc39783 /channels/chan_sip.c
parent648892798dd1ee802c7475939bc1dda9e4e33bdc (diff)
Removing some LOG_DEBUG items
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@92160 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 15f821545..99adad20b 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -4072,8 +4072,7 @@ static int sip_hangup(struct ast_channel *ast)
return 0;
}
if (ast_test_flag(ast, AST_FLAG_ANSWERED_ELSEWHERE)) {
- if (option_debug)
- ast_log(LOG_DEBUG, "This call was answered elsewhere");
+ ast_debug(1, "This call was answered elsewhere");
append_history(p, "Cancel", "Call answered elsewhere");
p->answered_elsewhere = TRUE;
}
@@ -8480,8 +8479,7 @@ static int transmit_register(struct sip_registry *r, int sipmethod, const char *
}
r->regstate = auth ? REG_STATE_AUTHSENT : REG_STATE_REGSENT;
r->regattempts++; /* Another attempt */
- if (option_debug > 3)
- ast_verbose("REGISTER attempt %d to %s@%s\n", r->regattempts, r->username, r->hostname);
+ ast_debug(4, "REGISTER attempt %d to %s@%s\n", r->regattempts, r->username, r->hostname);
return send_request(p, &req, XMIT_CRITICAL, p->ocseq);
}