[OpenSIPS-Users] Loadbalancer for Registrations and calls

Kevin Kennedy kennedy4260 at gmail.com
Mon Oct 31 20:00:17 UTC 2022


I am pretty new to Opensips, so maybe I am not understanding what you mean
by hashing.  The only place I see hashing is on the dispatcher module


On Mon, Oct 31, 2022 at 12:44 PM Giovanni Maruzzelli <gmaruzz at gmail.com>
wrote:

> We all understood what you are doing and why
>
> It's just that... the answer is inside you! And it's wrong :) (famous
> quote from an Italian comedian)
>
> answered from mobile, please pardon terseness and typos,
> -giovanni
>
> On Mon, Oct 31, 2022, 20:41 Kevin Kennedy <kennedy4260 at gmail.com> wrote:
>
>> Thank you all for your responses.  Maybe I am going about this all
>> wrong.  Maybe I can explain it better with a drawing of what I am trying to
>> do.  I am trying to front end customers with Opensips to Load balance
>> Registrations to 4 different SBC's.  These SBC's will have their own
>> Registration cache and pass the Registration to the Application servers.  I
>> need Opensips to send the INVITE/SUBSCRIBE to the SBC that it has sent the
>> Registration to in order to match the Registration cache in that device.
>> The only way I saw to do this was with Mid-Registrar and Dispatcher since
>> Loadbalancer would not handle Registrations/Subscribes, etc.
>>
>> [image: image.png]
>> Hopefully that can explain what I am trying to do better and help you
>> understand what I am trying to accomplish.
>>
>> Thank you
>>
>> Kevin
>>
>> On Mon, Oct 31, 2022 at 6:07 AM Giovanni Maruzzelli <gmaruzz at gmail.com>
>> wrote:
>>
>>> On Mon, Oct 31, 2022 at 1:59 PM Giovanni Maruzzelli <gmaruzz at gmail.com>
>>> wrote:
>>>
>>>>
>>>> You can use the hashing Bogdan proposed, so ds_select will go to the
>>>> same machine because it gets the same result from hashing the same input.
>>>> In this case, you must find "something" (eg a cleaned TO for register and a
>>>> cleaned FROM for INVITE)
>>>>
>>>
>>> or cleaned TO and cleaned TO, for inbound calls
>>>
>>> -giovanni
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20221031/ec873529/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 42529 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20221031/ec873529/attachment-0001.png>


More information about the Users mailing list