Module: kamailio Branch: master Commit: d57f70127c44fd74c459aefc8d2655978b9cb48b URL: https://github.com/kamailio/kamailio/commit/d57f70127c44fd74c459aefc8d2655978b9cb48b
Author: Balajee <balajee@Balajees-MacBook-Air.local> Committer: Balajee <balajee@Balajees-MacBook-Air.local> Date: 2018-12-23T23:27:49+05:30 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/d57f70127c44fd74c459aefc8d2655978b9cb48b.diff Patch: https://github.com/kamailio/kamailio/commit/d57f70127c44fd74c459aefc8d2655978b9cb48b.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); _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev