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 committed by Harald Welte
parent 72fbc95c55
commit 53daffbd99
3 changed files with 129 additions and 29 deletions

View File

@ -1,11 +1,5 @@
!
! OsmoBSC (0.9.14+gitr1+3d331c0062bb0c9694dbd4d1eab7adc58138c3ae) configuration saved from vty
!!
password foo
!
!
line vty
no login
! osmo-bsc default configuration
! (assumes STP to run on 127.0.0.1 and uses default point codes)
!
e1_input
e1_line 0 driver ipa
@ -15,12 +9,14 @@ network
short name OsmoBSC
long name OsmoBSC
auth policy closed
authorized-regexp .*
location updating reject cause 13
encryption a5 0
neci 1
authentication optional
neci 0
paging any use tch 0
rrlp mode none
mm info 1
mm info 0
handover 0
handover window rxlev averaging 10
handover window rxqual averaging 1
@ -28,21 +24,25 @@ network
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 nanobts
type sysmobts
band DCS1800
cell_identity 0
location_area_code 1
training_sequence_code 7
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
dtx uplink force
dtx downlink
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
@ -50,11 +50,14 @@ network
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
! to use full TRX power, set max_power_red 0
max_power_red 20
rsl e1 tei 0
timeslot 0
@ -81,21 +84,24 @@ network
timeslot 7
phys_chan_config TCH/F
hopping enabled 0
cs7 instance 1
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
msc 0
ip.access rtp-base 4000
timeout-ping 20
timeout-pong 5
dest 192.168.100.11 6666 0
access-list-name msc-list
no access-list-name
no timeout-ping advanced
no bsc-welcome-text
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
no access-list-name
access-list-name bsc-list
mid-call-timeout 0
no missing-msc-text

View File

@ -0,0 +1,93 @@
! 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
! to use full TRX power, set max_power_red 0
max_power_red 20
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/>
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"],
}