From d57f70127c44fd74c459aefc8d2655978b9cb48b Mon Sep 17 00:00:00 2001 From: Balajee Date: Sun, 23 Dec 2018 23:27:49 +0530 Subject: [PATCH] topoh: fixed unmask route issue, if maksing fails for one of the routes --- src/modules/topoh/th_msg.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/modules/topoh/th_msg.c b/src/modules/topoh/th_msg.c index 2ba5688395e..9cf87aa8c6f 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);