diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-24 14:33:27 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-24 14:33:27 +0000 |
commit | 4fe036cc23cc5b662678f6da214a9b506b79b0a7 (patch) | |
tree | 5cbec9d416835eac1ce24767e1afd3c578b079fc /channels | |
parent | 6670df80833539edfc1cbbb18425a7a868d88c20 (diff) |
Change some logging levels. Not having hints is not an ERROR, but still should be reported.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47987 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index f0a490aba..75b7068ae 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2261,7 +2261,7 @@ static int update_call_counter(struct sip_pvt *fup, int event) case INC_CALL_LIMIT: if (*call_limit > 0 ) { if (*inuse >= *call_limit) { - ast_log(LOG_ERROR, "Call %s %s '%s' rejected due to usage limit of %d\n", outgoing ? "to" : "from", u ? "user":"peer", name, *call_limit); + ast_log(LOG_NOTICE, "Call %s %s '%s' rejected due to usage limit of %d\n", outgoing ? "to" : "from", u ? "user":"peer", name, *call_limit); if (u) ASTOBJ_UNREF(u,sip_destroy_user); else @@ -11110,7 +11110,7 @@ static int handle_request_subscribe(struct sip_pvt *p, struct sip_request *req, if ((firststate = ast_extension_state(NULL, p->context, p->exten)) < 0) { char iabuf[INET_ADDRSTRLEN]; - ast_log(LOG_ERROR, "Got SUBSCRIBE for extension %s@%s from %s, but there is no hint for that extension\n", p->exten, p->context, ast_inet_ntoa(iabuf, sizeof(iabuf), p->sa.sin_addr)); + ast_log(LOG_NOTICE, "Got SUBSCRIBE for extension %s@%s from %s, but there is no hint for that extension\n", p->exten, p->context, ast_inet_ntoa(iabuf, sizeof(iabuf), p->sa.sin_addr)); transmit_response(p, "404 Not found", req); ast_set_flag(p, SIP_NEEDDESTROY); return 0; |