I’m having an rtp port leak problem since going to 11.23.0. We had been running version 4 for about 6+ years with no issues, we recently upgraded to 11.23.0 (new server hardware, new firewall etc) and yesterday all 10,000 RTP ports I have allocated, depleted with the message;
res_rtp_asterisk.c: Oh dear… we couldn’t allocate a port for RTP instance
I was forced to restart Asterisk in the middle of the day, this cleared up the ports. I can now see new rtp ports are slowly starting to hang around again.
This system has 4300+ phones and makes around 10,000 calls per day. The server had been up and running for about 6 weeks with nearly 500K calls processed, so the hanging process is quite slow. I have directrtp setup so the server itself does not participate in many of the calls (just ones like VM etc).
Curious if this is a bug or config issue? My config did not change much from my 1.4 version with the exception of adding the directrtp for all non-natted devices.