The function KSR.x.exit() is stopping the JavaScript interpreter to execute 
further JavaScript code, not to stop the kamailio.cfg interpreter in such a 
mixed use case.

If you expected that nothing else is executed after jsdt_run() in kamailio.cfg, 
then it is not how KSR.x.exit() was designed. The solution is to set some 
variable in JS code and test it in kamailio.cfg routing block to do an exit.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1936#issuecomment-486167318
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to