[OpenSIPS-Users] Loadbalancer for Registrations and calls
Bogdan-Andrei Iancu
bogdan at opensips.org
Fri Oct 28 11:03:06 UTC 2022
Hi Kevin,
You may try for REGISTERs to do hashing over TO uri and for INVITEs over
TO or RURI - so they may get to the same box.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
OpenSIPS Bootcamp 5-16 Dec 2022, online
https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/
On 10/25/22 1:13 AM, Kevin Kennedy wrote:
> Yes that is correct. Trying to send the INVITE to the same dispatcher
> destination that the Registration is at.
>
> I will check the Call-ID based dispatching algorithm
>
> Thank you.
> Kevin
>
> On Mon, Oct 24, 2022 at 8:50 AM Bogdan-Andrei Iancu
> <bogdan at opensips.org <mailto:bogdan at opensips.org>> wrote:
>
> Hi Kevin
>
> 1) use the call-id based dispatching alg, so the INVITE with
> credentials will get sent to the same destination
>
> 2) yes, mid-register (as register SIP mechanism) is allows the UA
> to receive calls only, it is not related to handling the outbound
> calls of the UA. I understand you try to get a call from A to B to
> be sent to the same dispatcher destination as the registers of B,
> right ?
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
> https://www.opensips-solutions.com <https://www.opensips-solutions.com>
> OpenSIPS Bootcamp 5-16 Dec 2022, online
> https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/ <https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/>
>
> On 10/21/22 10:28 PM, Kevin Kennedy wrote:
>> I believe I have mid_registrar somewhat working with dispatcher,
>> but I seem to have a coulple issues.
>>
>> 1) When I receive the 401 request the second authentication
>> INVITE is sending to another $ru host in the dispatcher instead
>> of the initial one it sent to.
>> 2) How do I send an outbound INVITE matching the registration
>> cache to the same $ru that it is Registered to.
>> mid_registrar_lookup uses the AOR instead of contact so it is
>> only allowing the Incoming INVITEs to reach the client.
>>
>> Thank ou.
>>
>> Thank you.
>>
>> On Fri, Aug 19, 2022 at 8:46 AM Alex <ayakimkin at gmail.com
>> <mailto:ayakimkin at gmail.com>> wrote:
>>
>> Hello,
>>
>> setup mid registrar easy with this instruction.
>> https://www.opensips.org/Documentation/Tutorials-MidRegistrar
>> <https://www.opensips.org/Documentation/Tutorials-MidRegistrar>
>> There is link to config
>>
>> But It relays every Registration request every 60sec on my
>> server. Please let me know if you could set up like on
>> picture in instruction.
>>
>>
>>
>>
>>
>> чт, 18 авг. 2022 г. в 18:37, Kevin Kennedy
>> <kennedy4260 at gmail.com <mailto:kennedy4260 at gmail.com>>:
>>
>> I am looking for a configuration to be able to front end
>> multiple SBC's to load balance Registrations and keep
>> track of them to send INVITE's to the corresponding SBC.
>>
>> I am thinking of using a combination of Dispatcher and
>> midregister, but not sure how to set this up correctly.
>>
>> Any thoughts?
>>
>> Thank you.
>>
>> Kevin
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>
>>
>>
>> --
>> С уважением,
>> Якимкин Алексей
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20221028/95242121/attachment-0001.html>
More information about the Users
mailing list