Table of Contents
List of Examples
Table of Contents
This module offers topology hiding by stripping the SIP routing headers that show topology details. The script interpreter gets the SIP messages with full content, so all existing functionality is preserved.
The module is transparent for the configuration writer. It only needs to be loaded (tune the parameters if needed).
It works for SIP MESSAGE requests.
The following modules must be loaded before this module:
rr module - server must perform record routing to ensure in-dialog requests are encoded/decoded.
database module - to store the data for topology stripping and restoring.
Database URL.
Default value is “mysql://kamailio:kamailiorw@localhost/kamailio”.
Example 1.1. Set db_url
parameter
... modparam("topos", "db_url", "dbdriver://username:password@dbhost/dbname") ...
Note: this functionality is not implemented yet - the parameter is present in order to be in pair with topoh module.
Whether to replace or not the Call-ID with another unique id generated by Kamailio.
Default value is 0 (do not mask).
If set to 1, topoh module will bind to sanity module in order to perform sanity checks over received SIP request. Default sanity checks are done. It is useful to check if received request is well formated before proceeding to encoding/decoding.
Default value is 0 (do not bind to sanity module).
Interval in seconds after which the branch records are deleted.
Default value is 180 (3 min).
Interval in seconds after which the dialog records are deleted.
Default value is 10800 (3 hours).