From 53cccab4e9b8d39246771504a2df728a1dc24a2e Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Tue, 30 Oct 2018 15:27:25 +0100 Subject: bsc-nat: Add sample bsc-nat config for test Change-Id: I0ab3a4fb66201cd134238f5efcf6ff80033011e3 --- bsc-nat/bscs.config | 19 ++++++++++++++ bsc-nat/osmo-bsc-nat.cfg | 67 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 bsc-nat/bscs.config create mode 100644 bsc-nat/osmo-bsc-nat.cfg (limited to 'bsc-nat') 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]$ -- cgit v1.2.3