Module: kamailio Branch: master Commit: e5ecb666abd24433b0de030980f79e2521439524 URL: https://github.com/kamailio/kamailio/commit/e5ecb666abd24433b0de030980f79e25...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2023-10-21T09:07:39+02:00
topos: remove check of th_param_mask_callid() for api callid masking
- functions are not for topoh internal usage, but for intermodule API - reported as part of GH #3606
---
Modified: src/modules/topoh/th_msg.c
---
Diff: https://github.com/kamailio/kamailio/commit/e5ecb666abd24433b0de030980f79e25... Patch: https://github.com/kamailio/kamailio/commit/e5ecb666abd24433b0de030980f79e25...
---
diff --git a/src/modules/topoh/th_msg.c b/src/modules/topoh/th_msg.c index f7ef0257f54..47637d3401a 100644 --- a/src/modules/topoh/th_msg.c +++ b/src/modules/topoh/th_msg.c @@ -508,12 +508,6 @@ int th_mask_callid_str(str *icallid, str *ocallid) { str out;
- if(th_param_mask_callid == 0) - return 0; - - if(th_param_mask_callid == 0) - return 0; - if(icallid->s == NULL) { LM_ERR("invalid call-id value\n"); return -1; @@ -535,9 +529,6 @@ int th_unmask_callid_str(str *icallid, str *ocallid) { str out;
- if(th_param_mask_callid == 0) - return 0; - if(icallid->s == NULL) { LM_ERR("invalid Call-Id value\n"); return -1;