[SR-Users] RPM SPEC file differs between repo and build server

2022-11-15 Thread Ryan Cloherty
Hello, When trying to install the Kamailio RPM from https://rpm.kamailio.org/centos/7/5.6/5.6.2/x86_64/Packages/k/kamailio-5.6.2-0.el7.centos.src.rpm, I encountered an issue due to a dependency on "libpython3.6m". It seems like the SPEC file in the repository

Re: [SR-Users] KEMI - app_python3 - reload multiple python files

2022-11-15 Thread Daniel-Constantin Mierla
Hello, thanks for sharing it! I think it could be useful for many others, therefore I added  it to the docs of the module. Cheers, Daniel On 15.11.22 09:14, sd...@pascom.net wrote: > Hi, > our python configuration consists of many files, too. To have the > reload working, we have this block

[SR-Users] Kamailio devel event starting tomorrow

2022-11-15 Thread Daniel-Constantin Mierla
Hello, as some of you may know from previous announcements, a few of us meet tomorrow and the day after in Dusseldorf at sipgate.de for a Kamailio development event. Should anyone want to join remotely, we can make available a video conference bridge. Join if you want to work together to add new

Re: [SR-Users] KEMI - app_python3 - reload multiple python files

2022-11-15 Thread Niklas Larsson
Hi, thanks - that solved our problem /niklas On 2022-11-15 09:14, sd...@pascom.net wrote: Hi, our python configuration consists of many files, too. To have the reload working, we have this block in our configuration: import mod1 import mod2 import mod3 from importlib import reload def

Re: [SR-Users] USRLOC module - Not all records are written to the db with db_mode 2

2022-11-15 Thread Markus Bönke
Thanks for the answers. Maybe we need to add some additional trace logs in the code in one of the next versions ... > Am 09.11.2022 um 23:53 schrieb Seven Du >: > > We have the same problem like 1 ~ 2 times a year with some version between > 5.4 and 5.5.2, we

Re: [SR-Users] dialog_vars accumulating in database?

2022-11-15 Thread Benoit Panizzon
Hmm, I have a suspicion how this happens... I could more or less reproduce the issue: 2 Kamailio instances, synced with DMQ. Both store dialog_vars in a local database for performance. While a dialog is ongoing, stop instance 2. This instance 2 probably has stored dialog information in it's

Re: [SR-Users] set_dlg_profile profile name with and without value?

2022-11-15 Thread Alex Balashov
Hi, A profile is either “with value” or “without value”, so you cannot use it both ways simultaneously; “with value” is not a superset of “without value”. You can, however, add a call to two different profiles, one with values and one without values. — Alex > On Nov 15, 2022, at 7:45 AM,

[SR-Users] set_dlg_profile profile name with and without value?

2022-11-15 Thread Benoit Panizzon
Hi I am wondering, if a profile with value can on the same time be used as profile without value of this usages exclude each other. Like doing: set_dlg_profile("caller"); set_dlg_profile("caller","$si"); get_profile_size("caller","$var(c_total)"); get_profile_size("caller","$si","$var(c_ip)");

Re: [SR-Users] KEMI - app_python3 - reload multiple python files

2022-11-15 Thread sdamm
Hi, our python configuration consists of many files, too. To have the reload working, we have this block in our configuration: import mod1 import mod2 import mod3 from importlib import reload def mod_init(): KSR.info("= initializing kamailio.py\n") reload(mod1) reload(mod2)