Re: [SR-Users] KEMI and Native mixing

2020-10-22 Thread Arsen Semenov
Hi Marcin, As a bit addition to the above comments once you set cfgengine to your prefered lang the routes become the language's functions which should be defined, but you still can keep some "event-routes" in native kamailio language, they are being initialised at startup. If you migrate a large

Re: [SR-Users] KEMI and Native mixing

2020-10-22 Thread Marcin Kowalczyk
Hi, Thanks for your reply. I have quite a large and complex kamailio.cfg and it would be quite a challenging task to migrate it in one go. This is the reason why I was thinking to do it block by block to be sure it will not break a logic. Regards Marcin On Wed, Oct 21, 2020 at 8:16 PM Henning W

Re: [SR-Users] KEMI and Native mixing

2020-10-22 Thread Yuriy Gorlichenko
It is not a big deal to use it with lua_run(). It will work without any double_trouble in general I do it a lot in many projects which are still in native lang but already need some extensions I would recommend you to test your Lua before set into production. Here is a test suite which can help yo

Re: [SR-Users] Load balance on HA scenario

2020-10-22 Thread Yufei Tao
Hi Duarte, I'm not sure if your situation is more complicated than mine. I have two dispatcher nodes in the HA setup, with real IPs say IPa, IPb. They share a floating/virtual IP, let's call it VIP. Both nodes listen to the VIP (not its real IP), and use the VIP as the dispatcher's socket. In thi

Re: [SR-Users] Incoming DID calls routing to subscriber

2020-10-22 Thread David Villasmil
Glad to be of help! enjoy! Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, Oct 22, 2020 at 6:53 AM Jose Figueroa wrote: > Hey David, > > In fact I was doing it wrong, it seems I needed a validation before. But > the > $ru was okay. > > Now it works f