cookbooks:3.3.x:core
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
cookbooks:3.3.x:core [2012/06/12 09:08] – created miconda | cookbooks:3.3.x:core [2014/05/31 11:36] (current) – [DNS Parameters] fixed link to RPC list mslehto | ||
---|---|---|---|
Line 471: | Line 471: | ||
</ | </ | ||
+ | ==== auto_bind_ipv6 ==== | ||
+ | |||
+ | When turned on, Kamailio will automatically bind to all IPv6 addresses (much like the default behaviour for IPv4). | ||
+ | |||
+ | Example: | ||
+ | |||
+ | < | ||
+ | auto_bind_ipv6=1 | ||
+ | </ | ||
==== check_via ==== | ==== check_via ==== | ||
Line 1191: | Line 1200: | ||
===== DNS Parameters ===== | ===== DNS Parameters ===== | ||
+ | |||
+ | Note: See also file doc/dns.txt for details about Kamailio' | ||
SIP-Router has an internal DNS resolver with caching capabilities. If this caching resolver is activated (default setting) then the system' | SIP-Router has an internal DNS resolver with caching capabilities. If this caching resolver is activated (default setting) then the system' | ||
Line 1202: | Line 1213: | ||
If the internal resolver/ | If the internal resolver/ | ||
- | dns.add_srv, | + | dns.add_srv, |
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 | + | 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 |
- | Default: 4096, can be changed at runtime. | + | The value is internally limited to 16MByte, for higher values recompile Kamailio with higher limit in tcp_options.c (search for " |
+ | Default: 4096, can be changed at runtime. | ||
==== tcp_send_timeout ==== | ==== tcp_send_timeout ==== | ||
Line 2044: | Line 2056: | ||
Example of usage: | Example of usage: | ||
- | forward("10.0.0.10:5060"); | + | forward(10.0.0.10, 5060); |
#or | #or | ||
forward(); | forward(); | ||
Line 2764: | Line 2776: | ||
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 | + | Arithmetic expressions can be used in condition expressions. |
< | < | ||
- | if( [ $var(a) & 4 ] ) | + | if( $var(a) & 4 ) |
log(" | log(" | ||
</ | </ |
cookbooks/3.3.x/core.1339492100.txt.gz · Last modified: 2012/06/12 09:08 by miconda