niel
>
>
>
> Ben Kaufman
> ben.kauf...@altigen.com
>
>
>
> -Original Message-
> From: Daniel-Constantin Mierla
> Sent: Tuesday, March 24, 2020 10:47 AM
> To: Ben Kaufman ; Kamailio (SER) - Users Mailing
> List ; Juha Heinanen
> Subject: Re: [
AT if using TCP.
Ben Kaufman
ben.kauf...@altigen.com
-Original Message-
From: Daniel-Constantin Mierla
Sent: Tuesday, March 24, 2020 10:47 AM
To: Ben Kaufman ; Kamailio (SER) - Users Mailing List
; Juha Heinanen
Subject: Re: [SR-Users] about kamailio.cfg NAT test
Yes, tcp
ies to be to the
> source port?
>
> Ben Kaufman
>
>
> -Original Message-
> From: sr-users On Behalf Of
> Daniel-Constantin Mierla
> Sent: Tuesday, March 24, 2020 9:01 AM
> To: Kamailio (SER) - Users Mailing List ; Juha
> Heinanen
> Subject: Re: [SR-Users
: [SR-Users] about kamailio.cfg NAT test
Hello,
this is the test to detect devices behind NAT that use STUN, so they discover
properly the public IP of the NAT router, but the port allocation is different
for STUN and SIP traffic.
If you have an asymmetric signalling client, then this test
Hello,
this is the test to detect devices behind NAT that use STUN, so they
discover properly the public IP of the NAT router, but the port
allocation is different for STUN and SIP traffic.
If you have an asymmetric signalling client, then this test is not
useful -- actually nat traversal cannot
In kamailio/etc/kamailio.cfg NAT test is based on nat_uac_test("19").
19 includes test 16:
16 - Test if the source port is different from the port in the “Via”
header. If the “Via” header contains no port, it uses the default SIP
port 5060
Based on a couple of tests using baresip, looks