Hi, 

Nothing to my knowledge about RFC's around port selection, but best practice is to use high numbered ports in UDP to not cause any clashes. 

If you use RTPengine with your Kamailio setup you can manage the port range via the rtpengine.conf file.
Specifically the options:
port-min = 10000
port-max = 20000

It's important to note that Kamailio doesn't touch RTP itself and the port selection is done by what is handling the RTP. So your carrier selects return port (your egress) and the media handler selects your ports (ingress)

For example - if I were using Kamailio as a proxy and used FreeSWITCH behind it, RTP port selection would be selected by the FreeSWITCH itself. 

Thanks,

John.

On Fri, 8 Dec 2023 at 11:04, ZZ Wave via sr-users <sr-users@lists.kamailio.org> wrote:
Hello.

I have some rant with network security dept. Is there some standard, RFC, what port range should be used for RTP traffic, how RTP ports are selected during SIP call negotiation?

Thanks.
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe: