stop and start sip
This commit is contained in:
parent
6d0723933c
commit
07b795222b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue