Yes, srv records would work but as you said, they don't know the state of you installation, I.e. up, down or indifferent. Also, I have found that there are not many carriers that support srv and those that do lack the full implementation. 

If it was me, I'd put openser or something similar in front of your freeswitch boxes which will act as a router, load balancer.

The is nothing wrong with using heartbeat and corosync but your public ip would need to be on the same subnet for it to work correctly.

Hope this helps.
Oz.

Sent from my iPad

On 6 Jul 2012, at 17:04, Adam Obuchowski <adam@vrs.pl> wrote:

Hello,
What you mean by DNS based failover ?
Short ttl on DNS A record may cause name resolution issues, isnt it ?
How does it work ?

Kind regards,

--
Adam Obuchowski
VoipSwitch support
www.voipswitch.com




2012/7/6 Muhammad Shahzad <shaheryarkh@googlemail.com>
You can also try DNS based fail-over and load balancing, works perfect for us.

Thank you.


On Fri, Jul 6, 2012 at 9:02 AM, A E G <all.eforums@gmail.com> wrote:

On Wed, Jul 4, 2012 at 5:53 AM, Hanie Maghsoudy <h.maghsoudy@gmail.com> wrote:
Thanks Muhammad, that would be a good idea.
However, I'm trying direct routing mode of IPVS for load balancing along with Heartbeat for HA.
Could anyone of you guys suggest a better way to implement Load balancing and HA for FreeSwitch?

Thanks


Not sure about HA, but the call distributor module:  http://wiki.freeswitch.org/wiki/Mod_distributor used to work well for us ...haven't used it for a while now. Not sure if anything has changed in newer builds.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

Join Us At ClueCon - Aug 7-9, 2012

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: shari_786pk@hotmail.com
Email: shaheryarkh@googlemail.com

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

Join Us At ClueCon - Aug 7-9, 2012

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

Join Us At ClueCon - Aug 7-9, 2012

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org