Re: [OpenSIPS-Users] opensips - graceful maintenance mode?

2020-01-20 Thread Liviu Chircu
Hi solarmon, I don't immediately recall such a mechanism in any of the modules / core logic. However, you have the often underrated $shv global variables, which allow you can implement some remarkable piece of logic!  For example: * "drain" mode, where the server stops accepting new calls, in

[OpenSIPS-Users] opensips - graceful maintenance mode?

2020-01-20 Thread solarmon
Hi, I have an opensips two node cluster, and using the dispatcher module for 'internal' and 'external' endpoints. What is the recommended graceful method to put this opensips cluster in maintenance so that current calls are not affected. The overall effect I am looking for is for the opensips clu

Re: [OpenSIPS-Users] Memory leak - solved

2020-01-20 Thread Liviu Chircu
Resolution here: it seems the recently added {ip.matches} transformation was leaking pkg memory.  Fixed on latest 3.0 and master [1]. Enjoy, [1]: https://github.com/OpenSIPS/opensips/commit/1c4fa53f2fab6 Liviu Chircu www.twitter.com/liviuchircu | www.opensips-solutions.com OpenSIPS Summit, Ams

Re: [OpenSIPS-Users] B2B user agent logic

2020-01-20 Thread Donat Zenichev
Hi there. I finished working on it and I tested this during a while. The way with topology_hiding module turned out to be the best fit. First of all because it's much more simple in terms of configuring. And I don't need to do any elaborate configuration and just change call-id of INVITE request u

Re: [OpenSIPS-Users] Memory leak - solved

2020-01-20 Thread Callum Guy
Hi Liviu, Thanks for coming back to me. I am continuing to have memory problems on these servers however I have stemmed the flow as per my previous emails here. I am still in an uncomfortable position where the systems need to be restarted weekly so I'd like to get this resolved as soon as possib

Re: [OpenSIPS-Users] Memory leak - solved

2020-01-20 Thread Liviu Chircu
Hi Callum, Sorry for the late follow-up: did you make any progress with your leak? If not, could you prepare a minimal opensips.cfg that exposes the problem?  A quick code review did not show any obvious leaks, so I suspect there is something about your specific script that I am overlooking. B

Re: [OpenSIPS-Users] Include ECDHE cipher suites in TLS

2020-01-20 Thread Callum Guy
Hi Ali, You'll need to setup your cipher list and DH file. You can generate a DH param file like this: *openssl dhparam -out dhparam.pem 4096* If you want to review locally available cipher suites you can run: *openssl ciphers -v* The OpenSIPs documentation clarifies the module configuration opt