This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cookbooks:4.4.x:core [2016/05/19 00:38] jan [Values] |
cookbooks:4.4.x:core [2016/06/22 19:16] miconda |
||
---|---|---|---|
Line 1007: | Line 1007: | ||
+ | ==== log_engine_data ==== | ||
+ | Set specific data required by the log engine. See also the **log_engine_type**. | ||
+ | |||
+ | <code c> | ||
+ | log_engine_type=" | ||
+ | log_engine_data=" | ||
+ | </ | ||
+ | |||
+ | ==== log_engine_type ==== | ||
+ | |||
+ | Specify what logging engine to be used and its initialization data. A logging engine is implemented as a module. Supported values are a matter of the module. | ||
+ | |||
+ | For example, see the readme of **log_custom** module for more details. | ||
+ | |||
+ | <code c> | ||
+ | log_engine_type=" | ||
+ | log_engine_data=" | ||
+ | </ | ||
==== log_facility ==== | ==== log_facility ==== | ||
Line 2259: | Line 2277: | ||
==== force_rport ==== | ==== force_rport ==== | ||
- | Force_rport() adds the rport parameter to the first Via header of the received message. Thus, Kamailio will add the received | + | force_rport() adds the rport parameter to the first Via header of the received message. Thus, Kamailio will add the received port to the top most Via header in the SIP message, even if the client does not indicate support for rport. This enables subsequent SIP messages to return to the proper port later on in a SIP transaction. |
- | This is useful for NAT traversal, to enforce symmetric response | + | This is useful for NAT traversal, to enforce symmetric response |
- | The rport parameter is defined in RFC 3581. | + | The rport parameter is defined in [[https:// |
- | Note: there is also a force_rport parameter which changes the gobal behavior | + | Note: there is also a force_rport parameter which changes the global behaviour |
Example of usage: | Example of usage: | ||
force_rport(); | force_rport(); | ||
- | |||
==== add_rport ==== | ==== add_rport ==== | ||
Alias for force_rport(); | Alias for force_rport(); |