Fine tune the default asterisk config

This commit is contained in:
George Yang 2024-02-15 10:49:29 +00:00
parent 532da477d9
commit e6f090c9e6

View file

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