Module: kamailio
Branch: master
Commit: 56ab4065e6d2bcd9016d698548a6725a591eb736
URL: 
https://github.com/kamailio/kamailio/commit/56ab4065e6d2bcd9016d698548a6725a591eb736

Author: Richard Good <[email protected]>
Committer: Richard Good <[email protected]>
Date: 2016-03-01T10:17:17+02:00

modules/ims_qos: modified log line to be ERROR

---

Modified: modules/ims_qos/mod.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/56ab4065e6d2bcd9016d698548a6725a591eb736.diff
Patch: 
https://github.com/kamailio/kamailio/commit/56ab4065e6d2bcd9016d698548a6725a591eb736.patch

---

diff --git a/modules/ims_qos/mod.c b/modules/ims_qos/mod.c
index c330afe..e1b39f4 100644
--- a/modules/ims_qos/mod.c
+++ b/modules/ims_qos/mod.c
@@ -763,7 +763,7 @@ static int w_rx_aar(struct sip_msg *msg, char *route, char* 
dir, char *c_id, int
                LM_DBG("originating direction\n");
                 uri = cscf_get_asserted_identity(t->uas.request, 1);
                if (uri.len == 0) {
-                   LM_DBG("No P-Asserted-Identity hdr found in request. Using 
From hdr in req");
+                   LM_ERR("No P-Asserted-Identity hdr found in request. Using 
From hdr in req - we shouldn't have to do this");
 
                    if (!cscf_get_from_uri(t->uas.request, &uri)) {
                            LM_ERR("Error assigning P-Asserted-Identity using 
From hdr in req");
@@ -787,7 +787,7 @@ static int w_rx_aar(struct sip_msg *msg, char *route, char* 
dir, char *c_id, int
                    //getting called asserted identity
                     uri = 
cscf_get_public_identity_from_called_party_id(t->uas.request, &h);
                    if (uri.len == 0) {
-                       LM_DBG("No P-Called-Party hdr found in response. Using 
req URI from dlg");
+                       LM_ERR("No P-Called-Party hdr found in response. Using 
req URI from dlg - we shouldn't have to do this");
                        //get dialog and get the req URI from there
                        dlg = dlgb.get_dlg(msg);
                        if (!dlg) {


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to