Hello,
it looks like you have a symmetric nat router, so the allocated port is
randomly selected.
If you don't control the nat router to set a static forwarding rule or
it doesn't provide the option to set static forwarding, then you are
pretty much left with sniffing the traffic to discover the
Hello,
I finally were able to run my Kamailio behind NAT but in order to
accomplish that I included:
listen=udp:SOURCE-IP:5060 advertise PUBLIC-IP:52548
52548 is the port my internet router change when doing NAT (5060->52548). I
found this port sniffing traffic
Conclusions at this point are:
-
When you are running Kamailio behind a NAT you should use advertise
parameter of listen address. According to documentation " A typical use
case for advertise address is when running SIP server behind a
NAT/Firewall, when the local IP address (to be used for bind) is different
than the public IP ad
Hello,
can you get the SIP trace with all the packets of such dialog outside of
the NAT router? It will help to see the headers and based on that we may
be able to provide a solution.
Cheers,
Daniel
On 12/01/16 19:13, Nelson Migliaro wrote:
> Thank you for your answer.
>
> The problem I have is
Thank you for your answer.
The problem I have is with internet router doing to PAT to SIP port.
I am already advertising public IP but unfortunately I cant know the public
port I am using.
2015-12-28 18:17 GMT+01:00 Alexandru Covalschi <568...@gmail.com>:
> AFAIK bye is usually sent to the addre
AFAIK bye is usually sent to the address stored in record_route. Try
setting changing record_route() to
record_route_preset("PUBLICIP:5060;nat=yes:)
2015-12-23 16:28 GMT+02:00 Nelson Migliaro :
>
> Hello,
>
> I am running Kamailio behind NAT.
>
> Kanailio has a private IP and I am relaying NAT to