Re: [SR-Users] kamailio - failover setup

2019-11-04 Thread Daniel Tryba
On Tue, Oct 29, 2019 at 11:24:34AM -0400, Sergiu Pojoga wrote: > Hi Daniel, > > In an ideal world, DNS is, as you said, the easiest of approaches one can > think of. However, not all endpoints support [properly] SRV failover. And that is why you do both. Both a hot standby and multiple active

Re: [SR-Users] kamailio - failover setup

2019-10-31 Thread Daniel-Constantin Mierla
OK, thanks for all these details! Cheers, Daniel On 30.10.19 22:03, Ilie Soltanici wrote: > Well... For Kamailio, at the moment ProxySQL is mainly used for > routing and statistic. For Asterisk, we also use a little caching. For > other services, ProxySQL is also used as a "Gateway", because our

Re: [SR-Users] kamailio - failover setup

2019-10-30 Thread Ilie Soltanici
Well... For Kamailio, at the moment ProxySQL is mainly used for routing and statistic. For Asterisk, we also use a little caching. For other services, ProxySQL is also used as a "Gateway", because our DB Servers are working in a separate Network. Before we were using db_cluster module from

Re: [SR-Users] kamailio - failover setup

2019-10-30 Thread Daniel-Constantin Mierla
Hello, thanks for sharing! Is ProxySQL making any difference using it instead of direct connection to MySQL? Curious mainly if you use it for caching capabilities, or just routing sql... Cheers, Daniel On 29.10.19 22:34, Ilie Soltanici wrote: > We are using keepalived with virtual IP Address

[SR-Users] kamailio - failover setup

2019-10-29 Thread Ilie Soltanici
We are using keepalived with virtual IP Address for Kamailio, dispatcher module for Asterisk, 2 MySQL Databases master-master replicated and 2 Servers with ProxySQL. So far so good. ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

Re: [SR-Users] kamailio - failover setup

2019-10-29 Thread Sergiu Pojoga
Hi Daniel, In an ideal world, DNS is, as you said, the easiest of approaches one can think of. However, not all endpoints support [properly] SRV failover. Take for example Asterisk's chan_sip. Is does resolve the hostname by SRV, however the failover is proven/accepted as broken.

Re: [SR-Users] kamailio - failover setup

2019-10-28 Thread Daniel Tryba
On Mon, Oct 28, 2019 at 06:03:09AM +0100, Youssef Boujraf wrote: > I am looking for failover service of kamailio servers looks like > haproxy but udp & tcp. > > -??one domain name : sip.secure.com pointing my public ip address. > - two kamailio server pointing same database content (user,

Re: [SR-Users] kamailio - failover setup

2019-10-28 Thread Daniel-Constantin Mierla
Hello, it is for SIP over TCP/TLS. Check the next link to see if the ha solution described there suits your needs:   - https://www.kamailio.org/w/2015/11/kamailio-ha-with-ansible-corosync-and-pacemaker/ Cheers, Daniel On 28.10.19 06:03, Youssef Boujraf wrote: > Dear All, > > I have seen in

[SR-Users] kamailio - failover setup

2019-10-27 Thread Youssef Boujraf
Dear All, I have seen in the new kamailio release 5.3.0, kamailio support for haproxy protocol – both the v1 (human-readable) and v2 (binary) versions of the protocol are supported (  https://www.kamailio.org/w/kamailio-v5-3-0-release-notes/ ) but it seems to be for Database, webserver