doc/examples: tweak osmo-bsc.cfg, add osmo-bsc_custom-sccp.cfg

Now osmo-bsc.cfg's SCCP addresses work by internal defaults, while
osmo-bsc_custom-sccp.cfg shows how to use custom STP IP address and SCCP point
codes.

Change-Id: Icb41d5adc24b2ee5613be691a201df8f3566e5dd
This commit is contained in:
Neels Hofmeyr 2017-09-05 13:20:32 +02:00
parent d9313f31bf
commit 0a691f60cf
3 changed files with 128 additions and 30 deletions

View File

@ -1,11 +1,5 @@
! ! osmo-bsc default configuration
! OsmoBSC (0.9.14+gitr1+3d331c0062bb0c9694dbd4d1eab7adc58138c3ae) configuration saved from vty ! (assumes STP to run on 127.0.0.1 and uses default point codes)
!!
password foo
!
!
line vty
no login
! !
e1_input e1_input
e1_line 0 driver ipa e1_line 0 driver ipa
@ -15,12 +9,14 @@ network
short name OsmoBSC short name OsmoBSC
long name OsmoBSC long name OsmoBSC
auth policy closed auth policy closed
authorized-regexp .*
location updating reject cause 13 location updating reject cause 13
encryption a5 0 encryption a5 0
neci 1 authentication optional
neci 0
paging any use tch 0 paging any use tch 0
rrlp mode none rrlp mode none
mm info 1 mm info 0
handover 0 handover 0
handover window rxlev averaging 10 handover window rxlev averaging 10
handover window rxqual averaging 1 handover window rxqual averaging 1
@ -28,21 +24,25 @@ network
handover power budget interval 6 handover power budget interval 6
handover power budget hysteresis 3 handover power budget hysteresis 3
handover maximum distance 9999 handover maximum distance 9999
dyn_ts_allow_tch_f 0
periodic location update 30
bts 0 bts 0
type nanobts type sysmobts
band DCS1800 band DCS1800
cell_identity 0 cell_identity 0
location_area_code 1 location_area_code 1
training_sequence_code 7
base_station_id_code 63 base_station_id_code 63
ms max power 15 ms max power 15
cell reselection hysteresis 4 cell reselection hysteresis 4
rxlev access min 0 rxlev access min 0
radio-link-timeout 32
channel allocator ascending channel allocator ascending
rach tx integer 9 rach tx integer 9
rach max transmission 7 rach max transmission 7
dtx uplink force channel-descrption attach 1
dtx downlink channel-descrption bs-pa-mfrms 5
channel-descrption bs-ag-blks-res 1
early-classmark-sending forbidden
ip.access unit_id 0 0 ip.access unit_id 0 0
oml ip.access stream_id 255 line 0 oml ip.access stream_id 255 line 0
neighbor-list mode manual-si5 neighbor-list mode manual-si5
@ -50,12 +50,14 @@ network
neighbor-list add arfcn 200 neighbor-list add arfcn 200
si5 neighbor-list add arfcn 10 si5 neighbor-list add arfcn 10
si5 neighbor-list add arfcn 20 si5 neighbor-list add arfcn 20
codec-support fr
gprs mode none gprs mode none
no force-combined-si
trx 0 trx 0
rf_locked 0 rf_locked 0
arfcn 871 arfcn 871
nominal power 23 nominal power 23
max_power_red 20 max_power_red 0
rsl e1 tei 0 rsl e1 tei 0
timeslot 0 timeslot 0
phys_chan_config CCCH+SDCCH4 phys_chan_config CCCH+SDCCH4
@ -81,21 +83,24 @@ network
timeslot 7 timeslot 7
phys_chan_config TCH/F phys_chan_config TCH/F
hopping enabled 0 hopping enabled 0
cs7 instance 1 msc 0
point-code 3.0.0
sccp-address bsc_local
point-code 3.0.0
sccp-address msc_remote
point-code 1.0.0
msc
bsc-addr bsc_local
msc-addr msc_remote
ip.access rtp-base 4000 ip.access rtp-base 4000
timeout-ping 20 timeout-ping 20
timeout-pong 5 timeout-pong 5
dest 192.168.100.11 6666 0 no timeout-ping advanced
access-list-name msc-list no bsc-welcome-text
no access-list-name no bsc-msc-lost-text
no bsc-grace-text
type normal
allow-emergency allow
amr-config 12_2k forbidden
amr-config 10_2k forbidden
amr-config 7_95k forbidden
amr-config 7_40k forbidden
amr-config 6_70k forbidden
amr-config 5_90k allowed
amr-config 5_15k forbidden
amr-config 4_75k forbidden
bsc bsc
no access-list-name mid-call-timeout 0
access-list-name bsc-list no missing-msc-text

