voice-client: turn of voice led and let asterisk handle it

This commit is contained in:
Sukru Senli 2016-06-16 15:37:29 +02:00
parent 55c0ab8163
commit c39744a030

View file

@ -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"