1.7 DNS 参数

Note: See also file doc/tutorials/dns.txt for details about Kamailio’s DNS client. Kamailio 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 the 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. ...

7 min · Eddie Wang

1.8 TCP参数

The following parameters allows to tweak the TCP behaviour. 1. disable_tcp Global parameter to disable TCP support in the SIP server. Default value is ’no'. Example of usage: disable_tcp=yes 2. tcp_accept_aliases If a message received over a tcp connection has “alias” in its via a new tcp alias port will be created for the connection the message came from (the alias port will be set to the via one). ...

8 min · Eddie Wang

1.9 TLS参数

Most of TLS layer attributes can be configured via TLS module parameters. 1. tls_port_no The port the SIP server listens to for TLS connections. Default value is 5061. Example of usage: tls_port_no=6061 2. tls_max_connections Maximum number of TLS connections (if the number is exceeded no new TLS connections will be accepted). It cannot exceed tcp_max_connections. Default value is 2048. Example of usage: tls_max_connections=4096

1 min · Eddie Wang