can we do it without advertising to use ubuntu =D<br>We don't like encouraging our users to use bleeding edge OS for our own sanity with debugging.<br>Not to say you are not allowed to I just don't want to encourage it =p<br>
<br><br><br><div class="gmail_quote">On Thu, Oct 1, 2009 at 1:12 PM, Even André Fiskvik <span dir="ltr"><<a href="mailto:grevenx@me.com">grevenx@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">That's very cool Mike!<div><br></div><div>I'm going to try to configure four boxes with this as well (Btw, did you use physical hardware or virtualization?)</div><div>and see how it goes. I followed Daniel Aliaman's blog as well, but I can try it again with the tips</div>
<div>you provided on FreeSWITCH config to see if I can get it working properly this time.</div><div>We did the setup on CentOS, but I wouldn't think that would be any issue.</div><div><br></div><div>Perhaps you or we could write up a complete guide about this on the wiki since this is an scenario</div>
<div>commonly used? Also it would be great if we could outline possible issues (and even better solutions)</div><div>to this kind of setup with regards to stuff like conferencing, bridging between registered users and presence.</div>
<div><br></div><div><br></div><div>Best regards,</div><div>Even André</div><div><br></div><div><br><div><div><div></div><div class="h5"><div>On 1. okt. 2009, at 18.45, Mike van Lammeren wrote:</div><br></div></div><blockquote type="cite">
<div><div></div><div class="h5">Guess what? I have two FreeSWITCH servers working behind UltraMonkey, using heartbeat and ldirectord for load-balancing, fail-over and high availability! I'm probably not the first one to do it, but as near as Google and I can tell, I'm the first one to write about it.<div>
<br></div><div>Here's how you can duplicate my setup:</div><div><br></div><div>1. Install Ubuntu Server 8 on four machines, either real or VM.</div><div>2. Compile and install FreeSWITCH v1.0.4 from source on two machines, following these instructions: <a href="http://wiki.freeswitch.org/wiki/Ubuntu_Quick_Start" target="_blank">http://wiki.freeswitch.org/wiki/Ubuntu_Quick_Start</a></div>
<div><a href="http://wiki.freeswitch.org/wiki/Ubuntu_Quick_Start" target="_blank"></a>3. Configure both FreeSWITCH boxes, and make sure they are both working.<br><div>4. Follow (most of) these instructions from Daniel Aliaman's blog. They were written for Asterisk, but since a SIP connection is a SIP connection, most of the document applies to FreeSWITCH:</div>
<div><a href="http://www.danielaliaman.com/blog/files/ultramonkeyasterisk.pdf" target="_blank">http://www.danielaliaman.com/blog/files/ultramonkeyasterisk.pdf</a></div><div><br></div><div><a href="http://www.danielaliaman.com/blog/files/ultramonkeyasterisk.pdf" target="_blank"></a>The one problem I ran into was the IP address and port to which FreeSWITCH was bound. The default is to use the primary address, which works great out-of-the-box for everything else. When a client tried to register, all it got back was an ICMP error -- Destination Unreachable, Port Unreachable. That error is returned when no sockets are listening for UDP packets. To get FreeSWITCH to listen for your Virtual IP, you need to set it in two places:</div>
<div><br></div><div>5. In /opt/freeswitch/conf/vars.xml, set "bind_server_ip".</div><div>6. In /opt/freeswitch/conf/sip_profiles/internal.xml, set "sip-ip".</div><div><br></div><div>That should do it! If you have any success, please report to this list.</div>
<div><br></div><div>Keep in mind that if you want to do something like conferencing between two registered clients, then you have to deal with the fact that the clients may or may not be on the same box.</div><div><br></div>
<div>Mike van Lammeren</div><div><br></div><div><br></div><div><br><div class="gmail_quote">On Tue, Sep 29, 2009 at 10:20 AM, Mike van Lammeren <span dir="ltr"><<a href="mailto:mike@van.lammeren.net" target="_blank">mike@van.lammeren.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><div class="gmail_quote">On Mon, Sep 28, 2009 at 9:05 PM, "Even André Fiskvik" <<a href="mailto:grevenx@me.com" target="_blank">grevenx@me.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
From: "Even André Fiskvik" <<a href="mailto:grevenx@me.com" target="_blank">grevenx@me.com</a>><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
Date: Mon, 28 Sep 2009 22:52:13 +0200<br>
Subject: Re: [Freeswitch-users] Load-Balance FreeSWITCH with Ultramonkey<br><div style="">I have been working with a similar setup myself, but for some reason I ended up ditching the<div>UltraMonkey setup because I just couldn't get it to work right.</div>
<div><br></div><div>It's been quite a while since my effort, so I don't remember what the exact issue was.</div><div>I got registrations to work, but had some other sip-dialog issues.</div><div><br></div><div>We have since then changed over to running OpenSIPs as a loadbalancer in front of </div>
<div>multiple FreeSWITCH instances. This setup is still in testing, but seemlingy works fine</div><div>(and if it doesn't, it's my own fault for writing a bad opensips config).</div><div><br></div><div>After we have done some more testing I can create a wiki-page with config details.</div>
<div><br></div><div><br></div><div>Best regards,</div><div>Even André</div><div><br></div></div></blockquote><div><br></div><div>Thanks, Even, that would be great! I might have to give up on the ultramonkey solution, since I can't find anyone who has made it work. It's too bad, because it would fit well with the rest of our architecture.</div>
<div><br></div><font color="#888888"><div>Mike van Lammeren</div></font></div>
</blockquote></div><br></div></div></div></div><div class="im">
_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></blockquote></div><br></div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>