<html><body><div style="color:#000; background-color:#fff; font-family:Arabic Transparent, Arial;font-size:13px"><div id="yui_3_16_0_1_1435250339269_2373"><span>Hi,</span></div><div id="yui_3_16_0_1_1435250339269_2373"><span><br></span></div><div id="yui_3_16_0_1_1435250339269_2373">Thanks for your attention. With your solution, if one of peers goes down, SPCE will notice about it? </div><div id="yui_3_16_0_1_1435250339269_2373" dir="ltr">50-50 distribution means round robin?</div><div id="yui_3_16_0_1_1435250339269_2373" dir="ltr"><br></div><div id="yui_3_16_0_1_1435250339269_2373" dir="ltr">Regards,</div><div id="yui_3_16_0_1_1435250339269_2373" dir="ltr">H.Yavari</div><br>  <div style="font-family: Arabic Transparent, Arial; font-size: 13px;" id="yui_3_16_0_1_1435250339269_2363"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;" id="yui_3_16_0_1_1435250339269_2362"> <div dir="ltr" id="yui_3_16_0_1_1435250339269_2361"> <hr size="1" id="yui_3_16_0_1_1435250339269_2374">  <font size="2" face="Arial" id="yui_3_16_0_1_1435250339269_2360"> <b><span style="font-weight:bold;">From:</span></b> Daniel Grotti <dgrotti@sipwise.com><br></font></div><div dir="ltr" id="yui_3_16_0_1_1435250339269_2361"><font size="2" face="Arial"><br></font></div><div dir="ltr" id="yui_3_16_0_1_1435250339269_2361"><font size="2" face="Arial"><br></font></div><div class="y_msg_container" id="yui_3_16_0_1_1435250339269_2392"><div dir="ltr" id="yui_3_16_0_1_1435250339269_2402">Hi,<br clear="none">well best way would be to set up a kamailio stateless proxy for that.<br clear="none">But if you want to use SPCE, you can add your Asterisk boxes as SIP<br clear="none">Peering, then you can forward all the calls from NGCP to you SIP<br clear="none">peering, or from another INCOMING PEERING to your asterisk boxes (just<br clear="none">enable the "peer_relay").<br clear="none"><br clear="none"><br clear="none">You can configure you peering groups with different Priority and inside<br clear="none">your peering servers with differente weights.<br clear="none">The weights just tell you the probability that certain peer will be<br clear="none">selected. So if you want to do a 50-50 distribution, just give the same<br clear="none">weights to all your peerings.<br clear="none"><br clear="none"><br clear="none"><br clear="none"><br clear="none">--<br clear="none">Daniel Grotti<br clear="none">VoIP Engineer<br clear="none"><br clear="none"><br clear="none">Sipwise GmbH<br clear="none">Europaring F15 | 2345 Brunn am Gebirge, Austria | www.sipwise.com<br clear="none"><br clear="none">On 06/25/2015 09:28 AM, H Yavari wrote:<br clear="none">> Hi,<br clear="none">> <br clear="none">> Thank you for reply. But in your solution, first sever will be selected<br clear="none">> in many times.<br clear="none">> In your solution, NGCP will detect that one of Asterisk server is down?<br clear="none">> it is possible to route calls based on lowest number of calls?<br clear="none">> <br clear="none">> Regards,<br clear="none">> <br clear="none">> ------------------------------------------------------------------------<br clear="none">> *From:* William Fulton <<a shape="rect" ymailto="mailto:wfulton@thirdhatch.com" href="mailto:wfulton@thirdhatch.com" id="yui_3_16_0_1_1435250339269_3174">wfulton@thirdhatch.com</a>><br clear="none">> <br clear="none">> <br clear="none">> You should be able to accomplish this simply by registering multiple<br clear="none">> asterisk servers to your SPCE.  Then, on the asterisk servers set a<br clear="none">> channel limit in the trunk config.  This will force the SPCE to send<br clear="none">> calls to the next server in priority.  If you do this with each server,<br clear="none">> this should get you the results you are looking for.<br clear="none">>  <br clear="none">> Bill<br clear="none">>  <br clear="none">> <br clear="none">> <br clear="none">> *From:*Spce-user [mailto:<a shape="rect" ymailto="mailto:spce-user-bounces@lists.sipwise.com" href="mailto:spce-user-bounces@lists.sipwise.com" id="yui_3_16_0_1_1435250339269_3175">spce-user-bounces@lists.sipwise.com</a>] *On Behalf<br clear="none">> Of *H Yavari<br clear="none">> *Sent:* Wednesday, June 24, 2015 11:06 PM<br clear="none">> *To:* Spce-user<br clear="none">> *Subject:* [Spce-user] Asterisk Load Balancing<br clear="none">>  <br clear="none">> Hi,<br clear="none">>  <br clear="none">> I'm trying to use NGCP for load balancing about 10 Asterisk server. It<br clear="none">> is possible? Are there any doc? or any body can share his experience<br clear="none">> with me?<br clear="none">>  <br clear="none">> Thanks for help.<br clear="none">>  <br clear="none">> Regards,<br clear="none">> H.Yavari<br clear="none">> <br clear="none">>   <br clear="none">> <br clear="none">>  <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> _______________________________________________<br clear="none">> Spce-user mailing list<br clear="none">> <a shape="rect" ymailto="mailto:Spce-user@lists.sipwise.com" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br clear="none">> <a shape="rect" href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><div class="qtdSeparateBR"><br><br></div><div class="yqt5227653798" id="yqtfd54097"><br clear="none">> <br clear="none">_______________________________________________<br clear="none">Spce-user mailing list<br clear="none"><a shape="rect" ymailto="mailto:Spce-user@lists.sipwise.com" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br clear="none"><a shape="rect" href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br clear="none"></div></div><br><br></div> </div> </div>  </div></body></html>