You'll need to use an rtp proxy such as rtpengine or rtpproxy for
this.
This is a great example of when you need an rtp proxy outside of NAT.
--
Fred Posner
fred@palner.com
https://www.palner.com
Need Fred? Call Fred. 336-HEY-FRED
Matrix: @fred:matrix.lod.com
On Mon, 2020-04-27 at 09:10 -0700, hugues wrote:
> Hello
> I'm trying to run Kamailio in front of an asterisk server due to
> security
> issues. Both servers have a public ip address. It works fine but the
> RTP
> voice traffic goes directly from the VOIP client to the asterisk
> server
> without going through the kamailio server. I want to shut down the
> asterisk
> server so that it only talks to the kamailio server.
>
> UA -> Kamailio public IP addr <-> Asterisk public ip addr
>
> How do I force RTP traffic to go through kamailio. Apparently I
> don't have
> NAT so I don't need rtpproxy. But you need something that relays
> RTP
> traffic?
> If anyone has an idea I'll take it.
> Thank you for your help.
> Hugues.
>
>
>
> --
> Sent from:
http://sip-router.1086192.n5.nabble.com/Users-f3.html
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users