[SR-Users] KEMI Python Syntax

Olivier Roy olivier at consultantsprocom.com
Thu May 12 23:12:12 CEST 2022


Hello,

I am writing some Kamailio scripts using app_python3.
I understand that the KSR module is automatically generated by Kamailio. So when I
import KSR from KSR
I don't get any syntax from my IDE since it doesn't know where KSR is.

My question: is there a way to generate a KSR.py file that can be used for autocompletion and syntax highlighting?

Thanks.

Olivier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220512/9b8d5e9e/attachment.htm>


More information about the sr-users mailing list