blob: 60f04cc2fe9fad5657323fb06a2d6e5c1cdb3e9b [file] [log] [blame]
Neels Hofmeyr798e5922017-05-18 15:24:02 +02001! Configuration rendered by osmo-gsm-tester
2log stderr
3 logging filter all 1
4 logging color 1
5 logging print category 1
Neels Hofmeyrb5a3d672020-12-01 00:43:52 +01006 logging print category-hex 0
7 logging print level 1
8 logging print file basename last
Neels Hofmeyr798e5922017-05-18 15:24:02 +02009 logging print extended-timestamp 1
Pau Espin Pedrol1b11c592018-10-03 14:33:41 +020010 logging level set-all debug
Neels Hofmeyr798e5922017-05-18 15:24:02 +020011line vty
12 no login
13 bind ${bsc.ip_address.addr}
Pau Espin Pedrolea3549f2017-05-30 16:20:10 +020014ctrl
15 bind ${bsc.ip_address.addr}
Neels Hofmeyr798e5922017-05-18 15:24:02 +020016e1_input
17 e1_line 0 driver ipa
18 ipa bind ${bsc.ip_address.addr}
Pau Espin Pedrol3edc29c2020-04-06 17:47:23 +020019cs7 instance 0
Alexander Couzens2ec075d2017-08-01 14:38:23 +020020 point-code 0.0.2
Pau Espin Pedrol1e1d3812017-11-16 18:06:37 +010021 asp asp0 2905 0 m3ua
Pau Espin Pedrol3edc29c2020-04-06 17:47:23 +020022 local-ip ${bsc.ip_address.addr}
Pau Espin Pedrol1e1d3812017-11-16 18:06:37 +010023 remote-ip ${stp.ip_address.addr}
Vadim Yanitskiya3de1142023-06-21 18:27:16 +070024 role asp
25 sctp-role client
Pau Espin Pedrol1e1d3812017-11-16 18:06:37 +010026 as as0 m3ua
27 asp asp0
28 routing-key 2 0.0.2
Alexander Couzens2ec075d2017-08-01 14:38:23 +020029 sccp-address bsc_local
30 point-code 0.0.2
31 routing-indicator PC
32 sccp-address msc_remote
33 point-code 0.0.1
34 routing-indicator PC
Neels Hofmeyr798e5922017-05-18 15:24:02 +020035network
36 network country code ${bsc.net.mcc}
37 mobile network code ${bsc.net.mnc}
Neels Hofmeyr798e5922017-05-18 15:24:02 +020038 encryption ${bsc.net.encryption}
39 neci 1
Neels Hofmeyr798e5922017-05-18 15:24:02 +020040 handover 0
41 handover window rxlev averaging 10
42 handover window rxqual averaging 1
43 handover window rxlev neighbor averaging 10
44 handover power budget interval 6
45 handover power budget hysteresis 3
46 handover maximum distance 9999
Neels Hofmeyr798e5922017-05-18 15:24:02 +020047%for bts in bsc.net.bts_list:
48 bts ${loop.index}
49 type ${bts.osmobsc_bts_type}
50 band ${bts.band}
Pau Espin Pedrol4ccce7c2017-11-07 11:13:20 +010051 cell_identity ${bts.cell_identity}
Neels Hofmeyr798e5922017-05-18 15:24:02 +020052 location_area_code ${bts.location_area_code}
53 training_sequence_code 7
54 base_station_id_code ${bts.base_station_id_code}
55 ms max power 33
56 cell reselection hysteresis 4
57 rxlev access min 0
Pau Espin Pedrol722e94e2018-08-22 11:01:32 +020058 channel allocator ${bts.channel_allocator}
Neels Hofmeyr798e5922017-05-18 15:24:02 +020059 rach tx integer 9
60 rach max transmission 7
Pau Espin Pedrol63f2d472018-05-22 18:24:50 +020061% if bsc.net.get('rsl_ip', False):
62 ip.access rsl-ip ${bsc.net.rsl_ip}
63% endif
Neels Hofmeyr798e5922017-05-18 15:24:02 +020064 ip.access unit_id ${bts.ipa_unit_id} 0
65 oml ip.access stream_id ${bts.stream_id} line 0
Pau Espin Pedrol680ba032020-10-14 14:49:05 +020066% if bts.get('emergency_calls_allowed', False):
67 rach emergency call allowed 1
68% else:
69 rach emergency call allowed 0
70%endif
Pau Espin Pedrol4f23ab52018-10-29 11:30:00 +010071% if bts.get('sgsn', False) and bts['gprs_mode'] != 'none':
72 gprs mode ${bts.gprs_mode}
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010073 gprs routing area ${bts.routing_area_code}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010074 gprs network-control-order nc1
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010075 gprs cell bvci ${bts.bvci}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010076 gprs cell timer blocking-timer 3
77 gprs cell timer blocking-retries 3
78 gprs cell timer unblocking-retries 3
79 gprs cell timer reset-timer 3
80 gprs cell timer reset-retries 3
81 gprs cell timer suspend-timer 10
82 gprs cell timer suspend-retries 3
83 gprs cell timer resume-timer 10
84 gprs cell timer resume-retries 3
85 gprs cell timer capability-update-timer 10
86 gprs cell timer capability-update-retries 3
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010087 gprs nsei ${bts.bvci}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010088 gprs ns timer tns-block 3
89 gprs ns timer tns-block-retries 3
90 gprs ns timer tns-reset 3
91 gprs ns timer tns-reset-retries 3
92 gprs ns timer tns-test 30
93 gprs ns timer tns-alive 3
94 gprs ns timer tns-alive-retries 10
Pau Espin Pedrol8a3a7b52017-11-28 15:50:02 +010095 gprs nsvc 0 nsvci ${bts.bvci}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010096 gprs nsvc 0 local udp port 23020
97 gprs nsvc 0 remote udp port 23000
98 gprs nsvc 0 remote ip ${bts.sgsn.ip_address.addr}
Pau Espin Pedrolce35d912017-11-23 11:01:24 +010099% else:
Neels Hofmeyr798e5922017-05-18 15:24:02 +0200100 gprs mode none
Pau Espin Pedrolce35d912017-11-23 11:01:24 +0100101% endif
Neels Hofmeyr798e5922017-05-18 15:24:02 +0200102% for trx in bts.trx_list:
103 trx ${loop.index}
104 rf_locked 0
105 arfcn ${trx.arfcn}
Pau Espin Pedrolb26f32a2017-09-14 13:52:28 +0200106 nominal power ${trx.nominal_power}
Neels Hofmeyr798e5922017-05-18 15:24:02 +0200107 max_power_red ${trx.max_power_red}
108 rsl e1 tei 0
109% for ts in trx.timeslot_list:
110 timeslot ${loop.index}
111 phys_chan_config ${ts.phys_chan_config}
112% endfor
113% endfor
114%endfor
115msc
Neels Hofmeyr798e5922017-05-18 15:24:02 +0200116 core-mobile-country-code ${bsc.net.mcc}
117 core-mobile-network-code ${bsc.net.mnc}
Pau Espin Pedrol680ba032020-10-14 14:49:05 +0200118 allow-emergency allow
Pau Espin Pedrol386b78d2017-11-09 13:02:09 +0100119 ip.access rtp-base 25000
120 mgw remote-ip ${mgw.ip_address.addr}
121 mgw remote-port 2427
Pau Espin Pedrol56822872018-08-21 18:30:24 +0200122 mgw local-ip ${bsc.ip_address.addr}
Pau Espin Pedrol386b78d2017-11-09 13:02:09 +0100123 mgw endpoint-range 1 31
Pau Espin Pedrol5dc24592018-08-27 12:53:41 +0200124 codec-list ${' '.join(bsc.net.codec_list)}
Neels Hofmeyr798e5922017-05-18 15:24:02 +0200125 amr-config 12_2k forbidden
126 amr-config 10_2k forbidden
127 amr-config 7_95k forbidden
128 amr-config 7_40k forbidden
129 amr-config 6_70k forbidden
130 amr-config 5_90k allowed
131 amr-config 5_15k forbidden
132 amr-config 4_75k forbidden
Pau Espin Pedrolfed578e2019-06-19 17:18:43 +0200133 osmux ${bsc.use_osmux}
Alexander Couzens2ec075d2017-08-01 14:38:23 +0200134 msc-addr msc_remote
135 bsc-addr bsc_local