Forums Read-only archive

Force Nat traversal for internal ip addresses

2 posts · Brekeke SIP Server Forum

tschaikowskinksi Original post
1. Brekeke Product Name and version:
2.4.8.6
2. Java version:

3. OS type and the version:
Linux
4. UA (phone), gateway or other hardware/software involved:
PhonerLite
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :6

6. Your problem:
We have a vpn connection to SIP-Server but that connection is firewalled to allow only incoming traffic (UA -> SIP Server).

Is it possible to enable nat traversal (OPTION OK pinging) also for private address ranges? For that would keep a connection open and will permit incoming calls to UA (SIP Server -> UA).

Thanks Marco
Harold
> Is it possible to enable nat traversal (OPTION OK pinging) also for
> private address ranges?


Yes. It will be a solution.
Tune the interval period at the [Configuration] > [SIP] -> [NAT traversal] to meet the requirement.

If the SIP server doesn't treat these UA as behind-NAT, add the following DialPlan rule.
---------------------------
[Matching Patterns]
$request = ^REGISTER

[Deploy Patterns]
&register.contact.nat = true
$continue = true

---------------------------


Another solution is .. set a shorter value as register period at UA settings.