mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
voice-client: turn of voice led and let asterisk handle it
This commit is contained in:
parent
55c0ab8163
commit
c39744a030
1 changed files with 5 additions and 0 deletions
|
|
@ -2213,6 +2213,11 @@ start_service() {
|
|||
|
||||
reload_service() {
|
||||
start
|
||||
|
||||
# turn off voice led; asterisk will turn it on
|
||||
# if there is a registered account
|
||||
ubus call led.voice1 set '{"state":"off"}'
|
||||
|
||||
asterisk -rx "core reload"
|
||||
asterisk -rx "dialplan reload"
|
||||
asterisk -rx "brcm reload"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue