diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-18 21:13:28 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-18 21:13:28 +0000 |
commit | 58d2c71f832251f96e958d9fdeecdbab73c6b65a (patch) | |
tree | 9ca5a5dbd5012f25c622f2bd907903b7fb4b4edd /channels/chan_sip.c | |
parent | 829520df6bf936e1159b2809a1960441fbd74b92 (diff) |
Move some warnings away to debug since some devices send a packet with a silly
string as a NAT keepalive packet.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93741 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-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 8a6484a1f..023922fea 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -7575,7 +7575,7 @@ static int determine_firstline_parts(struct sip_request *req) req->rlPart2 = e; } else { /* We have a request */ if ( *e == '<' ) { /* XXX the spec says it must not be in <> ! */ - ast_log(LOG_WARNING, "bogus uri in <> %s\n", e); + ast_debug(3, "Oops. Bogus uri in <> %s\n", e); e++; if (!*e) return -1; @@ -7586,7 +7586,7 @@ static int determine_firstline_parts(struct sip_request *req) *e++ = '\0'; e = ast_skip_blanks(e); if (strcasecmp(e, "SIP/2.0") ) { - ast_log(LOG_WARNING, "Bad request protocol %s\n", e); + ast_debug(3, "Skipping packet - Bad request protocol %s\n", e); return -1; } } |