[SR-Users] RTP relay

Sergio Charrua sergio.charrua at voip.pt
Mon Apr 27 22:05:57 CEST 2020


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 : *sergio.charrua at voip.pt <sergio.charrua at voip.pt>*
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 <huguesmax at gmail.com> 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 at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200427/6c12346d/attachment.html>


More information about the sr-users mailing list