[sr-dev] git:4.0: modules/outbound: changed some INFO level output to DBG

Peter Dunkley peter.dunkley at crocodile-rcs.com
Sat Mar 30 00:36:36 CET 2013


Module: sip-router
Branch: 4.0
Commit: 71dbcc196db780d5d8ca2960130850ace956ceca
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=71dbcc196db780d5d8ca2960130850ace956ceca

Author: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Date:   Fri Mar 29 23:35:39 2013 +0000

modules/outbound: changed some INFO level output to DBG
(cherry picked from commit ce0c420ba30388256e958a0bdf6d8f37138c3f97)

---

 modules/outbound/ob_mod.c |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/modules/outbound/ob_mod.c b/modules/outbound/ob_mod.c
index 3f76433..3d4d967 100644
--- a/modules/outbound/ob_mod.c
+++ b/modules/outbound/ob_mod.c
@@ -283,7 +283,7 @@ static int use_outbound_register(struct sip_msg *msg)
 	if (!(parse_headers(msg, HDR_VIA2_F, 0) == -1 || msg->via2 == 0
 		|| msg->via2->error != PARSE_OK))
 	{
-		LM_INFO("second Via: found - outbound not used\n");
+		LM_DBG("second Via: found - outbound not used\n");
 		return 0;
 	}
 
@@ -305,14 +305,14 @@ static int use_outbound_register(struct sip_msg *msg)
 		
 		if (contact->reg_id)
 		{
-			LM_INFO("found REGISTER with ;reg-id paramter on"
+			LM_DBG("found REGISTER with ;reg-id paramter on"
 				" Contact-URI - outbound used\n");
 			return 1;
 		}
 
 	}
 
-	LM_INFO("outbound not used\n");
+	LM_DBG("outbound not used\n");
 	return 0;
 }
 
@@ -353,7 +353,7 @@ static int use_outbound_non_reg(struct sip_msg *msg)
 		{
 			/* If the host:port doesn't match, or does but it's
 			   gruu */
-			LM_INFO("top Route-URI is not me - outbound not"
+			LM_DBG("top Route-URI is not me - outbound not"
 				" used\n");
 			return 0;
 		}
@@ -367,7 +367,7 @@ static int use_outbound_non_reg(struct sip_msg *msg)
 
 		if (hooks.uri.ob)
 		{
-			LM_INFO("found ;ob parameter on Route-URI - outbound"
+			LM_DBG("found ;ob parameter on Route-URI - outbound"
 				" used\n");
 
 			if (decode_flow_token(&rcv, puri.user) == 0)
@@ -375,12 +375,12 @@ static int use_outbound_non_reg(struct sip_msg *msg)
 				if (!ip_addr_cmp(&rcv.src_ip, &msg->rcv.src_ip)
 					|| rcv.src_port != msg->rcv.src_port)
 				{
-					LM_INFO("\"incoming\" request found\n");
+					LM_DBG("\"incoming\" request found\n");
 					return 2;
 				}
 			}
 
-			LM_INFO("\"outgoing\" request found\n");
+			LM_DBG("\"outgoing\" request found\n");
 			return 1;
 		}
 	}
@@ -389,7 +389,7 @@ static int use_outbound_non_reg(struct sip_msg *msg)
 	if (!(parse_headers(msg, HDR_VIA2_F, 0) == -1 || msg->via2 == 0
 		|| msg->via2->error != PARSE_OK))
 	{
-		LM_INFO("second Via: found - outbound not used\n");
+		LM_DBG("second Via: found - outbound not used\n");
 		return 0;
 	}
 
@@ -423,13 +423,13 @@ static int use_outbound_non_reg(struct sip_msg *msg)
 		}
 		if (hooks.contact.ob)
 		{
-			LM_INFO("found ;ob parameter on Contact-URI - outbound"
+			LM_DBG("found ;ob parameter on Contact-URI - outbound"
 				" used\n");
 			return 1;
 		}
 	}
 
-	LM_INFO("outbound not used\n");
+	LM_DBG("outbound not used\n");
 	return 0;
 }
 
@@ -449,7 +449,7 @@ int use_outbound(struct sip_msg *msg)
 		return 1;
 	}
 
-	LM_INFO("Analysing %.*s for outbound markers\n",
+	LM_DBG("Analysing %.*s for outbound markers\n",
 		msg->first_line.u.request.method.len,
 		msg->first_line.u.request.method.s);
 




More information about the sr-dev mailing list