[OpenSIPS-Users] Load Balancing Using OpenSIPS

Faisal Rehman faisal.rehman22 at yahoo.com
Tue Sep 13 11:11:01 CEST 2011


Hi Andrew,

Okay thanks I hope it will help me, by the way did you implement standard load balancing (with Database), I am just asking because I may need your help in the coming days. I am working on load balancing involving PSTN.


Regards,

Faisal Rehman 


________________________________
From: Andrew Pogrebennyk <apogrebennyk at sipwise.com>
To: Faisal Rehman <faisal.rehman22 at yahoo.com>; OpenSIPS users mailling list <users at lists.opensips.org>
Sent: Tuesday, September 13, 2011 1:12 PM
Subject: Re: [OpenSIPS-Users] Load Balancing Using OpenSIPS

On 09/13/2011 10:05 AM, Faisal Rehman wrote:
> 
> Thanks for your prompt response, yeah I have seen that table specified
> only for the load balancing work in opensips database, but I got a task
> to do load balancing without any database involvement, so is that
> something I can do?

In that case you would have to hardcode the IP addresses in the config file which is not very nice. Alternatively, you could use a simple file-based dbtext database like:

id(int,auto) setid(int) destination(str) priority(int) flags(int) description(str)
1:1:sip\:10.0.0.1\:5060:1:0:box1
2:2:sip\:10.0.0.2\:5060:1:0:box2

OpenSIPS works with that just like with a normal SQL DB.
Regards,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110913/4647743e/attachment-0001.htm>


More information about the Users mailing list