pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/29798 )
Change subject: Update examples to use mgw pooling VTY commands ......................................................................
Update examples to use mgw pooling VTY commands
Let's avoid guiding users towards the old deprecated VTY interface.
Line "mgw endpoint-range" is removed since it's nowadays deprected and implemented as a NOOP.
Related: SYS#5987 Change-Id: Iff74a9efca2a0a2c38d5ac39df704b2b211fd906 --- M doc/examples/osmo-bsc/osmo-bsc-4trx.cfg M doc/examples/osmo-bsc/osmo-bsc.cfg M doc/manuals/chapters/running.adoc M tests/ctrl/osmo-bsc-neigh-test.cfg 4 files changed, 17 insertions(+), 14 deletions(-)
Approvals: Jenkins Builder: Verified osmith: Looks good to me, but someone else must approve laforge: Looks good to me, but someone else must approve pespin: Looks good to me, approved
diff --git a/doc/examples/osmo-bsc/osmo-bsc-4trx.cfg b/doc/examples/osmo-bsc/osmo-bsc-4trx.cfg index f2fcf77..f0ba93f 100644 --- a/doc/examples/osmo-bsc/osmo-bsc-4trx.cfg +++ b/doc/examples/osmo-bsc/osmo-bsc-4trx.cfg @@ -7,6 +7,10 @@ encryption a5 0 neci 1 paging any use tch 0 + mgw 0 + mgw remote-ip 127.0.0.1 + mgw remote-port 2427 + mgw local-port 2727 bts 0 type osmo-bts band DCS1800 @@ -154,8 +158,5 @@ hopping enabled 0 msc 0 allow-emergency allow - mgw remote-ip 127.0.0.1 - mgw remote-port 2427 - mgw local-port 2727 bsc mid-call-timeout 0 diff --git a/doc/examples/osmo-bsc/osmo-bsc.cfg b/doc/examples/osmo-bsc/osmo-bsc.cfg index 17ca152..a42fa81 100644 --- a/doc/examples/osmo-bsc/osmo-bsc.cfg +++ b/doc/examples/osmo-bsc/osmo-bsc.cfg @@ -19,6 +19,10 @@ handover1 maximum distance 9999 ! T3212 is in units of 6min, so below we set 5 * 6 = 30min timer net T3212 5 + mgw 0 + mgw remote-ip 127.0.0.1 + mgw remote-port 2427 + mgw local-port 2727 bts 0 type osmo-bts band DCS1800 @@ -81,8 +85,5 @@ amr-config 5_90k allowed amr-config 5_15k forbidden amr-config 4_75k forbidden - mgw remote-ip 127.0.0.1 - mgw remote-port 2427 - mgw local-port 2727 bsc mid-call-timeout 0 diff --git a/doc/manuals/chapters/running.adoc b/doc/manuals/chapters/running.adoc index 8e1c8e9..6a985cf 100644 --- a/doc/manuals/chapters/running.adoc +++ b/doc/manuals/chapters/running.adoc @@ -134,10 +134,11 @@ Here is an example configuration for a remote MGW:
---- -msc 0 - mgw remote-ip 10.9.8.7 - mgw remote-port 2427 - mgw reset-endpoint rtpbridge/* <1> +network + mgw 0 + mgw remote-ip 10.9.8.7 + mgw remote-port 2427 + mgw reset-endpoint rtpbridge/* <1> ---- <1> The 'reset-endpoint' setting instructs the OsmoBSC to send a wildcarded DLCX to the media gateway. This helps to clear lingering calls from the diff --git a/tests/ctrl/osmo-bsc-neigh-test.cfg b/tests/ctrl/osmo-bsc-neigh-test.cfg index b1c5bdf..51d1ec9 100644 --- a/tests/ctrl/osmo-bsc-neigh-test.cfg +++ b/tests/ctrl/osmo-bsc-neigh-test.cfg @@ -16,6 +16,10 @@ handover1 maximum distance 9999 periodic location update 30 neighbor-resolution bind 127.0.0.1 + mgw 0 + mgw remote-ip 127.0.0.1 + mgw remote-port 2427 + mgw local-port 2727 bts 0 type osmo-bts band DCS1800 @@ -138,9 +142,5 @@ amr-config 5_90k allowed amr-config 5_15k forbidden amr-config 4_75k forbidden - mgw remote-ip 127.0.0.1 - mgw remote-port 2427 - mgw local-port 2727 - mgw endpoint-range 1 31 bsc mid-call-timeout 0