[Freeswitch-users] FreeSWITCH failover/HA

Matt Stockton mstockton at harqen.com
Fri Sep 9 00:41:47 MSD 2011


Hi Mateusz,

I was just able to recently get this working using OpenSIPS and the
instructions found here:
http://wiki.freeswitch.com/wiki/Enterprise_deployment_OpenSIPS

There were a few modifications I had to make, for example:
- dlg_flag seems to be no longer available in the newest OpenSips, but I do
not think it is needed.
- I removed the dispatcher module because I didn't need to support
registration
- I had to change the INVITE conditional to be dependent on whether or not
the invite was coming from outside (e.g. PSTN) or was coming from one of my
freeswitch servers. For loadbalancing coming in, the load_balancer module
worked fine as configured in the wiki instructions. For outbound, I used the
dynamic routing module:
http://www.unixnews.net/2010/09/dynamic-routing-with-opensips.html

It seems to be working well so far. I will plan to update the wiki with more
information. Feel free to reach out to me if you have any questions.

Thanks,
Matt

On Thu, Sep 8, 2011 at 1:59 PM, Mateusz Bartczak <netcentrica at gmail.com>wrote:

> Hi
>
> I would like to implement following scenario:
>
> 1. Central SIP proxy with 1 IP address that will redirect all incoming and
> outgoing SIP traffic to two SIP application servers (FreeSwitch based).
> Proxy will know online/offline status of each box and route calls only to
> active one. I need it as a central point because IP address is authorized
> with my providers. Also providers route incoming calls to that IP address.
> My providers can't automatically reroute traffic to other server, it can be
> done manually but it's not fast to do.
>
> 2. Mini cluster of two FreeSwitch boxes, box 2 will be exact copy of box 1.
> If box 1 fails, central server should automatically route all traffic to box
> 2.
>
> Do you have any suggestions how to implement this scenario? I think that it
> should be easy to do, but have no idea where to start.
>
> Best Regards,
> Mateusz
>
>
>
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110908/fef5f74a/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list