NatHelper
Last modified by Buildbot on 2020/10/14 05:26
Documentation based on repostory git version commit 2.0.0-7-g5aa90994
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:
Name | Description | Default Value | Type |
---|---|---|---|
enabled | Indicate whether the module is activated. | true | Boolean |
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. | verified | String |
fix-record-routes | Fix record-routes, to workaround proxies behind firewalls but not aware of it. | false | Boolean |
fix-record-routes-policy | Policy to recognize nat'd record-route and fix them. There are two modes: 'safe' and 'always' | safe | String |