[sr-dev] git:master:5f3e430f: Merge pull request #1776 from balajeesv/routeissue
GitHub
noreply at github.com
Mon Jan 7 11:58:24 CET 2019
Module: kamailio
Branch: master
Commit: 5f3e430fa7c769aa8b262dbeaec96fd2e556c08a
URL: https://github.com/kamailio/kamailio/commit/5f3e430fa7c769aa8b262dbeaec96fd2e556c08a
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: GitHub <noreply at github.com>
Date: 2019-01-07T11:58:19+01:00
Merge pull request #1776 from balajeesv/routeissue
topoh: fixed unmask route issue, if maksing fails for one of the routes
---
Modified: src/modules/topoh/th_msg.c
---
Diff: https://github.com/kamailio/kamailio/commit/5f3e430fa7c769aa8b262dbeaec96fd2e556c08a.diff
Patch: https://github.com/kamailio/kamailio/commit/5f3e430fa7c769aa8b262dbeaec96fd2e556c08a.patch
---
diff --git a/src/modules/topoh/th_msg.c b/src/modules/topoh/th_msg.c
index 2ba5688395..9cf87aa8c6 100644
--- a/src/modules/topoh/th_msg.c
+++ b/src/modules/topoh/th_msg.c
@@ -709,7 +709,10 @@ 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)
- return -1;
+ {
+ rr = rr->next;
+ continue;
+ }
out.s = th_mask_decode(eval.s, eval.len,
&th_uparam_prefix, 0, &out.len);
More information about the sr-dev
mailing list