View File

@ -0,0 +1,92 @@
! osmo-bsc configuration example for custom SCCP addresses
!
e1_input
e1_line 0 driver ipa
network
network country code 1
mobile network code 1
short name OsmoBSC
long name OsmoBSC
auth policy closed
authorized-regexp .*
location updating reject cause 13
encryption a5 0
authentication optional
neci 0
paging any use tch 0
rrlp mode none
mm info 0
handover 0
handover window rxlev averaging 10
handover window rxqual averaging 1
handover window rxlev neighbor averaging 10
handover power budget interval 6
handover power budget hysteresis 3
handover maximum distance 9999
dyn_ts_allow_tch_f 0
periodic location update 30
bts 0
type sysmobts
band DCS1800
cell_identity 0
location_area_code 1
base_station_id_code 63
ms max power 15
cell reselection hysteresis 4
rxlev access min 0
radio-link-timeout 32
channel allocator ascending
rach tx integer 9
rach max transmission 7
channel-descrption attach 1
channel-descrption bs-pa-mfrms 5
channel-descrption bs-ag-blks-res 1
early-classmark-sending forbidden
ip.access unit_id 0 0
oml ip.access stream_id 255 line 0
neighbor-list mode manual-si5
neighbor-list add arfcn 100
neighbor-list add arfcn 200
si5 neighbor-list add arfcn 10
si5 neighbor-list add arfcn 20
codec-support fr
gprs mode none
no force-combined-si
trx 0
rf_locked 0
arfcn 871
nominal power 23
max_power_red 0
rsl e1 tei 0
timeslot 0
phys_chan_config CCCH+SDCCH4
hopping enabled 0
timeslot 1
phys_chan_config TCH/F
hopping enabled 0
timeslot 2
phys_chan_config TCH/F
hopping enabled 0
timeslot 3
phys_chan_config TCH/F
hopping enabled 0
timeslot 4
phys_chan_config TCH/F
hopping enabled 0
timeslot 5
phys_chan_config TCH/F
hopping enabled 0
timeslot 6
phys_chan_config TCH/F
hopping enabled 0
timeslot 7
phys_chan_config TCH/F
hopping enabled 0
cs7 instance 0
point-code 0.42.1
!asp asp-clnt-OsmoBSC 2905 0 m3ua
! remote-ip 10.23.24.1 ! where to reach the STP
sccp-address msc_remote
point-code 0.23.1
msc 0
msc-addr msc_remote

View File

@ -15,7 +15,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/> # along with this program. If not, see <http://www.gnu.org/licenses/>
app_configs = { app_configs = {
"osmo-bsc": ["doc/examples/osmo-bsc/osmo-bsc.cfg"], "osmo-bsc": ["doc/examples/osmo-bsc/osmo-bsc.cfg",
"doc/examples/osmo-bsc/osmo-bsc_custom-sccp.cfg"],
"nat": ["doc/examples/osmo-bsc_nat/osmo-bsc_nat.cfg"], "nat": ["doc/examples/osmo-bsc_nat/osmo-bsc_nat.cfg"],
} }