Change in osmo-ttcn3-hacks[master]: BSSAP_Adapter: Connect ConnHdlr:MGCP to IPA MGCP in SCCPlite case

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
Sun May 27 15:33:27 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/9336 )

Change subject: BSSAP_Adapter: Connect ConnHdlr:MGCP to IPA MGCP in SCCPlite case
......................................................................

BSSAP_Adapter: Connect ConnHdlr:MGCP to IPA MGCP in SCCPlite case

Change-Id: Ic86dd023693df5ad593eec090af815c926f87d34
---
M library/BSSAP_Adapter.ttcn
1 file changed, 5 insertions(+), 0 deletions(-)

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



diff --git a/library/BSSAP_Adapter.ttcn b/library/BSSAP_Adapter.ttcn
index 7404a6f..b46bb3e 100644
--- a/library/BSSAP_Adapter.ttcn
+++ b/library/BSSAP_Adapter.ttcn
@@ -155,6 +155,11 @@
 		log("Connecting BSSMAP Emulation to SCCP_SP_PORT and starting emulation");
 		/* connect BSSNAP component to upposer side of SCCP */
 		connect(ba.vc_BSSMAP:BSSAP, ba.vc_SCCP:SCCP_SP_PORT);
+		if (cfg.transport == BSSAP_TRANSPORT_SCCPlite_SERVER or
+		    cfg.transport == BSSAP_TRANSPORT_SCCPlite_CLIENT) {
+			/* connect IPA MGCP port with BSSMAP MGCP port */
+			connect(ba.vc_IPA:IPA_MGCP_PORT, ba.vc_BSSMAP:MGCP);
+		}
 		/* start the BSSMAP emulation */
 		ba.vc_BSSMAP.start(BSSMAP_Emulation.main(valueof(ops), ""));
 	}

-- 
To view, visit https://gerrit.osmocom.org/9336
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic86dd023693df5ad593eec090af815c926f87d34
Gerrit-Change-Number: 9336
Gerrit-PatchSet: 2
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180527/7d1a645e/attachment.htm>


More information about the gerrit-log mailing list