Hello,
it could be due to commit 3c1851ad546f574d1fda869348c8f7e5186079d2,
which was done to avoid sharing the interpreter state before forking the
child processes.
Cheers,
Daniel
On 25.03.23 23:15, Ovidiu Sas wrote:
> Hello all,
>
> While using KEMI with app_jsdt I noticed the following possible
> regression between 5.5 and 5.6.
>
> The following config is working ok on 5.5 but throws an error on 5.6:
> ERROR: app_jsdt [app_jsdt_api.c:555]: app_jsdt_run_ex(): js loading
> state not initialized (call: ksr_htable_event)
>
> kamailio.cfg:
> debug=2
> children=1
>
> log_facility=LOG_LOCAL0
> log_name="k"
>
> mpath="/home/osas/src/kamailio/src/modules"
> loadmodule "htable/htable.so"
> modparam("htable", "event_callback", "ksr_htable_event")
> modparam("htable", "event_callback_mode", 1)
> loadmodule "kemix/kemix.so"
> loadmodule "app_jsdt/app_jsdt.so"
> modparam("app_jsdt", "load", "/usr/local/etc/kamailio/kamailio.js")
> cfgengine "jsdt"
>
> kamailio.js:
> function ksr_htable_event(evname) {
> KSR.info("ksr_htable_event(" + evname + ")\n");
> }
>
> function ksr_request_route() {
> KSR.x.exit();
> }
>
> If we load the htable module after app_jsdt, then the error is gone.
> Is there something new during init in 5.6 that requires specific
> module loading order?
>
> -ovidiu
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
> To unsubscribe send an email to [email protected]
> Important: keep the mailing list in the recipients, do not reply only to the
> sender!
> Edit mailing list options or unsubscribe:
--
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - June 5-7, 2023 - www.kamailioworld.com
Kamailio Advanced Training - Online - March 27-30, 2023 - www.asipto.com
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!
Edit mailing list options or unsubscribe: