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, view it on GitHub, or mute the thread.