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
This commit is contained in:
Oliver Smith 2022-12-01 15:16:30 +01:00
parent b172c066fb
commit bfc438bb2b
1 changed files with 4 additions and 5 deletions

View File

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