mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
Revert "Restart asterisk when configuration changes"
This reverts commit 72d7f0fcf8 since
asterisk CLI "intel reload" has been implemented.
This commit is contained in:
parent
3af26d6f84
commit
c6738cb0ad
1 changed files with 5 additions and 7 deletions
|
|
@ -2296,13 +2296,11 @@ reload_service() {
|
||||||
# if there is a registered account
|
# if there is a registered account
|
||||||
ubus call led.voice1 set '{"state":"off"}'
|
ubus call led.voice1 set '{"state":"off"}'
|
||||||
|
|
||||||
[ -f /var/run/asterisk/asterisk.pid ] && /etc/init.d/asterisk restart
|
asterisk -rx "config reload $ASTERISKDIR/sip.conf"
|
||||||
|
sleep 1
|
||||||
# asterisk -rx "config reload $ASTERISKDIR/sip.conf"
|
asterisk -rx "core reload"
|
||||||
# sleep 1
|
asterisk -rx "dialplan reload"
|
||||||
# asterisk -rx "core reload"
|
asterisk -rx "$(getChipVendor) reload"
|
||||||
# asterisk -rx "dialplan reload"
|
|
||||||
# asterisk -rx "$(getChipVendor) reload"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
service_triggers() {
|
service_triggers() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue