Kamailio config fixes as per documentation
This commit is contained in:
@@ -57,13 +57,17 @@ mlock_pages=yes
|
||||
shm_force_alloc=yes
|
||||
|
||||
# Do SRV-Loadbalancing:
|
||||
dns_srv_lb=yes
|
||||
dns_srv_lb=on
|
||||
# Always prefer IPv6:
|
||||
dns_try_ipv6=yes
|
||||
dns_try_ipv6=on
|
||||
# Always prefer IPv6:
|
||||
dns_cache_flags=4
|
||||
# DNS-Based failover
|
||||
use_dns_failover=yes
|
||||
use_dns_failover=on
|
||||
# Query NAPTR-Records as well:
|
||||
dns_try_naptr=no
|
||||
dns_try_naptr=off
|
||||
# DNS cache won't be used (all dns lookups will result into a DNS request)
|
||||
use_dns_cache=off
|
||||
|
||||
user_agent_header="User-Agent: TelcoSuite Proxy-CSCF"
|
||||
server_header="Server: TelcoSuite Proxy-CSCF"
|
||||
@@ -256,9 +260,9 @@ loadmodule "jsonrpcs.so"
|
||||
# ----- jsonrpcs params -----
|
||||
modparam("jsonrpcs", "pretty_format", 1)
|
||||
/* set the path to RPC fifo control file */
|
||||
modparam("jsonrpcs", "fifo_name", "/var/run/kamailio_pcscf/kamailio_rpc.fifo")
|
||||
modparam("jsonrpcs", "fifo_name", "/var/run/kamailio/kamailio_rpc.fifo")
|
||||
/* set the path to RPC unix socket control file */
|
||||
modparam("jsonrpcs", "dgram_socket", "/var/run/kamailio_pcscf/kamailio_rpc.sock")
|
||||
modparam("jsonrpcs", "dgram_socket", "/var/run/kamailio/kamailio_rpc.sock")
|
||||
|
||||
# ----------------- setting module-specific parameters ---------------
|
||||
#!ifdef DB_URL2
|
||||
@@ -348,7 +352,7 @@ modparam("rtpengine", "extra_id_pv", "$avp(extra_id)")
|
||||
modparam("path", "use_received", 1)
|
||||
|
||||
# ----- ctl params -----
|
||||
modparam("ctl", "binrpc", "unix:/var/run/kamailio_pcscf/kamailio_ctl")
|
||||
modparam("ctl", "binrpc", "unix:/var/run/kamailio/kamailio_ctl")
|
||||
|
||||
# ----------------- Settings for Dispatcher ---------------
|
||||
modparam("dispatcher", "list_file", "/etc/kamailio_pcscf/dispatcher.list")
|
||||
|
||||
Reference in New Issue
Block a user