Try to remove the public IP from your Asterisk Box, this will even provide additional security. Then install RTPEngine, configure the RTP Engine accordingly, setup NAT to your Kamailio configuration and try. the following URLs are very good info on how to integrate everything: http://www.evaristesys.com/blog/server-side-nat-traversal-with-kamailio-the-definitive-guide/
https://blog.voipxswitch.com/2015/08/11/rtpengine-with-kamailio-as-load-balancer-and-ip-gateway/ Hope this helps! *Sérgio Charrua* *www.voip.pt <http://www.voip.pt/>* Mobile: +351 91 <callto:+351+91+104+12+66>631 11 44 Email : *[email protected] <[email protected]>* Esta mensagem e quaisquer ficheiros anexos a ela são confidenciais e destinam-se a uso exclusivo da pessoa ou entidade a quem são dirigidos. Se, por lapso, recebeu este e-mail, não o deverá revelar, copiar ou distribuir a terceiros. É favor alertar de imediato o remetente e eliminar a mensagem juntamente com os documentos anexados. On Mon, Apr 27, 2020 at 8:06 PM hugues <[email protected]> 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 > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
