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

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2025-07-15T18:03:07+02:00

ims_isc: fix wrong log level messages

this are clearly debug log messages, not errors

---

Modified: src/modules/ims_isc/third_party_reg.c

---

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

---

diff --git a/src/modules/ims_isc/third_party_reg.c 
b/src/modules/ims_isc/third_party_reg.c
index 3cae9211e06..b1b6de69076 100644
--- a/src/modules/ims_isc/third_party_reg.c
+++ b/src/modules/ims_isc/third_party_reg.c
@@ -485,7 +485,7 @@ int r_send_third_party_reg(r_third_party_registration *r, 
int expires)
        LM_DBG("BODY TYPE(3rd PARTY REGISTER):<%d>\n", r->body.content_type);
        if(r->body.content_type != CT_NONE) {
                if(r->body.content_type == CT_SERVICE_INFO) {
-                       LM_ERR("BODY (3rd PARTY REGISTER) \"SI\": <%.*s>\n",
+                       LM_DBG("BODY (3rd PARTY REGISTER) \"SI\": <%.*s>\n",
                                        r->body.content.len, r->body.content.s);
                        b.len = body_s.len + r->body.content.len + body_e.len;
                        b.s = pkg_malloc(b.len);
@@ -503,7 +503,7 @@ int r_send_third_party_reg(r_third_party_registration *r, 
int expires)
                        STR_APPEND(h, ct_service_info);
                        STR_APPEND(h, content_type_e);
                } else if(r->body.content_type == CT_REGISTER_REQ) {
-                       LM_ERR("BODY (3rd PARTY REGISTER) \"REQ\": <%.*s>\n",
+                       LM_DBG("BODY (3rd PARTY REGISTER) \"REQ\": <%.*s>\n",
                                        r->body.content.len, r->body.content.s);
                        b.len = r->body.content.len;
                        b.s = pkg_malloc(b.len);
@@ -519,7 +519,7 @@ int r_send_third_party_reg(r_third_party_registration *r, 
int expires)
                        STR_APPEND(h, ct_register_req);
                        STR_APPEND(h, content_type_e);
                } else if(r->body.content_type == CT_REGISTER_RESP) {
-                       LM_ERR("BODY (3rd PARTY REGISTER) \"RESP\": <%.*s>\n",
+                       LM_DBG("BODY (3rd PARTY REGISTER) \"RESP\": <%.*s>\n",
                                        r->body.content.len, r->body.content.s);
                        b.len = r->body.content.len;
                        b.s = pkg_malloc(b.len);

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to