Hey,<div>Why do you think using OpenSIPs is not going to work for you ? You can always add SIP trunks on openSips and based upon which trunks getting the call you can LB or/and FO to as many asterisk servers as you want !</div>
<div><br></div><div>Regards,</div><div>-Sammy<br><br><div class="gmail_quote">On Sun, Oct 2, 2011 at 7:12 AM, Michelle Dupuis <span dir="ltr">&lt;<a href="mailto:mdupuis@ocg.ca">mdupuis@ocg.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">






<div lang="SV" link="blue" vlink="purple">
<div dir="ltr"><font color="#000000" size="2" face="Tahoma">If one server is supposed to carry the full load of the other during failure, then you have to size each server to handle  100% load - so load balancing is pointless.</font></div>

<div dir="ltr"><font size="2" face="tahoma"></font> </div>
<div dir="ltr"><font size="2" face="tahoma">Checkout haast at <a href="http://www.generationd.com" target="_blank">
www.generationd.com</a> and read  the docs on how it does failover...certainly good for ideas.</font></div>
<div dir="ltr"> </div>
<div style="direction:ltr">
<hr>
<font size="2" face="Tahoma"><b>From:</b> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Tobias Steen [<a href="mailto:tobias.steen@s2.se" target="_blank">tobias.steen@s2.se</a>]<br>

<b>Sent:</b> Saturday, October 01, 2011 6:30 PM<br>
<b>To:</b> Asterisk Users List<br>
<b>Subject:</b> [asterisk-users] Make asterisk cluster appear and operate as a single server?<br>
</font><br>
</div><div><div></div><div class="h5">
<div></div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Hi, </span></p>
<p class="MsoNormal"><span lang="EN-US"></span> </p>
<p class="MsoNormal"><span lang="EN-US">I&#39;m trying to plan a system of clustered asterisk machines where a number of SIP trunks will be hosted on the platform. Each trunk will be hosted for a specific customer who owns it and therefore payment is handled directly
 between the customers and their trunk-providers, each trunk will have about 50-200 simultaneous calls.
</span></p>
<p class="MsoNormal"><span lang="EN-US"></span> </p>
<p class="MsoNormal"><span lang="EN-US">No SIP phones will be directly connected to the platform, my thought is that the asterisk machines should only receive incoming and make outgoing calls through the trunks, and then connect the calls with each other.
</span></p>
<p class="MsoNormal"><span lang="EN-US"></span> </p>
<p class="MsoNormal"><span lang="EN-US">To make this scalable and have the option of running an infinite number of sip-trunks, I need a good way to load-balance my asterisk servers and implement failover support and also be able to add / replace the machines
 in the cluster in a safe and reliable way. </span></p>
<p class="MsoNormal"><span lang="EN-US"></span> </p>
<p class="MsoNormal"><span lang="EN-US">I&#39;m have some experience building single asterisk solutions but I have never worked with load balancing of multiple asterisk machines.
</span></p>
<p class="MsoNormal"><span lang="EN-US"></span> </p>
<p class="MsoNormal"><span lang="EN-US">Is it possible to configure all trunks on a single asterisk setup which is then reflected over a cluster of asterisk machines? If I have a cluster of machines, I guess I need some kind of front-end application / system?
 I will then also need to be able to connect calls between the machines, the calls to be connected with each other will always be incoming and outgoing on the same trunk.</span></p>
<p class="MsoNormal"><span lang="EN-US"></span> </p>
<p class="MsoNormal"><span lang="EN-US">In other words, I want to create a large cluster of asterisk machines to appear and operate as a single asterisk server.
</span></p>
<p class="MsoNormal"><span lang="EN-US"></span> </p>
<p class="MsoNormal"><span lang="EN-US">I&#39;ve looked at projects like OpenSIP but it feels like this is not really what I need?
</span></p>
<p class="MsoNormal"><span lang="EN-US"></span> </p>
<p class="MsoNormal"><span lang="EN-US">I really appreciate if someone can help me get on the correct path here, I need all the feedback I can get.</span></p>
<p class="MsoNormal"><span lang="EN-US"></span> </p>
<p class="MsoNormal"><span lang="EN-US"></span> </p>
<p class="MsoNormal">Thanks in advance! </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Best regards </p>
<p class="MsoNormal">Tobias</p>
<p class="MsoNormal"> </p>
</div>
</div>
</div></div></div>

<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>