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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2025-10-29T12:48:31+01:00

core: parser - proper debug message when parsing Route headers

---

Modified: src/core/parser/parse_rr.c

---

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

---

diff --git a/src/core/parser/parse_rr.c b/src/core/parser/parse_rr.c
index d9e6ee0549b..2a0c69ab058 100644
--- a/src/core/parser/parse_rr.c
+++ b/src/core/parser/parse_rr.c
@@ -523,7 +523,7 @@ int parse_record_route_headers(sip_msg_t *msg)
        hf = msg->record_route;
        while(hf) {
                if(parse_rr(hf) < 0) {
-                       LM_ERR("failed to parse Record-Route\n");
+                       LM_ERR("failed to parse Record-Route headers\n");
                        return -1;
                }
 
@@ -546,7 +546,7 @@ int parse_route_headers(sip_msg_t *msg)
        hf = msg->route;
        while(hf) {
                if(parse_rr(hf) < 0) {
-                       LM_ERR("failed to parse Record-Route\n");
+                       LM_ERR("failed to parse Route headers\n");
                        return -1;
                }
 

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to