User Tools

Site Tools


cookbooks:5.2.x:core

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cookbooks:5.2.x:core [2019/03/27 20:26]
joelsdc [flags]
cookbooks:5.2.x:core [2019/10/30 09:54] (current)
Line 736: Line 736:
 ==== auto_bind_ipv6 ==== ==== auto_bind_ipv6 ====
  
-When turned on, Kamailio will automatically bind to all IPv6 addresses (much like the default behaviour for IPv4).+When turned on, Kamailio will automatically bind to all IPv6 addresses (much like the default behaviour for IPv4). Default value is off.
  
 Example: Example:
Line 867: Line 867:
  
 SIP message (transaction) flags can have string names. ​ SIP message (transaction) flags can have string names. ​
- * *namefor flags cannot be used for **branch** or **script flags**+The //name// for flags cannot be used for **branch** or **script flags**(*)
  
  
Line 878: Line 878:
 </​code>​ </​code>​
  
-**NOTE:**  +(*The named flags feature was propagated from the source code merge back in 2008 and is not extensively tested. The recommended way of defining flags is using [[cookbooks:​5.2.x:​core#​define|#​!define]] ​(which is also valid for branch/​script flags):
-The named flags feature was propagated from the source code merge back in 2008 and is not extensively tested. The recommended way of defining flags is using [[cookbooks:​5.2.x:​core#​define|#​!define]]:​ +
 <code c> <code c>
 #!define FLAG_NAME FLAG_BIT #!define FLAG_NAME FLAG_BIT
 </​code>​ </​code>​
 +
  
 ==== force_rport ==== ==== force_rport ====
Line 999: Line 998:
 ==== latency_limit_db ==== ==== latency_limit_db ====
  
-Limit of latency in ms for db operations. If a db operation executed via DB API v1 takes longer that its value, a message is printed in the logs, showing the first 50 characters of the db query.+Limit of latency in us (micro-seconds) ​for db operations. If a db operation executed via DB API v1 takes longer that its value, a message is printed in the logs, showing the first 50 characters of the db query.
  
  
Line 2881: Line 2880:
  
 Add "​user=phone"​ parameter to R-URI. Add "​user=phone"​ parameter to R-URI.
 +
 ===== Custom Global Parameters ===== ===== Custom Global Parameters =====
  
Line 3433: Line 3433:
                        ​string (equivalent to expr==""​).                        ​string (equivalent to expr==""​).
       Example: if (defined $v && !strempty($v)) $len=strlen($v);​       Example: if (defined $v && !strempty($v)) $len=strlen($v);​
 +
cookbooks/5.2.x/core.1553714771.txt.gz · Last modified: 2019/03/27 20:26 by joelsdc