Re: [SR-Users] Kamailio Active / Active HA.

2014-12-28 Thread Mahmoud Ramadan Ali
Hi Carsten and Olle, I need some clarification regarding to the servers DB on the cluster please.Do i need to configure MySQL DB replication and use that module http://kamailio.org/docs/modules/4.1.x/modules/db_cluster.html to make the servers use both of the DBs for read and write operations as a

Re: [SR-Users] SIPURI sending private IP address

2014-12-28 Thread Cibin Paul
Thanks Luis. I will check today and inform you. Regards Cibin > On 28-Dec-2014, at 9:06 am, Luis Jimenez wrote: > > You can send the info you need to Asterisk using X headers, for example: > > Kamailio has the pseudo variable $si which contains the public IP originating > the request and you

Re: [SR-Users] SIPURI sending private IP address

2014-12-28 Thread Luis Jimenez
You can send the info you need to Asterisk using X headers, for example: Kamailio has the pseudo variable $si which contains the public IP originating the request and you can send that to Asterisk using append_hf. append_hf("X-orig-IP: $si"); In Asterisk you can access the headers as ${SIP_HE

Re: [SR-Users] Kamailio Active / Active HA.

2014-12-28 Thread Olle E. Johansson
On 28 Dec 2014, at 09:25, Mahmoud Ramadan Ali wrote: > In addition, you can work with virtual IPs with Heartbeat/Pacemaker. Carsten is completely right, the primary alternative is using DNS SRV records for load balancing and failover. The only issue is if you have NAT clients that lock to a

Re: [SR-Users] Kamailio Active / Active HA.

2014-12-28 Thread Mahmoud Ramadan Ali
Thank you Carsten... Very useful information, i will try this and contact the mailing list if i have issues. On Sun, Dec 28, 2014 at 1:44 AM, Carsten Bock wrote: > Hi Mahmoud, > > Thy typical way, to build a Active/Active setup is by using DNS-SRV > records. The two servers get different IPs an