Are you getting the error first time when you reach first 1900 sessions? Or after a while, after some previous sessions are ended?

Cheers,
Daniel

On 14/11/16 11:19, Gholamreza Sabery wrote:
I already set these parameters:

rtpproxy -m 5000 -M 65000

As well limits for number of open files are set to 1000000 (ulimit -n). When I increased log level of RTPProxy I saw:
ERR:create_twinlistener:GENERAL: can't create IPv4 socket: Too many open files in system


On Mon, Nov 14, 2016 at 1:46 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:

Hello,

first thing to look at is the port range. There are some parameter that you can provide to rtpproxy in command line in order to increase the range of port it can use -- see 'rtpproxy -h' or 'man rtpproxy'.

Cheers,
Daniel


On 14/11/16 11:14, Gholamreza Sabery wrote:
Dear Daniel:

I used a single RTPProxy instance. RTPProxy version = 20040107. And yes there was traffic for all calls but traffic is one-way. One leg sends the call and the other just receives it.

On Mon, Nov 14, 2016 at 1:40 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:

Hello,

have you used a single rtpproxy instance? Was there RTP traffic for all 1900 calls? Is this with rtpproxy 1.2 or 2.0?

Cheers,
Daniel


On 14/11/16 10:44, Gholamreza Sabery wrote:
I managed to create about 1900 concurrent calls using a single Kamailio and RTPProxy server. But after this number RTPProxy returns 0 and the following error is shown in the Kamailio log files:

incorrect port 0 in reply from rtp proxy

What is the problem here? Also number of file descriptors that RTPProxy can use are set to a million.



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com
-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com