summaryrefslogtreecommitdiffstats
path: root/bsc-nat
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2018-10-30 15:27:25 +0100
committerHarald Welte <laforge@gnumonks.org>2019-03-29 11:12:14 +0000
commit53cccab4e9b8d39246771504a2df728a1dc24a2e (patch)
tree5dbfe2d3707124a34aa616edce06998e4e3b3e53 /bsc-nat
parentc07f6f5f24db28a160b88b79458fe9a400ba2371 (diff)
bsc-nat: Add sample bsc-nat config for test
Diffstat (limited to 'bsc-nat')
-rw-r--r--bsc-nat/bscs.config19
-rw-r--r--bsc-nat/osmo-bsc-nat.cfg67
2 files changed, 86 insertions, 0 deletions
diff --git a/bsc-nat/bscs.config b/bsc-nat/bscs.config
new file mode 100644
index 00000000..6afa09b6
--- /dev/null
+++ b/bsc-nat/bscs.config
@@ -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
diff --git a/bsc-nat/osmo-bsc-nat.cfg b/bsc-nat/osmo-bsc-nat.cfg
new file mode 100644
index 00000000..ec1a7c2f
--- /dev/null
+++ b/bsc-nat/osmo-bsc-nat.cfg
@@ -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]$