Module: sip-router
Branch: master
Commit: 0ca1a789e52e5d559983c3cfb4d851ae375c7758
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0ca1a78…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Date: Sun May 12 14:18:13 2013 +0100
modules/outbound: reduced the level of some outbound related diagnostics
---
modules/outbound/ob_mod.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/modules/outbound/ob_mod.c b/modules/outbound/ob_mod.c
index 6180ec2..63be739 100644
--- a/modules/outbound/ob_mod.c
+++ b/modules/outbound/ob_mod.c
@@ -224,7 +224,7 @@ int decode_flow_token(struct sip_msg *msg, struct receive_info **rcv,
str flow_t
if (flow_token.len == 0)
{
- LM_ERR("no flow-token found\n");
+ LM_DBG("no flow-token found\n");
return -2;
}
@@ -234,7 +234,7 @@ int decode_flow_token(struct sip_msg *msg, struct receive_info **rcv,
str flow_t
if (flow_length != UNENC_FLOW_TOKEN_MIN_LENGTH
&& flow_length != UNENC_FLOW_TOKEN_MAX_LENGTH)
{
- LM_INFO("no flow-token found - bad length (%d)\n", flow_length);
+ LM_DBG("no flow-token found - bad length (%d)\n", flow_length);
return -2;
}
@@ -249,13 +249,13 @@ int decode_flow_token(struct sip_msg *msg, struct receive_info
**rcv, str flow_t
flow_length - FLOW_TOKEN_START_POS,
hmac_sha1, NULL) == NULL)
{
- LM_ERR("HMAC-SHA1 failed\n");
+ LM_INFO("HMAC-SHA1 failed\n");
return -1;
}
if (memcmp(unenc_flow_token, &hmac_sha1[SHA1_LENGTH - SHA1_80_LENGTH],
SHA1_80_LENGTH) != 0)
{
- LM_ERR("flow-token failed validation\n");
+ LM_INFO("flow-token failed validation\n");
return -1;
}
@@ -472,7 +472,8 @@ int use_outbound(struct sip_msg *msg)
return 1;
}
- /* If Outbound is turned off, return failure without any further checks */
+ /* If Outbound is turned off, return failure without any further
+ checks */
if (ob_force_no_flag != -1 && isflagset(msg, ob_force_no_flag) > 0)
{
LM_DBG("outbound not used by force\n");