Change in osmo-ttcn3-hacks[master]: as_handover: fix for signalling channel, without MGCP

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/.

neels gerrit-no-reply at lists.osmocom.org
Mon Oct 12 18:58:34 UTC 2020


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20620 )


Change subject: as_handover: fix for signalling channel, without MGCP
......................................................................

as_handover: fix for signalling channel, without MGCP

Change-Id: I276f82841c07f8a885ee0659002d4a41e5b180e4
---
M bsc/MSC_ConnectionHandler.ttcn
1 file changed, 5 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/20/20620/1

diff --git a/bsc/MSC_ConnectionHandler.ttcn b/bsc/MSC_ConnectionHandler.ttcn
index 8398acb..633b692 100644
--- a/bsc/MSC_ConnectionHandler.ttcn
+++ b/bsc/MSC_ConnectionHandler.ttcn
@@ -1325,9 +1325,11 @@
 		 * time. When we receive the RSL_RF_CHAN_REL command the media negotiation on
 		 * IPACC or MGCP level may be still in progress. In order to make sure that
 		 * we do only stop when we have seen an MDCX on MGCP level and another a CRCX
-		 * as well as an MDCX on IPACC level. */
-		if (g_media.mgcp_conn[0].mdcx_seen <= st.mdcx_seen_before_ho or
-		    g_media.bts1.ipa_mdcx_seen == false or g_media.bts1.ipa_crcx_seen == false) {
+		 * as well as an MDCX on IPACC level.
+		 * If ipa_crcx_seen is false, this is not a voice channel and we need not check MGCP at all.. */
+		if (g_media.bts.ipa_crcx_seen
+		    and (g_media.mgcp_conn[0].mdcx_seen <= st.mdcx_seen_before_ho or
+		         g_media.bts1.ipa_mdcx_seen == false or g_media.bts1.ipa_crcx_seen == false)) {
 			repeat;
 		} else {
 			st.handover_done := true;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20620
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I276f82841c07f8a885ee0659002d4a41e5b180e4
Gerrit-Change-Number: 20620
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201012/3d417a76/attachment.htm>


More information about the gerrit-log mailing list