aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2022-12-01 15:16:30 +0100
committerOliver Smith <osmith@sysmocom.de>2022-12-01 15:28:36 +0100
commitbfc438bb2b17f4129018768a1f7bab52f1e96750 (patch)
treefb6e98885e268c72dadd60f558a2b96f43ac4dd8
parentb172c066fb73e0156f9be2f024ae625e31f39abc (diff)
templates: osmo-msc: modernize
Configure the mgw in the mgw node, and drop the obsolete commands endpoint-range and bts-base. Fix for: | Error occurred during reading the below line: | mgw bts-base 8000 | | % MGCP commands outside of 'mgw' nodes are deprecated. You should consider reading User Manual and migrating to 'mgw' node. Change-Id: I077c4cd4c593da776a306117ad2a898a82d91064
-rw-r--r--src/osmo_gsm_tester/templates/osmo-msc.cfg.tmpl9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/osmo_gsm_tester/templates/osmo-msc.cfg.tmpl b/src/osmo_gsm_tester/templates/osmo-msc.cfg.tmpl
index 39cde5f..1b91672 100644
--- a/src/osmo_gsm_tester/templates/osmo-msc.cfg.tmpl
+++ b/src/osmo_gsm_tester/templates/osmo-msc.cfg.tmpl
@@ -18,6 +18,10 @@ network
long name ${msc.net.long_name}
encryption ${msc.net.encryption}
authentication ${msc.net.authentication}
+ mgw 0
+ remote-ip ${mgw.ip_address.addr}
+ remote-port 2427
+ local-ip ${msc.ip_address.addr}
cs7 instance 0
point-code 0.0.1
asp asp0 2905 0 m3ua
@@ -27,11 +31,6 @@ cs7 instance 0
asp asp0
routing-key 1 0.0.1
msc
- mgw remote-ip ${mgw.ip_address.addr}
- mgw remote-port 2427
- mgw local-ip ${msc.ip_address.addr}
- mgw endpoint-range 1 31
- mgw bts-base 8000
osmux ${msc.use_osmux}
assign-tmsi
%if msc.get('emergency_call_msisdn', None) is not None: