[Spce-user] Asterisk Load Balancing

H Yavari hyavari at rocketmail.com
Thu Jun 25 12:45:21 EDT 2015


Hi,
Thanks for your attention. With your solution, if one of peers goes down, SPCE will notice about it? 50-50 distribution means round robin?
Regards,H.Yavari
      From: Daniel Grotti <dgrotti at sipwise.com>


Hi,
well best way would be to set up a kamailio stateless proxy for that.
But if you want to use SPCE, you can add your Asterisk boxes as SIP
Peering, then you can forward all the calls from NGCP to you SIP
peering, or from another INCOMING PEERING to your asterisk boxes (just
enable the "peer_relay").


You can configure you peering groups with different Priority and inside
your peering servers with differente weights.
The weights just tell you the probability that certain peer will be
selected. So if you want to do a 50-50 distribution, just give the same
weights to all your peerings.




--
Daniel Grotti
VoIP Engineer


Sipwise GmbH
Europaring F15 | 2345 Brunn am Gebirge, Austria | www.sipwise.com

On 06/25/2015 09:28 AM, H Yavari wrote:
> Hi,
> 
> Thank you for reply. But in your solution, first sever will be selected
> in many times.
> In your solution, NGCP will detect that one of Asterisk server is down?
> it is possible to route calls based on lowest number of calls?
> 
> Regards,
> 
> ------------------------------------------------------------------------
> *From:* William Fulton <wfulton at thirdhatch.com>
> 
> 
> You should be able to accomplish this simply by registering multiple
> asterisk servers to your SPCE.  Then, on the asterisk servers set a
> channel limit in the trunk config.  This will force the SPCE to send
> calls to the next server in priority.  If you do this with each server,
> this should get you the results you are looking for.
>  
> Bill
>  
> 
> 
> *From:*Spce-user [mailto:spce-user-bounces at lists.sipwise.com] *On Behalf
> Of *H Yavari
> *Sent:* Wednesday, June 24, 2015 11:06 PM
> *To:* Spce-user
> *Subject:* [Spce-user] Asterisk Load Balancing
>  
> Hi,
>  
> 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?
>  
> Thanks for help.
>  
> Regards,
> H.Yavari
> 
>  
> 
>  
> 
> 
> 
> 
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user


> 
_______________________________________________
Spce-user mailing list
Spce-user at lists.sipwise.com
https://lists.sipwise.com/listinfo/spce-user


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20150625/650032cb/attachment-0001.html>


More information about the Spce-user mailing list