[OpenSIPS-Users] load_balancer

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Apr 4 10:16:24 CEST 2012


Hi,

Of course, use the logic I mentioned only for INVITE request, not for 
REGISTERs - you can do different routing logics depending on the method.

Regards,
Bogdan

On 04/04/2012 09:49 AM, Miha wrote:
> Hi Bogan,
>
> that is a bit tricky as phones are registering on Opensips server. If 
> I make this that the phones will not register as FSs servers are on 
> different ips than SBC.
>
> What would you sugget?
>
> Regards,
> Miha
>
> On 4/2/2012 6:30 PM, Bogdan-Andrei Iancu wrote:
>> Hi Miha,
>>
>> Well, in your script, when dealing with the initial requests, just 
>> look at the source IP of the INVITEs - if from SBC, do the lb stuff, 
>> otherwise route it back to SBC.
>>     if (src_ip==11.22.33.44) {
>>         # do LB
>>     } else {
>>          # send to SBC
>>     }
>>
>> Regards,
>> Bogdan
>>
>> On 04/02/2012 09:30 AM, Miha wrote:
>>> Hi,
>>>
>>> as I am dealing with opensips for the first time I would ask you for 
>>> a little help.
>>> I have installed and configured opensips that works like 
>>> load_balancer 
>>> (http://wiki.freeswitch.org/wiki/Enterprise_deployment_OpenSIPS).
>>>
>>> I tested it and works. Than I have created siptrunk and point it to 
>>> Opensips. Opensips was balacing the calls to one of the FSs, that I 
>>> have set in opensips configuration.
>>>
>>> How can I now configure opensips, if the call is made from FS, that 
>>> opensips will send it to SBC (from where sip trunk is made), so that 
>>> the calls will be working in both direction?
>>>
>>>
>>> Thanks!
>>>
>>> Miha
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>
>>
>


-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com




More information about the Users mailing list