Utils: Don't hard restart freeswitch

This commit is contained in:
Wile E. Coyote 2017-09-25 17:09:56 +00:00
parent 44753f67c6
commit 479d13326c

View file

@ -9,7 +9,7 @@ if [ -a /tmp/FS-dirty -o -a /tmp/OSMO-dirty ]; then
waitfor0calls waitfor0calls
if [ -a /tmp/FS-dirty ] ; then if [ -a /tmp/FS-dirty ] ; then
logc "Freeswitch is tagged for restart due to RCCN update" logc "Freeswitch is tagged for restart due to RCCN update"
sv restart freeswitch /usr/bin/fs_cli -x "fsctl shutdown asap"
rm /tmp/FS-dirty rm /tmp/FS-dirty
logc "freeswitch restarted" logc "freeswitch restarted"
fi fi