Files
telephony/net/kamailio/files/kamailio.conf
Paul Donald 6c9fae756c kamailio: Kamailio 6.0.1 uci config and init script fixes
bump pkg_memory 2MiB -> 3MiB.
space -> tab convert kamailio.init file
refactor kamailio.init check_listen() for clarity
cfg_target: append /
quote uci config values
chown kamailio:kamailio -R /etc/kamailio/*
debug_level 0
stderr 0

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2025-04-20 03:56:56 +02:00

29 lines
939 B
Plaintext

config kamailio 'general'
option enabled '0'
option user 'kamailio'
option group 'kamailio'
# Amount of shared and private memory to allocate in MByte:
option shm_memory '8'
option pkg_memory '3'
option cfg_file /etc/kamailio/kamailio.cfg
option stderr '0'
option debug_level '0'
# list listen(6) have the same effect - each list entry is added to the
# Kamailio command line ("-l address"). The init script will try to
# resolve any interface specifier into an IPv4 ("listen") or
# IPv6 ("listen6") address before starting Kamailio. These list listen(6)
# may be helpful when using dynamic IPs.
# Examples:
# list listen 'udp:wan:5060'
# list listen 'udp:192.168.1.1:5060'
# list listen6 'udp:wan:5060'
# list listen6 'udp:[::1]:5060'
# Any other Kamailio start parameter can be put in the options quotes below:
#option options ""
config kamailio 'hotplug'
# Uncomment to enable hotplug:
#option interface 'wan'