[OpenSIPS-Users] Limit the number of ongoing sessions at an RTP proxy

Flavio Goncalves flavio at asteriskguide.com
Fri Jan 4 10:55:38 CET 2013


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 <acmicrox at gmail.com>

> 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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130104/56093300/attachment.htm>


More information about the Users mailing list