User Tools

Site Tools


cookbooks:devel: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:devel:core [2019/08/02 15:40]
miconda [pv_cache_limit]
cookbooks:devel:core [2019/10/31 18:38] (current)
henningw spelling fix
Line 1: Line 1:
-====== Kamailio SIP Server v5.3.x (devel): Core Cookbook ======+====== Kamailio SIP Server v5.4.x (devel): Core Cookbook ======
  
 ===== Overview ===== ===== Overview =====
Line 9: Line 9:
 ===== Structure ===== ===== Structure =====
  
-The structure of the kamailio.cfg can be seen as thee parts:+The structure of the kamailio.cfg can be seen as three parts:
  
   * global parameters   * global parameters
Line 253: Line 253:
   * **#​!trydef** - add a define if not already defined   * **#​!trydef** - add a define if not already defined
   * **#​!redefine** - force redefinition even if already defined   * **#​!redefine** - force redefinition even if already defined
 +
 +Predefined keywords:
 +  * **KAMAILIO_X[_Y[_Z]]** - Kamailio versions
 +  * **MOD_X** - when module X has been loaded
 +See '​kamctl core.ppdefines_full'​ for full list.
  
 Among benefits: Among benefits:
Line 1688: Line 1693:
  
   udp_mtu_try_proto = TCP|TLS|SCTP|UDP   udp_mtu_try_proto = TCP|TLS|SCTP|UDP
 +
 +
 +==== uri_host_extra_chars ====
 +
 +Specify additional chars that should be allowed in the host part of URI.
 +
 +<code c>
 +uri_host_extra_chars = "​_"​
 +</​code>​
 ==== user ==== ==== user ====
  
Line 2027: Line 2041:
 </​code>​ </​code>​
  
 +==== tcp_accept_unique ====
 +
 +If set to 1, reject duplicate connections coming from same source IP and port.
 +
 +Default set to 0.
 +
 +<code c>
 +tcp_accept_unique = 1
 +</​code>​
 ==== tcp_async ==== ==== tcp_async ====
  
Line 2065: Line 2088:
     tcp_connection_lifetime=3605     tcp_connection_lifetime=3605
  
 +==== tcp_connection_match ====
 +
 +If set to 1, try to be more strict in matching outbound TCP connections,​ attempting to lookup first the connection using also local port, not only the local IP and remote IP+port.
 +
 +Default is 0.
 +
 +<code c>
 +tcp_connection_match=1
 +</​code>​
 ==== tcp_connect_timeout ==== ==== tcp_connect_timeout ====
  
Line 2960: Line 2992:
  
 Add "​user=phone"​ parameter to R-URI. Add "​user=phone"​ parameter to R-URI.
 +
 ===== Custom Global Parameters ===== ===== Custom Global Parameters =====
  
Line 3541: Line 3574:
                        ​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/devel/core.1564753209.txt.gz ยท Last modified: 2019/08/02 15:40 by miconda