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?
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@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@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
I should point out proxying rtps and having asterisk in a private network is better security-wise, since only kamailio can reach it and you control kamailio.
On Thu, 17 Dec 2020 at 11:14, David Villasmil < david.villasmil.work@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@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@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
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@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@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@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
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+6621 130 71 77
Email : *sergio.charrua@voip.pt sergio.charrua@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@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@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@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@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
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@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+6621 130 71 77
Email : *sergio.charrua@voip.pt sergio.charrua@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@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@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@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@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
This might help you as a starting point.
https://github.com/davidcsi/kamailio-private-public
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
On Thu, Dec 17, 2020 at 1:20 PM Mihai Cezar cezar@mokalife.ro wrote:
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@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+6621 130 71 77
Email : *sergio.charrua@voip.pt sergio.charrua@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@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@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@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@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Personally I use NATHelper and RTPEngine modules
RTPEngine, afaik, is the latest and upgraded version of RTPProxy (please, anyone correct me if that is not the case)
*Sérgio Charrua*
*www.voip.pt http://www.voip.pt/* Tel.: +351 callto:+351+91+104+12+6621 130 71 77
Email : *sergio.charrua@voip.pt sergio.charrua@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 1:21 PM Mihai Cezar cezar@mokalife.ro wrote:
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@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+6621 130 71 77
Email : *sergio.charrua@voip.pt sergio.charrua@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@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@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@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@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
On 17/12/2020 09.00, Sergio Charrua wrote:
Personally I use NATHelper and RTPEngine modules
RTPEngine, afaik, is the latest and upgraded version of RTPProxy (please, anyone correct me if that is not the case)
They serve a similar purpose, but they're unrelated products and rtpengine is not based on rtpproxy at all.
Cheers
Thanks for the details, Richard
*Sérgio Charrua*
*www.voip.pt http://www.voip.pt/* Tel.: +351 callto:+351+91+104+12+6621 130 71 77
Email : *sergio.charrua@voip.pt sergio.charrua@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 2:32 PM Richard Fuchs rfuchs@sipwise.com wrote:
On 17/12/2020 09.00, Sergio Charrua wrote:
Personally I use NATHelper and RTPEngine modules
RTPEngine, afaik, is the latest and upgraded version of RTPProxy (please, anyone correct me if that is not the case)
They serve a similar purpose, but they're unrelated products and rtpengine is not based on rtpproxy at all.
Cheers
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Try to make a call to the device behind double NAT (home WiFi router + carrier NAT).
On Thu, Dec 17, 2020 at 2:09 PM Mihai Cezar cezar@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@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users