stop and start sip

This commit is contained in:
Bob Mottram 2015-11-02 15:13:42 +00:00
parent 6d0723933c
commit 07b795222b
1 changed files with 3 additions and 1 deletions

View File

@ -97,9 +97,11 @@ if [[ $USER_EXISTS != "yes" ]]; then
exit 3 exit 3
fi fi
systemctl stop sipwitch
remove_sip_user remove_sip_user
systemctl restart sipwitch systemctl start sipwitch
echo "SIP user $MY_USERNAME removed" echo "SIP user $MY_USERNAME removed"
exit 0 exit 0