mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-24 01:58:46 +04:00
This adds a term_timeout uci option which can be used to change the default timeout that procd uses while waiting for freeswitch to exit once the TERM signal is sent. freeswitch may take a bit longer to exit, so adding this option is likely appreciated. By default procd's default is used, though. Logging is updated in init script and hotplug script. The used facility is changed from user to daemon, for instance. An issue was fixed in the parsing of the ntpq output. In case a positive offset was printed the parsing failed. Apparently ntpq is now adding a '+', so this is now accounted for. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
23 lines
583 B
Plaintext
23 lines
583 B
Plaintext
|
|
config freeswitch 'general'
|
|
option enabled '0'
|
|
option log_stderr '1'
|
|
option log_stdout '1'
|
|
option options '-nonat -np'
|
|
#option term_timeout '10' # seconds to wait after sending TERM signal
|
|
|
|
config freeswitch 'directories'
|
|
option cache '/tmp/freeswitch/cache'
|
|
option db '/tmp/freeswitch/db'
|
|
option log '/tmp/freeswitch/log'
|
|
option recordings '/tmp/freeswitch/recordings'
|
|
option storage '/tmp/freeswitch/storage'
|
|
option temp '/tmp/freeswitch/temp'
|
|
|
|
config freeswitch 'hotplug'
|
|
#option interface 'wan'
|
|
#option mount_point '/mnt/usb'
|
|
option ntpd '0'
|
|
option timeout '60'
|
|
|