bsc-nat: Add sample bsc-nat config for test

Change-Id: I0ab3a4fb66201cd134238f5efcf6ff80033011e3
changes/61/13461/2
Daniel Willmann 4 years ago committed by Harald Welte
parent c07f6f5f24
commit 53cccab4e9
  1. 19
      bsc-nat/bscs.config
  2. 67
      bsc-nat/osmo-bsc-nat.cfg

@ -0,0 +1,19 @@
nat
bsc 0
token BSC0
location_area_code 1
description bsc
max-endpoints 32
paging forbidden 0
bsc 1
token BSC1
location_area_code 2
description bsc
max-endpoints 32
paging forbidden 0
bsc 2
token BSC2
location_area_code 3
description bsc
max-endpoints 32
paging forbidden 0

@ -0,0 +1,67 @@
!
! OsmoBSCNAT (0.12.0.266-2daa9) configuration saved from vty
!!
!
log stderr
logging filter all 1
logging color 1
logging timestamp 1
logging level rll notice
logging level cc notice
logging level mm notice
logging level rr notice
logging level rsl notice
logging level nm info
logging level mncc notice
logging level pag notice
logging level meas notice
logging level sccp debug
logging level msc notice
logging level mgcp notice
logging level ho notice
logging level db notice
logging level ref notice
logging level gprs debug
logging level ns info
logging level bssgp debug
logging level llc debug
logging level sndcp debug
logging level nat notice
logging level ctrl notice
logging level smpp debug
logging level lglobal notice
logging level llapd notice
logging level linp notice
logging level lmux notice
logging level lmi notice
logging level lmib notice
logging level lsms notice
!
line vty
no login
!
mgcp
bind ip 127.0.0.1
bind port 2427
rtp bts-base 4000
rtp net-base 16000
rtp ip-dscp 0
no rtcp-omit
sdp audio-payload number 126
sdp audio-payload name AMR/8000
loop 0
number endpoints 32
call-agent ip 127.0.0.1
rtp transcoder-base 0
transcoder-remote-base 4000
nat
msc ip 127.0.0.1
msc port 5100
token foo
timeout auth 2
timeout ping 20
timeout pong 5
ip-dscp 0
bscs-config-file bscs.config
access-list msceven imsi-allow ^[0-9]*[24680]$
access-list mscodd imsi-allow ^[0-9]*[13579]$
Loading…
Cancel
Save