mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
Fine tune the default asterisk config
This commit is contained in:
parent
532da477d9
commit
e6f090c9e6
1 changed files with 4 additions and 0 deletions
|
|
@ -4,6 +4,10 @@ hasVoice=$(db -q get hw.board.hasVoice)
|
|||
|
||||
[ "$hasVoice" = "1" ] || { rm -f "/etc/config/asterisk"; return; }
|
||||
|
||||
source /lib/voice/config_asterisk.sh
|
||||
|
||||
default_asterisk_config
|
||||
|
||||
SLIC=`cat /proc/device-tree/airoha-voice/slic-type`
|
||||
[ "${SLIC#pef}" != "${SLIC}" ] || return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue