This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cookbooks:devel:core [2021/03/15 12:43] miconda [workdir] |
cookbooks:devel:core [2021/08/28 08:02] jih |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Core Cookbook ====== | ====== Core Cookbook ====== | ||
- | Version: Kamailio SIP Server v5.5.x (devel) | + | Version: Kamailio SIP Server v5.6.x (devel) |
===== Overview ===== | ===== Overview ===== | ||
Line 1929: | Line 1930: | ||
| | ||
</ | </ | ||
- | ==== wait_child1_mode | + | |
+ | ==== wait_worker1_mode | ||
Enable waiting for child SIP worker one to complete initialization, | Enable waiting for child SIP worker one to complete initialization, | ||
Line 1938: | Line 1940: | ||
<code c> | <code c> | ||
- | wait_child1_mode | + | wait_worker1_mode |
</ | </ | ||
- | ==== wait_child1_time | + | ==== wait_worker1_time |
How long to wait for child worker one to complete the initialization. In micro-seconds. | How long to wait for child worker one to complete the initialization. In micro-seconds. | ||
Line 1950: | Line 1952: | ||
<code c> | <code c> | ||
- | wait_child1_time | + | wait_worker1_time |
</ | </ | ||
- | ==== wait_child1_usleep | + | ==== wait_worker1_usleep |
How long to wait for child worker one to complete the initialization. In micro-seconds. | How long to wait for child worker one to complete the initialization. In micro-seconds. | ||
Line 1962: | Line 1964: | ||
<code c> | <code c> | ||
- | wait_child1_usleep | + | wait_worker1_usleep |
</ | </ | ||
Line 2012: | Line 2014: | ||
===== DNS Parameters ===== | ===== DNS Parameters ===== | ||
- | Note: See also file doc/dns.txt for details about Kamailio' | + | Note: See also file doc/tutorials/dns.txt for details about Kamailio' |
Kamailio has an internal DNS resolver with caching capabilities. If this caching resolver is activated (default setting) then the system' | Kamailio has an internal DNS resolver with caching capabilities. If this caching resolver is activated (default setting) then the system' | ||
Line 2155: | Line 2157: | ||
**Alias name: dns_srv_loadbalancing** | **Alias name: dns_srv_loadbalancing** | ||
- | Enable dns srv weight based load balancing (see doc/ | + | Enable dns srv weight based load balancing (see doc/tutorials/dns.txt) |
dns_srv_lb = yes | no (default no) | dns_srv_lb = yes | no (default no) | ||
Line 2171: | Line 2173: | ||
==== dns_try_naptr ==== | ==== dns_try_naptr ==== | ||
- | Enable NAPTR support according to RFC 3263 (see doc/dns.txt for more info) | + | Enable NAPTR support according to RFC 3263 (see doc/tutorials/dns.txt for more info) |
| | ||
dns_try_naptr = yes | no (default no) | dns_try_naptr = yes | no (default no) | ||
Line 2182: | Line 2184: | ||
dns_tls_pref=10 and dns_sctp_pref=20. To use the remote site preferences set all dns_*_pref to the same positive value (e.g. dns_udp_pref=1, | dns_tls_pref=10 and dns_sctp_pref=20. To use the remote site preferences set all dns_*_pref to the same positive value (e.g. dns_udp_pref=1, | ||
dns_tcp_pref=1, | dns_tcp_pref=1, | ||
- | preference to -1 (or any other negative number). (see doc/dns.txt for more info) | + | preference to -1 (or any other negative number). (see doc/tutorials/dns.txt for more info) |
dns_{udp, | dns_{udp, | ||
Line 2993: | Line 2995: | ||
</ | </ | ||
+ | See also the FAQ for how the function return code is evaluated: | ||
+ | |||
+ | * https:// | ||
==== revert_uri ==== | ==== revert_uri ==== | ||
Line 3649: | Line 3654: | ||
|| logical OR | || logical OR | ||
! | ! | ||
- | [ ... ] test operator - inside can be any arithmetic expression | ||
</ | </ | ||
Line 3661: | Line 3665: | ||
} | } | ||
+ | See also the FAQ for how the function return code is evaluated: | ||
+ | * https:// | ||
==== switch ==== | ==== switch ==== | ||