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

Both sides previous revision Previous revision
Next revision
Previous revision
cookbooks:3.3.x:core [2012/10/12 17:56]
vuk [forward]
cookbooks:3.3.x:core [2014/05/31 13:36] (current)
mslehto [DNS Parameters] fixed link to RPC list
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 1202: Line 1213:
  
 If the internal resolver/cache is enabled you can add/remove records by hand (using sercmd or xmlrpc) using the DNS RPCs, e.g. dns.add_a, If the internal resolver/cache is enabled you can add/remove records by hand (using sercmd or xmlrpc) using the DNS RPCs, e.g. dns.add_a,
-dns.add_srv, dns.delete_a a.s.o. For more info on DNS RPCs see http://sip-router.org/docbook/sip-router/branch/master/rpc_list/rpc_list.html#dns.add_a+dns.add_srv, dns.delete_a a.s.o. For more info on DNS RPCs see http://www.kamailio.org/docs/docbooks/3.3.x/rpc_list/rpc_list.html#dns.add_a
  
 Note: During startup of SIP-Router, before the internal resolver is loaded, the system resolver will be used (it will be used for queries done from module register functions or modparams fixups, but not for queries done from mod_init() or normal fixups).  Note: During startup of SIP-Router, before the internal resolver is loaded, the system resolver will be used (it will be used for queries done from module register functions or modparams fixups, but not for queries done from mod_init() or normal fixups). 
Line 1531: Line 1542:
 ==== tcp_rd_buf_size ==== ==== tcp_rd_buf_size ====
  
-Buffer size used for tcp reads. A high buffer size increases performance on server with few connections and lot of traffic on them, but also increases memory consumption (so for lots of connection is better to use a low value). Note also that this value limits the maximum datagram size that can be received over tcp.+Buffer size used for tcp reads. A high buffer size increases performance on server with few connections and lot of traffic on them, but also increases memory consumption (so for lots of connection is better to use a low value). Note also that this value limits the maximum message size (SIP, HTTP) that can be received over tcp. 
  
-Default: 4096can be changed at runtime.+The value is internally limited to 16MBytefor higher values recompile Kamailio with higher limit in tcp_options.c (search for "rd_buf_size" and 16777216). Further, you may need to increase the private memory, and if you process the message stateful you may also have to increase the shared memory.
  
 +Default: 4096, can be changed at runtime.
  
 ==== tcp_send_timeout ==== ==== tcp_send_timeout ====
cookbooks/3.3.x/core.1350057391.txt.gz ยท Last modified: 2012/10/12 17:56 by vuk