[OpenSIPS-Users] Load_Balancing

Vadim Dumalekov vadimd333 at me.com
Thu Sep 8 10:43:37 UTC 2022


Thank you for the answer!

Yes, of cource. But there is this situation:

UAC (INVITE w/o auth)  ->  OpenSIPS (LB: Ast_1)  ->  Ast_1 (401 Unauth)
UAC (INVITE with auth)  ->  OpenSIPS (LB: Ast_2)  ->  Ast_2 (401 Unauth)

... etc, until LB selects the same Asterisk for two INVITE`s (w/o auth and with auth).


Vadim

> 8 сент. 2022 г., в 12:16, Bogdan-Andrei Iancu <bogdan at opensips.org> написал(а):
> 
> Hi Vadim,
> 
> If you have a cluster of ASterisk servers, each box from the cluster should be able to handle the auth response, even if the challenge was done by a different one. Otherwise it is not a cluster, but a bunch of servers.
> 
> Regards,
> 
> Bogdan-Andrei Iancu
> 
> OpenSIPS Founder and Developer
>  https://www.opensips-solutions.com
> OpenSIPS Summit 27-30 Sept 2022, Athens
>  https://www.opensips.org/events/Summit-2022Athens/
> 
> On 9/7/22 3:52 PM, Vadim Dumalekov via Users wrote:
>> Hello!
>> 
>> Please help me. I'm using the Load_Balancer module for the incoming calls to an Asterisk cluster. When an INVITE is sent to one of the Asterisks, we receive the "401 Unauthorized" message from that server. But when UAC sends the INVITE with the authorization, the LB-module sends it to another Asterisk. Sometimes it happens multiple times.
>> 
>> 
>> Thanks in advance!
>> 
>> Vadim.
>> 
>> 
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list