[SR-Users] Missing exit function on KEMI?

Daniel-Constantin Mierla miconda at gmail.com
Wed Mar 28 16:35:10 CEST 2018


in Python you can call exit() or os.exit(), this throws an exception
which is caught by Kamailio and interpreted as the usual exit from

Probably we should add the KSR.x.exit() there as well, it was not added
because python exit gave what was needed in this case


On 27.03.18 16:49, Enrico Bandiera wrote:
> Hello, I'm trying to use the KSR.x.exit() function in a KEMI python
> script but at runtime i get this error:
> KSR.x.exit()
> AttributeError: 'module' object has no attribute 'exit'
> It seems that the exit function is missing even though it is documented.
> My kamailio version is: kamailio 5.2.0-dev4 (x86_64/linux)  (it's a
> nightly)
> Any idea on what I can do?
> Thanks,
> Enrico.
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - April 16-18, 2018, Berlin - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180328/9730e8ef/attachment.html>

More information about the sr-users mailing list