NatHelper

Last modified by Buildbot on 2021/08/10 04:38

 Documentation based on repostory git version commit 2.0.8 

Module NatHelper

The NatHelper module executes small tasks to make SIP work smoothly despite firewalls. It corrects the Contact headers that contain obviously inconsistent addresses, and adds a Record-Route to ensure subsequent requests are routed also by the proxy, through the same UDP or TCP channel used for the initial request.
----

Configuration options:

NameDescriptionDefault ValueType
enabled

Indicate whether the module is activated.

 trueBoolean
filter

A request/response enters module if the boolean filter evaluates to true. Ex: from.uri.domain contains 'sip.linphone.org', from.uri.domain in 'a.org b.org c.org', (to.uri.domain in 'a.org b.org c.org') && (user-agent == 'Linphone v2')

 BooleanExpr
contact-verified-param

Internal URI parameter added to response contact by first proxy and cleaned by last one.

 verifiedString
fix-record-routes

Fix record-routes, to workaround proxies behind firewalls but not aware of it.

 falseBoolean
fix-record-routes-policy

Policy to recognize nat'd record-route and fix them. There are two modes: 'safe' and 'always'

 safeString