clanService/phonebox: asterisk restart core when extensions.conf changed
This commit is contained in:
@@ -338,6 +338,12 @@
|
||||
asterisk -rx "pjsip reload"
|
||||
;;
|
||||
esac
|
||||
case "$file" in
|
||||
extensions.conf)
|
||||
echo "restarting core"
|
||||
asterisk -rx "core restart now"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
'';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user