Re: [OpenSIPS-Users] Help with my OpenSips architecture

2018-08-08 Thread Dominic
There's something I'm not getting though, I defined my cluster with 2 opensips instances: # opensipsctl fifo clusterer_list Cluster:: 1 Node:: 2 DB_ID=-1 URL=bin:10.0.20.163:5566 Enabled=1 Link_state=Up Next_hop=2 Description=none # opensipsctl fifo clusterer_list_topology Cluster:: 1

Re: [OpenSIPS-Users] Using LetsEncrypt certs with v2.4

2018-08-08 Thread John Quick
Hi Vlad, I now realise that the problem I'm having is that "default" is a reserved word in MySQL. When I tried to set the 'domain' field to the text "default", it actually sets it to blank because that is the default value for this column.  John Quick Smartvox Limited Web: www.smartvox.co.uk

Re: [OpenSIPS-Users] Using LetsEncrypt certs with v2.4

2018-08-08 Thread Vlad Patrascu
Hi John, You conclusion about the modparam provisioning is not completely accurate. If you don't have any modparam statements in your script, the default preset values are only used as a backup for the default domains. And this is necessary in case you don't define the default domains in the

Re: [OpenSIPS-Users] Using LetsEncrypt certs with v2.4

2018-08-08 Thread John Quick
Hi Vlad, Thanks for replying. Yes, I must have been looking at the wrong version in the documentation - the old version was stored in my browser history and I failed to notice. Even in the correct v2.4, the documentation for DB provisioning is more complete when read alongside the extra

Re: [OpenSIPS-Users] Help with my OpenSips architecture

2018-08-08 Thread Dominic
On Wed, Aug 8, 2018 at 4:52 AM, Bogdan-Andrei Iancu wrote: > Hi Dominic, > > Please see inline. > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > http://www.opensips-solutions.com > OpenSIPS Bootcamp 2018 > http://opensips.org/training/OpenSIPS_Bootcamp_2018/ > > On

Re: [OpenSIPS-Users] drouting module in opensips 2.4

2018-08-08 Thread Bogdan-Andrei Iancu
Hi Kirill, Starting with 2.4 there is a change in how the initial load is done by drouting (and other modules). If previously the the initial load was part of the module init sequence (and delaying the whole opensips init with this load), now the load is done after the init sequence, so

Re: [OpenSIPS-Users] sip tracing of locally generated methods

2018-08-08 Thread Bogdan-Andrei Iancu
Hi Dan, Before digging in the code, have you done any test to see if the locally generated BYE gets traced or not ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Bootcamp 2018 http://opensips.org/training/OpenSIPS_Bootcamp_2018/

Re: [OpenSIPS-Users] Help with my OpenSips architecture

2018-08-08 Thread Bogdan-Andrei Iancu
Hi Dominic, Please see inline. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Bootcamp 2018 http://opensips.org/training/OpenSIPS_Bootcamp_2018/ On 08/07/2018 10:36 PM, Dominic wrote: Hi all, just to make sure I'm one the right

[OpenSIPS-Users] [RELEASE] OpenSIPS 2.3.5 and 2.4.2 minor releases planning

2018-08-08 Thread Răzvan Crainea
Hello, everyone! Since our previous 2.3.4 and 2.4.1 releases back in May we've gathered more than 100 commits of improvement and bug fixes. Therefore we believe it's time to make two new minor releases, for OpenSIPS 2.3.5 and 2.4.2. We have scheduled these releases for next week on Tuesday,

Re: [OpenSIPS-Users] Clusterer without a database

2018-08-08 Thread Bogdan-Andrei Iancu
Hi Fabian, I guess Callum wants to use the clusterer *without* any SQL backend. Your suggestion is a workaround, to trick the start up :) Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Bootcamp 2018

Re: [OpenSIPS-Users] Clusterer without a database

2018-08-08 Thread Bogdan-Andrei Iancu
Hi Callum, Indeed, there is a static dependency there, disregarding the db_mode value. I just pushed a fix: https://github.com/OpenSIPS/opensips/commit/df9e5a849fd03afef02c024bc5af40f14c53adc2 Please confirm the fix. Many thanks, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

Re: [OpenSIPS-Users] Clusterer without a database

2018-08-08 Thread Fabian Gast
Hi, add this: loadmodule "db_text.so" modparam("clusterer", "db_url", "text:///etc/opensips/db/") In the database directory add two files - version ( found in sources at scripts/dbtext/opensips/version ) - clusterer from scripts/dbtext/opensips/clusterer Add your cluster nodes to

[OpenSIPS-Users] Clusterer without a database

2018-08-08 Thread Callum Guy
Hi All, For "greater good" I thought it would be interesting to add some clusterer dialog replication to my OpenSIPs pair. Specifically I am on 2.4, installed the appropriate clusterer module and applied the following configuration: *+# Replication listener* *+listen=bin:172.18.0.112:5566