Module: kamailio
Branch: master
Commit: b56312e1b8e357e4c3403cb14eff792190225687
URL:
https://github.com/kamailio/kamailio/commit/b56312e1b8e357e4c3403cb14eff792…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-05-22T09:55:43+02:00
app_ruby: skip registering KSR.pv from global list
- for now is still done with the custom functions from the module
---
Modified: src/modules/app_ruby/app_ruby_api.c
---
Diff:
https://github.com/kamailio/kamailio/commit/b56312e1b8e357e4c3403cb14eff792…
Patch:
https://github.com/kamailio/kamailio/commit/b56312e1b8e357e4c3403cb14eff792…
---
diff --git a/src/modules/app_ruby/app_ruby_api.c b/src/modules/app_ruby/app_ruby_api.c
index 03655c6ea2..92b45fb57e 100644
--- a/src/modules/app_ruby/app_ruby_api.c
+++ b/src/modules/app_ruby/app_ruby_api.c
@@ -1557,6 +1557,10 @@ int app_ruby_kemi_export_libs(void)
/* registered kemi modules */
if(emods_size>1) {
for(k=1; k<emods_size; k++) {
+ if(emods[k].kexp == sr_kemi_exports_get_pv()) {
+ LM_DBG("skip registering the core KSR.pv module\n");
+ continue;
+ }
n++;
_sr_crt_R_KSRMethods = _sr_R_KSRMethods + n;
ksr_app_ruby_toupper(emods[k].kexp[0].mname.s, rmname);