[OpenSIPS-Users] Limit the number of ongoing sessions at an RTP proxy
Bogdan-Andrei Iancu
bogdan at opensips.org
Wed Jan 9 20:05:56 CET 2013
Hi Chen-Che,
The rtpproxy cannot help you with such an algorithm. It knows which rtpp
are alive, but has no clue on the load.
What you could try is to use rtpproxy in combination with dialog. Put
each rtpp in a different rtpp set and make each set to correspond to a
dialog profile - use dialog profiles to keep the load and select the
rtpp set from script.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 01/09/2013 05:44 PM, microx wrote:
> Hi Bogdan-Andrei,
>
> Thanks for your reply. I am sorry that I did not state my problem clearly.
>
> In my scenario, one SIP server communicates with 10 RTP proxies. When
> receiving
> an INVITE request, the SIP server will look for one RTP proxy satisfying the
> following criteria
> 1) the RTP proxy is alive
> 2) the number of processing sessions at the proxy is smaller than a
> predefined threshold (e.g. 1000 sessions).
> If no such an RTP proxy is available, the SIP server will decline the INVITE
> request.
>
> Because I have to know the number of processing sessions at each RTP proxy,
> I cannot simply use rtpproxy_offer() to let OpenSIPS select one alive RTP
> proxy for me. On the other hand, although I can know
> the number of processing sessions at each RTP proxy with the dialog module,
> I don't know that one RTP proxy is alive or down. Thus, I have no idea how
> to write the corresponding opensips.cfg to solve my problem.
>
> Regarding nh_show_rtpp, my understanding is that this can display the status
> on the console rather than allow me to solve my issue with the required
> configuration.
>
> My English writing is not good. Sorry for any vague sentences. Thanks for
> any help.
>
> 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-tp7583762p7583832.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
>
More information about the Users
mailing list