osmith has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-gsm-tester/+/30421 )

Change subject: templates: osmo-msc: modernize
......................................................................

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
---
M src/osmo_gsm_tester/templates/osmo-msc.cfg.tmpl
1 file changed, 4 insertions(+), 5 deletions(-)

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



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 @@
  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 @@
   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:

--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/30421
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I077c4cd4c593da776a306117ad2a898a82d91064
Gerrit-Change-Number: 30421
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osm...@sysmocom.de>
Gerrit-Reviewer: osmith <osm...@sysmocom.de>
Gerrit-Reviewer: pespin <pes...@sysmocom.de>
Gerrit-MessageType: merged

Reply via email to