BSC: Improve Codec config

This commit is contained in:
Monocots 2022-07-04 00:34:11 +00:00
parent 6a99400b02
commit 68da18be9c
3 changed files with 9 additions and 7 deletions

View file

@ -28,18 +28,18 @@
<% end -%> <% end -%>
<% end -%> <% end -%>
codec-support fr amr codec-support fr amr
amr tch-f modes 4 5 amr tch-f modes 3 4 5
amr tch-f threshold ms 32 amr tch-f threshold ms 32
amr tch-f hysteresis ms 8 amr tch-f hysteresis ms 8
amr tch-f threshold bts 32 amr tch-f threshold bts 32
amr tch-f hysteresis bts 8 amr tch-f hysteresis bts 8
amr tch-f start-mode 1 amr tch-f start-mode 3
amr tch-h modes 4 5 amr tch-h modes 2 3 4 5
amr tch-h threshold ms 32 amr tch-h threshold ms 32
amr tch-h hysteresis ms 8 amr tch-h hysteresis ms 8
amr tch-h threshold bts 32 amr tch-h threshold bts 32
amr tch-h hysteresis bts 8 amr tch-h hysteresis bts 8
amr tch-h start-mode 1 amr tch-h start-mode 3
gprs mode <%= bts["gprs_m"] %> gprs mode <%= bts["gprs_m"] %>
gprs routing area 21 gprs routing area 21
gprs network-control-order nc0 gprs network-control-order nc0

View file

@ -83,7 +83,7 @@ network
handover2 penalty-time failed-ho 5 handover2 penalty-time failed-ho 5
handover2 penalty-time failed-assignment 5 handover2 penalty-time failed-assignment 5
handover2 congestion-check 30 handover2 congestion-check 30
<% if @mncc_codec != 'GSM' -%> <% if @mncc_codec == 'AMR' -%>
dyn_ts_allow_tch_f 0 dyn_ts_allow_tch_f 0
<% end -%> <% end -%>
timer net T3113 50 timer net T3113 50

View file

@ -1,13 +1,15 @@
msc 0 msc 0
<% if @mncc_codec == 'GSM' -%> <% if @mncc_codec == 'GSM' -%>
codec-list fr1 codec-list fr1
<% elsif (@mncc_codec == 'GSM:AMR' or @mncc_codec == 'AMR:GSM') -%>
codec-list fr1 fr3 hr3
<% else -%> <% else -%>
codec-list hr3 fr3 codec-list fr3 hr3
<% end -%> <% end -%>
allow-emergency allow allow-emergency allow
amr-config 12_2k forbidden amr-config 12_2k forbidden
amr-config 10_2k forbidden amr-config 10_2k forbidden
amr-config 7_95k forbidden amr-config 7_95k allowed
amr-config 7_40k allowed amr-config 7_40k allowed
amr-config 6_70k allowed amr-config 6_70k allowed
amr-config 5_90k allowed amr-config 5_90k allowed