<div dir="ltr"><br><div class="gmail_extra">On 25 June 2015 at 07:05, H Yavari <span dir="ltr"><<a href="mailto:hyavari@rocketmail.com" target="_blank">hyavari@rocketmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Arabic Transparent,Arial;font-size:13px"><div>Hi,</div><div><br></div><div dir="ltr">I'm trying to use NGCP for load balancing about 10 Asterisk server. It is possible? Are there any doc? or any body can share his experience with me?</div></div></div></blockquote><div><br></div><div>You can do this by creating a single subscriber for the Asterisk servers, and create Permanent  Registrations for each server, and under this Subscriber -> Preferences -> Internal -> select serial_forking_by_q_value option. <br><br></div><div>By default when you create the Permanent registrations, they are each given a Priority (q-value) of 1. This will mean that the outbound calls to this subscriber will be round-robin load balanced, and if a host is down the next will be attempted. You could also have some servers with a lower q-value so that they would not be tried unless all the higher priority ones are down.<br><br></div><div>If you are doing it this way, just make sure that the Asterisk boxes do not register to NGCP, as it is not required.<br><br></div><div>Hope this helps.<br><br></div><div>-Barry<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Arabic Transparent,Arial;font-size:13px"><div dir="ltr"><br></div><div dir="ltr">Thanks for help.</div><div dir="ltr"><br></div><div dir="ltr">Regards,</div><div dir="ltr">H.Yavari<br></div><pre><br></pre><div><br></div></div></div><br>_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user" rel="noreferrer" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
<br></blockquote></div><br></div></div>