From 07b795222b5d689ff52602309b6cea2c736ac8b8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 2 Nov 2015 15:13:42 +0000 Subject: [PATCH] stop and start sip --- src/freedombone-rmsipuser | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/freedombone-rmsipuser b/src/freedombone-rmsipuser index c79751e0..5d335a93 100755 --- a/src/freedombone-rmsipuser +++ b/src/freedombone-rmsipuser @@ -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