Module: kamailio
Branch: master
Commit: cee4941daf56985d9734263c4b99c33f9ef3a149
URL:
https://github.com/kamailio/kamailio/commit/cee4941daf56985d9734263c4b99c33…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-01-07T12:01:21+01:00
topoh: aded debug message for knowing the reason of no decoding rr
---
Modified: src/modules/topoh/th_msg.c
---
Diff:
https://github.com/kamailio/kamailio/commit/cee4941daf56985d9734263c4b99c33…
Patch:
https://github.com/kamailio/kamailio/commit/cee4941daf56985d9734263c4b99c33…
---
diff --git a/src/modules/topoh/th_msg.c b/src/modules/topoh/th_msg.c
index 9cf87aa8c6..142eda1580 100644
--- a/src/modules/topoh/th_msg.c
+++ b/src/modules/topoh/th_msg.c
@@ -701,7 +701,7 @@ int th_unmask_route(sip_msg_t *msg)
(strncasecmp(rr->nameaddr.uri.s,th_uri_prefix.s,
th_uri_prefix.len)!=0)))
{
- LM_DBG("rr %d is not encoded: [%.*s]", i,
+ LM_DBG("rr %d is not encoded: [%.*s] - missing prefix\n", i,
rr->nameaddr.uri.len, rr->nameaddr.uri.s);
rr = rr->next;
continue;
@@ -710,6 +710,8 @@ int th_unmask_route(sip_msg_t *msg)
if(th_get_uri_param_value(&rr->nameaddr.uri, &th_uparam_name,
&eval)<0 || eval.len<=0)
{
+ LM_DBG("rr %d is not encoded: [%.*s] - missing param\n", i,
+ rr->nameaddr.uri.len, rr->nameaddr.uri.s);
rr = rr->next;
continue;
}