Hi Chen, You can use dialog profiles. Create a dialog for all calls, set a profile named rtpproxy each time you call the rtpproxy and then use get_profile_size to discover how many calls you already have. Drop after a certain limit.
Flavio E. Goncalves 2013/1/4 microx <[email protected]> > Hi all, > > I intend to set up an OpenSIPS server and a number of RTP proxies. To > guarantee the video quality, I would like to set an upper bound on the > number of ongoing video sessions per RTP proxy (e.g., each RTP proxy can > process 500 sessions at most simultaneously). The OpenSISP server will > maintain a variable for each RTP proxy and increment the corresponding > variable by 1 when an RTP proxy is invoked to offer the relaying service. > My > question is that how can I decrease the correct variable when a BYE request > (no SDP information) is received? Any suggestion is welcome. Thanks so > much. > > Best regards, > Chen-Che > > > > -- > View this message in context: > http://opensips-open-sip-server.1449251.n2.nabble.com/Limit-the-number-of-ongoing-sessions-at-an-RTP-proxy-tp7583762.html > Sent from the OpenSIPS - Users mailing list archive at Nabble.com. > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
