stop and start sip
This commit is contained in:
parent
6d0723933c
commit
07b795222b
@ -97,9 +97,11 @@ if [[ $USER_EXISTS != "yes" ]]; then
|
||||
exit 3
|
||||
fi
|
||||
|
||||
systemctl stop sipwitch
|
||||
|
||||
remove_sip_user
|
||||
|
||||
systemctl restart sipwitch
|
||||
systemctl start sipwitch
|
||||
|
||||
echo "SIP user $MY_USERNAME removed"
|
||||
exit 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user