path: root/msc/MSC_Tests.ttcn
diff options
authorPau Espin Pedrol <>2019-06-18 17:21:52 +0200
committerlaforge <>2019-06-24 13:53:25 +0000
commit1a026a52d3e7c2914f8775c15245dbfbef5bdd40 (patch)
treef3708dc7420f058a69c062db78579a86a178264e /msc/MSC_Tests.ttcn
parent513b831cdacb2ff41fe87f2770fb0b96a64d4ce4 (diff)
lib/mgcp: Add new port with support to handle multiple MGCP sockets
* Some scenarios like MGW BSC-attached in SCCPlite require handling of 2 MGCP-over-UDP sockets in MGCP Emulation: 1 for regular libosmomgcp-client from osmo-bsc and another one from the forward socket from osmo-bsc (of MGCP-over-IPA messages communicated with MSC). * Old port is kept for backward compatibility with other tests and enabled by default. It's also interesting to keep it because it makes tests without special needs (2 sockets) to use the old port/API which produces simpler code to read and mantain. * Users of the new port have to enable multi_conn_mode parameter and expect to interact with port MGCP_CLIENT_MULTI instead of MGCP_CLIENT, which will offer messages containing information about the UDP connection being used by that message. Change-Id: Ic0ba8c5cde068c07671512a83095d83e28b86746
Diffstat (limited to 'msc/MSC_Tests.ttcn')
1 files changed, 2 insertions, 1 deletions
diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index b00e032..4b00e34 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -230,7 +230,8 @@ function f_init_mgcp(charstring id) runs on MTC_CT {
callagent_ip := mp_msc_ip,
callagent_udp_port := -1,
mgw_ip := mp_mgw_ip,
- mgw_udp_port := mp_mgw_port
+ mgw_udp_port := mp_mgw_port,
+ multi_conn_mode := false
vc_MGCP := MGCP_Emulation_CT.create(id);