NatHelper

Last modified by Buildbot on 2021/03/02 04:41

 Documentation based on repostory git version commit 2.0.3-17-gb23bcd9f 

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
enabledIndicate whether the module is activated. trueBoolean
filterA 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-paramInternal URI parameter added to response contact by first proxy and cleaned by last one. verifiedString
fix-record-routesFix record-routes, to workaround proxies behind firewalls but not aware of it. falseBoolean
fix-record-routes-policyPolicy to recognize nat'd record-route and fix them. There are two modes: 'safe' and 'always' safeString