[OpenSIPS-Users] Load balancer setup
Matt Broad
matt at supportedbusiness.com
Wed Oct 29 14:21:58 CET 2014
Hi,
just seeing if anyone had any ideas?
thanks
Matt
On 22 October 2014 08:42, matt <matt at supportedbusiness.com> wrote:
> Hi,
>
>
> I was looking for some guidance on using the load balancer in a NAT
> environment.
>
> I have the following setup (the IP addresses are made up but should give
> an indication):
>
> 1 x opensips server with load balancer module - IP 192.168.0.1
> 2 x freeswitch servers - IP 192.168.0.2 & 192.168.0.3
>
> All 3 servers have seperate external IP address routing to their internal
> IP via our firewall:
> 217.0.0.1 routed to 192.168.0.1 (Opensips)
> 217.0.0.2 routed to 192.168.0.2 (FS1)
> 217.0.0.3 routed to 192.168.0.3 (FS2)
>
> I have the load_balancer table with the following details:
>
> id, | group_id, | dst_uri, | resources, |
> probe_mode, | description
> '1', | '1', | 'sip:192.168.0.2:5080', | 'pstn=10', |
> '2', | 'FS1'
> '2', | '1', | 'sip:192.168.0.3:5080', | 'vm=1', |
> '2', | 'FS2'
>
>
> The call flow is:
>
> SIP Provider --> 217.0.0.1 Opensips --> 192.168.0.2/3
>
> The issue is, that when the 200 ok response is sent to the SIP provider,
> the Freeswitch server's internal IP is being sent in the SDP connection
> information (c). This causes the ACK response from the SIP Provider to
> fail to be sent correctly.
>
> With the calls routed directly to the FS servers (removing opensips from
> the flow), the calls work fine.
>
> Any help would be much appreciated :)
>
>
> thanks
> Matt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20141029/bb978ea8/attachment.htm>
More information about the Users
mailing list