Re: [SR-Users] Outbound socket selection (HA implementation)

2011-03-31 Thread Asgaroth
Sean, Thanks for the tip. I think the version I have has this patch in then, I'm running version: kamailio 3.1.2 (i386/linux) 63e528 > For what it's worth, make sure you have the mhomed patch in forward.c. As I > recall, the 3.1.2 source > tarball did not contain the fix, but the latest forwar

Re: [SR-Users] Outbound socket selection (HA implementation)

2011-03-31 Thread Klaus Darilion
FYI, I have the following setup without any problems (at least no problems on the server side, just buggy clients ;-) 2 Kamailio in active-active setup. Each Kamailio listens to the "dedicated" IP address and the "virtual" IP by using ip_nonlocal_bind. Virtual IP is managed by Pacemaker (I'm

Re: [SR-Users] Outbound socket selection (HA implementation)

2011-03-30 Thread Sean O'Donnell
For what it's worth, make sure you have the mhomed patch in forward.c. As I recall, the 3.1.2 source tarball did not contain the fix, but the latest forward.c did. http://www.mail-archive.com/sr-users@lists.sip-router.org/msg03892.html Sean O'Donnell Senior Engineer uReach Technologies, Inc.

Re: [SR-Users] Outbound socket selection (HA implementation)

2011-03-30 Thread Bruce McAlister
All, Thanks for the tips and suggestions, I have now managed to get this working using mhomed=1 and setting $fs, for some reason I could not get "force_send_socket" to work with avp's (but thats a topic for another thread). Thanks again for your time. ___

Re: [SR-Users] Outbound socket selection (HA implementation)

2011-03-29 Thread marius zbihlei
On 03/29/2011 05:47 PM, Asgaroth wrote: Hi Marius, I can't really say that the route table will work. One way I used for testing is via Ping or netcat without any local parameters. The choosing of the local address and port is left to the kernel, the same as kamailio with mhomed, so if you

Re: [SR-Users] Outbound socket selection (HA implementation)

2011-03-29 Thread Asgaroth
Hi Marius, > I can't really say that the route table will work. One way I used for > testing is via Ping or netcat without any local parameters. The > choosing of the local address and port is left to the kernel, the same > as kamailio with mhomed, so if you can find a suitable routeing table > wh

Re: [SR-Users] Outbound socket selection (HA implementation)

2011-03-29 Thread marius zbihlei
On 03/29/2011 03:32 PM, Asgaroth wrote: Hi Marius, Hello Asgaroth, Comments inline I have sent you another email in the thread but no reply. Can you confirm that you have a listening UDP socket on the interface that is selected by the kernel for sending the datagram in a mhomed environmen

Re: [SR-Users] Outbound socket selection (HA implementation)

2011-03-29 Thread Asgaroth
Hi Marius, > I have sent you another email in the thread but no reply. Can you > confirm that you have a listening UDP socket on the interface that is > selected by the kernel for sending the datagram in a mhomed > environment. If you are not listening on that interface Kamailio will > complain wi

Re: [SR-Users] Outbound socket selection (HA implementation)

2011-03-29 Thread marius zbihlei
On 03/29/2011 02:42 PM, Asgaroth wrote: Thank you all for your replies. Hello again, I have sent you another email in the thread but no reply. Can you confirm that you have a listening UDP socket on the interface that is selected by the kernel for sending the datagram in a mhomed enviro

Re: [SR-Users] Outbound socket selection (HA implementation)

2011-03-29 Thread Asgaroth
Thank you all for your replies. Our requirement, currently is fairly simple, and, I'm thinking that pacemaker/heartbeat/corosync is a little more overhead than required. Ucarp seems to fit the profile fairly well for what we are trying to achieve. I'd like to have kamailio decide on the outbound

Re: [SR-Users] Outbound socket selection (HA implementation)

2011-03-29 Thread Robert Verspuy
I'm using a different setup. Both servers have their own fixed ip-address and both have a virtual ip-address. pacemaker makes sure that when one server is down, its virtual ip is moved to the other node. So this is more a active-active setup. Enabled ip_nonlocal_bind, set listening to both vi

Re: [SR-Users] Outbound socket selection (HA implementation)

2011-03-29 Thread Paul Pankhurst
- Kamailio (OpenSER) and SIP Express Router (SER) -UsersMailing List Subject: Re: [SR-Users] Outbound socket selection (HA implementation) I have kamailio working with ucarp in an active/standby mode. The way I did it was to bind kamailio to a fixed ip address and use ip tables to forward between

Re: [SR-Users] Outbound socket selection (HA implementation)

2011-03-29 Thread marius zbihlei
On 03/29/2011 12:31 PM, Asgaroth wrote: Hi All, I'm trying to setup an active/passive proxy instance with kamailio 3.1.2. I'm using ucarp (www.ucarp.org) to provide the floating ip addresses. I have installed and configured ucarp and it appears to be working as expected. I have configured kamai

Re: [SR-Users] Outbound socket selection (HA implementation)

2011-03-29 Thread Paul Pankhurst
appropriate record routes and the advertised address within kamailio. Paul -Original Message- From: Asgaroth Sent: Tuesday, March 29, 2011 10:31 AM To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - UsersMailing List Subject: [SR-Users] Outbound socket selection (HA

[SR-Users] Outbound socket selection (HA implementation)

2011-03-29 Thread Asgaroth
Hi All, I'm trying to setup an active/passive proxy instance with kamailio 3.1.2. I'm using ucarp (www.ucarp.org) to provide the floating ip addresses. I have installed and configured ucarp and it appears to be working as expected. I have configured kamailio on both systems to be online all the t