User Tools

Site Tools


cookbooks:3.3.x:core

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
cookbooks:3.3.x:core [2012/06/12 11:08]
miconda created
cookbooks:3.3.x:core [2012/11/05 14:55]
klaus3000 [DNS Parameters]
Line 471: Line 471:
 </code> </code>
  
 +==== auto_bind_ipv6 ====
 +
 +When turned on, Kamailio will automatically bind to all IPv6 addresses (much like the default behaviour for IPv4).
 +
 +Example:
 +
 +<code>
 +    auto_bind_ipv6=1
 +</code>
 ==== check_via ==== ==== check_via ====
  
Line 1191: Line 1200:
  
 ===== DNS Parameters ===== ===== DNS Parameters =====
 +
 +Note: See also file doc/dns.txt for details about Kamailio's DNS client.
  
 SIP-Router has an internal DNS resolver with caching capabilities. If this caching resolver is activated (default setting) then the system's stub resolver won't be used. Thus, also local name resolution configuration like /etc/hosts entries will not be used. If the dns cache is deactivated (use_dns_cache=no), then system's resolver will be used. The DNS failover functionality in tm module references directly records in the DNS cache (which saves a lot of memory) and hence DNS based failover only works if the internal DNS cache is enabled. SIP-Router has an internal DNS resolver with caching capabilities. If this caching resolver is activated (default setting) then the system's stub resolver won't be used. Thus, also local name resolution configuration like /etc/hosts entries will not be used. If the dns cache is deactivated (use_dns_cache=no), then system's resolver will be used. The DNS failover functionality in tm module references directly records in the DNS cache (which saves a lot of memory) and hence DNS based failover only works if the internal DNS cache is enabled.
Line 2044: Line 2055:
 Example of usage: Example of usage:
  
-    forward("10.0.0.10:5060");+    forward(10.0.0.105060);
     #or     #or
     forward();     forward();
Line 2764: Line 2775:
 NOTE: to ensure the priority of operands in expression evaluations do use __parenthesis__. NOTE: to ensure the priority of operands in expression evaluations do use __parenthesis__.
  
-Arithmetic expressions can be used in condition expressions via test operator ' [ ... ] '.+Arithmetic expressions can be used in condition expressions.
  
 <code> <code>
-if( $var(a) & 4 )+if( $var(a) & 4 )
     log("var a has third bit set\n");     log("var a has third bit set\n");
 </code> </code>
cookbooks/3.3.x/core.txt ยท Last modified: 2014/05/31 13:36 by mslehto