Hello,
have you tried to just use "import my-file" the file my-file in your
kamailio.py?
Cheers,
Henning
--
Henning Westerholt -
https://skalatan.de/blog/
Kamailio services -
https://gilawa.com
-----Original Message-----
From: sr-users <sr-users-bounces(a)lists.kamailio.org> On Behalf Of Niklas Larsson
Sent: Friday, November 11, 2022 3:55 PM
To: sr-users(a)lists.kamailio.org
Subject: [SR-Users] KEMI - app_python3 - reload multiple python files
Hi,
for the first time we tried to build all routing in kemi with app_python3, and it works
well.
But app_python.reload only reloads the file in:
modparam("app_python3", "load",
"/etc/kamailio/kemi/kamailio.py")
And that is a little problem for us, since we are using multiple files to use modules etc.
At the moment we have 8 files besides kamailio.py.
Is there a way to reload all of them, without restarting kamailio?
/niklas
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions sr-users(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users