Change in ...docker-playground[master]: osmo-nitb-master: Add default config file for osmo-bsc_nat

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

daniel gerrit-no-reply at lists.osmocom.org
Wed Jun 19 12:40:54 UTC 2019


daniel has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/docker-playground/+/14526 )

Change subject: osmo-nitb-master: Add default config file for osmo-bsc_nat
......................................................................

osmo-nitb-master: Add default config file for osmo-bsc_nat

Change-Id: I44bb395009582f5e1399f277e15203553c2dcf78
Related: OS#1700
---
M osmo-nitb-master/Dockerfile
A osmo-nitb-master/bscs.config
A osmo-nitb-master/osmo-bsc-nat.cfg
3 files changed, 65 insertions(+), 0 deletions(-)

Approvals:
  daniel: Verified
  pespin: Looks good to me, approved



diff --git a/osmo-nitb-master/Dockerfile b/osmo-nitb-master/Dockerfile
index c7fb008..3e20ec8 100644
--- a/osmo-nitb-master/Dockerfile
+++ b/osmo-nitb-master/Dockerfile
@@ -42,6 +42,8 @@
 VOLUME	/data
 
 COPY	openbsc.cfg /data/openbsc.cfg
+COPY	osmo-bsc-nat.cfg /data/osmo-bsc-nat.cfg
+COPY	bscs.config /data/bscs.config
 
 WORKDIR	/data
 CMD	["/usr/local/bin/osmo-nitb"]
diff --git a/osmo-nitb-master/bscs.config b/osmo-nitb-master/bscs.config
new file mode 100644
index 0000000..16cfa2b
--- /dev/null
+++ b/osmo-nitb-master/bscs.config
@@ -0,0 +1,22 @@
+nat
+ bsc 0
+  token BSC0
+  location_area_code 1
+  description bsc
+  max-endpoints 32
+  paging forbidden 0
+  osmux on
+ bsc 1
+  token BSC1
+  location_area_code 2
+  description bsc
+  max-endpoints 32
+  paging forbidden 0
+  osmux on
+ bsc 2
+  token BSC2
+  location_area_code 3
+  description bsc
+  max-endpoints 32
+  paging forbidden 0
+  osmux on
diff --git a/osmo-nitb-master/osmo-bsc-nat.cfg b/osmo-nitb-master/osmo-bsc-nat.cfg
new file mode 100644
index 0000000..0179a94
--- /dev/null
+++ b/osmo-nitb-master/osmo-bsc-nat.cfg
@@ -0,0 +1,41 @@
+!
+! OsmoBSCNAT (0.12.0.266-2daa9) configuration saved from vty
+!!
+!
+log file /data/osmo-bsc_nat.log
+  logging filter all 1
+  logging color 0
+  logging print category 1
+  logging timestamp 1
+  logging print extended-timestamp 1
+  logging level force-all debug
+!
+line vty
+ no login
+ bind 0.0.0.0
+!
+mgcp
+  bind ip 0.0.0.0
+  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]$

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/14526
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I44bb395009582f5e1399f277e15203553c2dcf78
Gerrit-Change-Number: 14526
Gerrit-PatchSet: 2
Gerrit-Owner: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190619/944666c9/attachment.htm>


More information about the gerrit-log mailing list