Voice: slight increase of default Broadcom audio volume.

This commit is contained in:
Ronny Nilsson 2018-09-27 15:34:27 +02:00
parent 6af169f7c1
commit 7b7521dae6
2 changed files with 37 additions and 16 deletions

View file

@ -3,8 +3,8 @@ config 'brcm_line' 'brcm0'
option 'sip_account' 'sip0'
option 'noise' '0'
option 'vad' '0'
option 'txgain' 0
option 'rxgain' 0
option 'txgain' 4
option 'rxgain' 4
option 'echo_cancel' 1
option 'callwaiting' '0'
option 'clir' '0'
@ -14,8 +14,8 @@ config 'brcm_line' 'brcm1'
option 'sip_account' 'sip0'
option 'noise' '0'
option 'vad' '0'
option 'txgain' 0
option 'rxgain' 0
option 'txgain' 4
option 'rxgain' 4
option 'echo_cancel' 1
option 'callwaiting' '0'
option 'clir' '0'
@ -25,8 +25,8 @@ config 'brcm_line' 'brcm2'
option 'sip_account' 'sip0'
option 'noise' '0'
option 'vad' '0'
option 'txgain' 0
option 'rxgain' 0
option 'txgain' 4
option 'rxgain' 4
option 'echo_cancel' 1
option 'callwaiting' '0'
option 'clir' '0'
@ -36,8 +36,8 @@ config 'brcm_line' 'brcm3'
option 'sip_account' 'sip0'
option 'noise' '0'
option 'vad' '0'
option 'txgain' 0
option 'rxgain' 0
option 'txgain' 4
option 'rxgain' 4
option 'echo_cancel' 1
option 'callwaiting' '0'
option 'clir' '0'
@ -47,8 +47,8 @@ config 'brcm_line' 'brcm4'
option 'sip_account' 'sip0'
option 'noise' '0'
option 'vad' '0'
option 'txgain' 0
option 'rxgain' 0
option 'txgain' 4
option 'rxgain' 4
option 'echo_cancel' 1
option 'callwaiting' '0'
option 'clir' '0'
@ -58,8 +58,8 @@ config 'brcm_line' 'brcm5'
option 'sip_account' 'sip0'
option 'noise' '0'
option 'vad' '0'
option 'txgain' 0
option 'rxgain' 0
option 'txgain' 4
option 'rxgain' 4
option 'echo_cancel' 1
option 'callwaiting' '0'
option 'clir' '0'
@ -69,8 +69,8 @@ config 'brcm_line' 'brcm6'
option 'sip_account' 'sip0'
option 'noise' '0'
option 'vad' '0'
option 'txgain' 0
option 'rxgain' 0
option 'txgain' 4
option 'rxgain' 4
option 'echo_cancel' 1
option 'callwaiting' '0'
option 'clir' '0'
@ -80,8 +80,8 @@ config 'brcm_line' 'brcm7'
option 'sip_account' 'sip0'
option 'noise' '0'
option 'vad' '0'
option 'txgain' 0
option 'rxgain' 0
option 'txgain' 4
option 'rxgain' 4
option 'echo_cancel' 1
option 'callwaiting' '0'
option 'clir' '0'

View file

@ -27,6 +27,27 @@ EOT
}
# Default Broadcom phone volume for Iopsys 4.
uci -q batch <<-EOT
set voice_client.brcm0.txgain=4
set voice_client.brcm0.rxgain=4
set voice_client.brcm1.txgain=4
set voice_client.brcm1.rxgain=4
set voice_client.brcm2.txgain=4
set voice_client.brcm2.rxgain=4
set voice_client.brcm3.txgain=4
set voice_client.brcm3.rxgain=4
set voice_client.brcm4.txgain=4
set voice_client.brcm4.rxgain=4
set voice_client.brcm5.txgain=4
set voice_client.brcm5.rxgain=4
set voice_client.brcm6.txgain=4
set voice_client.brcm6.rxgain=4
set voice_client.brcm7.txgain=4
set voice_client.brcm7.rxgain=4
commit voice_client
EOT
uci -q batch <<-EOT
delete firewall.sip
set firewall.sip=include