[OpenSIPS-Users] Need some suggestion or help in case of webrtc connection with opensips .
Ihor Olkhovskyi
igorolhovskiy at gmail.com
Thu Mar 21 09:01:05 UTC 2024
Hi,
Just use drop() function in a case of reaching the limit.
Le mer. 20 mars 2024 à 13:49, Sasmita Panda <spanda at 3clogic.com> a écrit :
> Hi ,
>
> Thank you for your suggestion . I will try that . just to clarify did you
> mean that will drop the wss connection of that user ?
>
>
> *Thanks & Regards*
> *Sasmita Panda*
> *Senior Network Testing and Software Engineer*
> *3CLogic , ph:07827611765*
>
>
> On Wed, Mar 20, 2024 at 6:05 PM Ihor Olkhovskyi <igorolhovskiy at gmail.com>
> wrote:
>
>> Hi!
>>
>> You can try to use something like cachedb module (for autoexpiry) with
>> name of the key like "username_timestamp" and increment it in a case of
>> value exists. And if value is above some threshold - drop further
>> connections.
>>
>> Cheers,
>> Ihor
>>
>> Le mar. 19 mars 2024 à 12:05, Sasmita Panda <spanda at 3clogic.com> a
>> écrit :
>>
>>> Hi All ,
>>>
>>> I have opensips 3.2 version with webrtc configured . I just got an issue
>>> in production that one browser is trying to establish multiple connections
>>> frequently which overloads my server which has the impact that other
>>> browsers are not able to establish a single connection at some points .
>>>
>>> Is this possible? I can limit the number of websocket connections per
>>> user (here the user has a unique username which I used to save as contact
>>> in the location table ) so that the server will reject the connection above
>>> that ?
>>>
>>> Please do suggest . Your help is appreciated .
>>>
>>> *Thanks & Regards*
>>> *Sasmita Panda*
>>> *Senior Network Testing and Software Engineer*
>>> *3CLogic , ph:07827611765*
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>
>>
>> --
>> Best regards,
>> Ihor (Igor)
>> _______________________________________________
>> 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
>
--
Best regards,
Ihor (Igor)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240321/fbb30c76/attachment.html>
More information about the Users
mailing list