[SR-Users] Kamailio RTP proxy require?

Mihai Cezar cezar at mokalife.ro
Thu Dec 17 14:16:50 CET 2020


I do have kamailio an public IP and another nic with private IP that
connects to the Asterisk LAN.

@Sergey I tried that scenario with double NAT, and, it work it.

If i choose to go rtpproxy which modules should i load (nat_helper,
nat_traversal, rtpproxy) ?



On Thu, Dec 17, 2020 at 2:38 PM Sergio Charrua <sergio.charrua at voip.pt>
wrote:

> Another example of when to use RTPProxy / RTPEngine is:
>
> SIP user -> router -> INTERNET -> router / firewall -> Kamailio (private
> IP) -> Asterisk (private IP)
>
> Apart from the routers, all other equipments are private IPs, hence being
> NATed and requiring RTP Proxy / RTP Engine to forward RTP streams to the
> correct ports.
> As David Vilasmil points out, security wise, this is the best approach....
> but it is a PITA configuring and making all the services work correctly.
>
> *Sérgio Charrua*
>
>
> *www.voip.pt <http://www.voip.pt/>*
> Tel.: +351  <callto:+351+91+104+12+66>21 130 71 77
>
> Email : *sergio.charrua at voip.pt <sergio.charrua at voip.pt>*
>
> This message and any files or documents attached are strictly confidential
> or otherwise legally protected.
>
> It is intended only for the individual or entity named. If you are not the
> named addressee or have received this email in error, please inform the
> sender immediately, delete it from your system and do not copy or disclose
> it or its contents or use it for any purpose. Please also note that
> transmission cannot be guaranteed to be secure or error-free.
>
>
>
>
>
>
>
>
> On Thu, Dec 17, 2020 at 12:15 PM Sergey Safarov <s.safarov at gmail.com>
> wrote:
>
>> yes, if your asterisk has statically assigned (NAT-ed) public IP, then
>> you do not need RTPproxy.
>> RTP proxy required when both sides of the call do not have
>> statically assigned (NAT-ed) public IP.
>>
>> On Thu, Dec 17, 2020 at 2:33 PM David Villasmil <
>> david.villasmil.work at gmail.com> wrote:
>>
>>> It’s totally fine. Rtpengine is mainly used to also proxy rtp ie: public
>>> to private, etc. But if your asterisk is public, rtps will reach it, and
>>> you’re fine with it, go ahead
>>>
>>> On Thu, 17 Dec 2020 at 11:10, Mihai Cezar <cezar at mokalife.ro> wrote:
>>>
>>>> Hi,
>>>>
>>>> Can't figure it out when to use RTPproxy, i am forwarding everything to
>>>> asterisk in seem to work without RTPproxy.
>>>>
>>>> The scenario is like this:
>>>> Softphone -> INTERNET -> Kamailio - > Asterisk (private ip)
>>>>
>>>> Now it seems to work without any rtpproxy but is it ok?
>>>>
>>>> _______________________________________________
>>>> Kamailio (SER) - Users Mailing List
>>>> sr-users at lists.kamailio.org
>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>> --
>>> Regards,
>>>
>>> David Villasmil
>>> email: david.villasmil.work at gmail.com
>>> phone: +34669448337
>>> _______________________________________________
>>> Kamailio (SER) - Users Mailing List
>>> sr-users at lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> _______________________________________________
> 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/20201217/3afc7494/attachment.htm>


More information about the sr-users mailing list