[sr-dev] git:richard.good/diameter_rx_media: ims_qos: changed log from ERR to DBG on calling

Richard Good richard.good at smilecoms.com
Wed Mar 20 08:58:00 CET 2013


Module: sip-router
Branch: richard.good/diameter_rx_media
Commit: e73d4beac37094f49d1500cfe5ebb5c98dde476b
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e73d4beac37094f49d1500cfe5ebb5c98dde476b

Author: Richard Good <richard.good at smilecoms.com>
Committer: Richard Good <richard.good at smilecoms.com>
Date:   Wed Mar 20 09:45:23 2013 +0200

ims_qos:changed log from ERR to  DBG on calling

	- rx_send_str.c: When checking if auth session exists, changed log line from ERR to DBG.  This is because it is not an error - If an STR is sent a CDP terminate event is triggered.  This event usually triggers another STR to be sent but not if the auth session does not exist.

---

 modules/ims_qos/rx_str.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/ims_qos/rx_str.c b/modules/ims_qos/rx_str.c
index 2d630a3..fc6763b 100644
--- a/modules/ims_qos/rx_str.c
+++ b/modules/ims_qos/rx_str.c
@@ -84,7 +84,7 @@ int rx_send_str(str *rx_session_id) {
     LM_DBG("About to try get Auth session\n");
     auth = cdpb.AAAGetAuthSession(*rx_session_id);
     if (!auth) {
-        LM_ERR("Could not get Auth Session for session id: [%.*s]\n", rx_session_id->len, rx_session_id->s);
+        LM_DBG("Could not get Auth Session for session id: [%.*s] - this is fine as this might have been started by already sending an STR\n", rx_session_id->len, rx_session_id->s);
         return CSCF_RETURN_FALSE;
     }else{
         LM_DBG("Retrieved Auth Session for session id: [%.*s]\n", rx_session_id->len, rx_session_id->s);




More information about the sr-dev mailing list