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 <[email protected]> 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 > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Best regards, Ihor (Igor)
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
