[MERGED] osmo-ttcn3-hacks[master]: msc: Make MGW ip/port parameters configurable as module para...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sat Jan 27 19:16:17 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: msc: Make MGW ip/port parameters configurable as module parameters
......................................................................


msc: Make MGW ip/port parameters configurable as module parameters

Change-Id: I9148ebd687a1cf96a4b8c433e771785e30216cbc
---
M msc/MSC_Tests.ttcn
1 file changed, 5 insertions(+), 3 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index d0000d8..b6b38dd 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -71,6 +71,8 @@
 	/* local parameters of emulated HLR */
 	charstring mp_hlr_ip := "127.0.0.1";
 	integer mp_hlr_port := 4222;
+	charstring mp_mgw_ip := "127.0.0.1";
+	integer mp_mgw_port := 2427;
 
 	charstring mp_msc_mncc := "/tmp/mncc";
 }
@@ -95,10 +97,10 @@
 		unitdata_cb := refers(MGCP_Emulation.DummyUnitdataCallback)
 	}
 	var MGCP_conn_parameters pars := {
-		callagent_ip := "127.0.0.1",
+		callagent_ip := mp_msc_ip,
 		callagent_udp_port := -1,
-		mgw_ip := "127.0.0.1",
-		mgw_udp_port := 2427
+		mgw_ip := mp_mgw_ip,
+		mgw_udp_port := mp_mgw_port
 	}
 
 	vc_MGCP := MGCP_Emulation_CT.create(id);

-- 
To view, visit https://gerrit.osmocom.org/6140
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9148ebd687a1cf96a4b8c433e771785e30216cbc
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list