[OpenSIPS-Users] ERROR:mediaproxy:use_media_proxy: insufficient ports returned from mediaproxy: got 1, expected 2

Raúl Alexis Betancor Santana rabs at dimension-virtual.com
Fri Oct 16 10:34:50 CEST 2009


On Viernes, 16 de Octubre de 2009 07:37:27 Krunal Patel escribió:
> Hello,
>
> I have given 10000:20000 port range in mediaproxy.
> We are having almost 1500 registered users.
> Even few of them are behind NAT.
> So logically there can be maximum 3000 open ports.

No so "logically" ... take into account that a call may have more than  1 RTP 
stream, also take into account that usually if there is re-invites during the 
call, new ports are needed, not to mention that when a port is "closed" by 
mediaproxy, may be marked by the kernel as "not available" during some time.

> Would you please let me know what else can be the cause of the issue?
> Meanwhile, I am checking the source code, If I could find anything helpful.

As mediaproxy now uses conntrack rules for doing RTP forwarding, try to use 
conntrack to check how many rules are inserted and are live on your system 
when the error occurs.

-- 
Raúl Alexis Betancor Santana
Dimensión Virtual S.L.



More information about the Users mailing list