This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
cookbooks:3.3.x:core [2012/06/12 11:08] miconda created |
cookbooks:3.3.x:core [2013/01/02 17:56] klaus3000 [tcp_rd_buf_size] |
||
---|---|---|---|
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 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(" | ||
</ | </ |