diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile.am | 3 | ||||
-rw-r--r-- | doc/examples/Makefile.am | 30 | ||||
-rw-r--r-- | doc/examples/osmo-msc/osmo-msc.cfg | 21 | ||||
-rw-r--r-- | doc/examples/osmo-msc/osmo-msc_custom-sccp.cfg | 27 | ||||
-rw-r--r-- | doc/examples/osmo-msc/osmo-msc_multi-cs7.cfg | 29 |
5 files changed, 110 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am new file mode 100644 index 000000000..5a231074c --- /dev/null +++ b/doc/Makefile.am @@ -0,0 +1,3 @@ +SUBDIRS = \ + examples \ + $(NULL) diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am new file mode 100644 index 000000000..af36318f9 --- /dev/null +++ b/doc/examples/Makefile.am @@ -0,0 +1,30 @@ +OSMOCONF_FILES = \ + osmo-msc/osmo-msc.cfg + +osmoconfdir = $(sysconfdir)/osmocom +osmoconf_DATA = $(OSMOCONF_FILES) + +EXTRA_DIST = $(OSMOCONF_FILES) + +CFG_FILES = find $(srcdir) -name '*.cfg*' | sed -e 's,^$(srcdir),,' + +dist-hook: + for f in $$($(CFG_FILES)); do \ + j="$(distdir)/$$f" && \ + mkdir -p "$$(dirname $$j)" && \ + $(INSTALL_DATA) $(srcdir)/$$f $$j; \ + done + +install-data-hook: + for f in $$($(CFG_FILES)); do \ + j="$(DESTDIR)$(docdir)/examples/$$f" && \ + mkdir -p "$$(dirname $$j)" && \ + $(INSTALL_DATA) $(srcdir)/$$f $$j; \ + done + +uninstall-hook: + @$(PRE_UNINSTALL) + for f in $$($(CFG_FILES)); do \ + j="$(DESTDIR)$(docdir)/examples/$$f" && \ + $(RM) $$j; \ + done diff --git a/doc/examples/osmo-msc/osmo-msc.cfg b/doc/examples/osmo-msc/osmo-msc.cfg new file mode 100644 index 000000000..f80143d21 --- /dev/null +++ b/doc/examples/osmo-msc/osmo-msc.cfg @@ -0,0 +1,21 @@ +! +! OsmoMSC configuration saved from vty +! +line vty + no login +! +network + network country code 1 + mobile network code 1 + short name OsmoMSC + long name OsmoMSC + encryption a5 0 + rrlp mode none + mm info 1 +msc + mgw remote-ip 10.23.24.1 + mgw remote-port 2427 + mgw local-port 2728 + assign-tmsi + auth-tuple-max-reuse-count 3 + auth-tuple-reuse-on-error 1 diff --git a/doc/examples/osmo-msc/osmo-msc_custom-sccp.cfg b/doc/examples/osmo-msc/osmo-msc_custom-sccp.cfg new file mode 100644 index 000000000..39ca9d496 --- /dev/null +++ b/doc/examples/osmo-msc/osmo-msc_custom-sccp.cfg @@ -0,0 +1,27 @@ +! +! OsmoMSC configuration saved from vty +! +line vty + no login +! +network + network country code 1 + mobile network code 1 + short name OsmoMSC + long name OsmoMSC + encryption a5 0 + rrlp mode none + mm info 1 +cs7 instance 0 + point-code 0.23.1 + asp asp-clnt-OsmoMSC-A-Iu 2905 0 m3ua + ! where to reach the STP: + remote-ip 127.0.0.5 +! local-ip 10.23.24.1 +msc + cs7-instance-a 0 + cs7-instance-iu 0 + mgw remote-ip 10.23.24.1 + mgw remote-port 2427 + mgw local-port 2728 + assign-tmsi diff --git a/doc/examples/osmo-msc/osmo-msc_multi-cs7.cfg b/doc/examples/osmo-msc/osmo-msc_multi-cs7.cfg new file mode 100644 index 000000000..2af17261d --- /dev/null +++ b/doc/examples/osmo-msc/osmo-msc_multi-cs7.cfg @@ -0,0 +1,29 @@ +! +! OsmoMSC configuration saved from vty +! +line vty + no login +! +network + network country code 1 + mobile network code 1 + short name OsmoMSC + long name OsmoMSC + encryption a5 0 + rrlp mode none + mm info 1 +cs7 instance 0 + point-code 0.23.1 + asp asp-clnt-OsmoMSC-A 2905 0 m3ua + remote-ip 127.0.0.5 +cs7 instance 1 + point-code 0.23.2 + asp asp-clnt-OsmoMSC-Iu 2905 0 m3ua + remote-ip 127.0.0.6 +msc + cs7-instance-a 0 + cs7-instance-iu 1 + mgw remote-ip 10.23.24.1 + mgw remote-port 2427 + mgw local-port 2728 + assign-tmsi |