Open dsmaldone opened 4 years ago
Hi @dsmaldone,
We have clients that use routed private networks (with no NAT) pointing to KamUsers. This means that SIP requests containing RFC1918 arrive to KamUsers on no-NAT scenario.
Adding '8' flag to nat_uac_test would detect NAT on these scenarios, that's why we just use 2+16 (source IP:PORT vs Via IP:PORT).
In your scenario current implementation should detect NAT too, doesn't it?
Regards,
HI @cruzccl, It works for the SIP protocol, but it's not working for the RTP stream. Without this edit, RTP stream is sent to ATA private IP. Anyway, my suggestion here is to add a toggle or/switch for enabling it in the GUI. This feature will help people not able to dig into the code to solve this kind of issue
Regards
Hi @cruzccl I am testing on an AWS VM. It has a local IP and through NAT it has a public IP. SIPs communicate perfectly but RTP does not. The call has no audio. The RTP packets from the client go out with the destination IP which is the local one of the server. Do you have a possible solution? Thanks
Hi guys, I discovered in some situations like this
<IvoZ public IP>---INTERNET---<PPoE router with public IP>---<Internal router private IP>---<ATA private IP>
it is better to change test from 18 to 26 in this part of /etc/kamailio/proxyusers/kamailio.cfg
with
so in the header of the related file I would also add
Would like to know your thoughts about