dexter has uploaded this change for review. ( https://gerrit.osmocom.org/10005
Change subject: MSC_ConnectionHandler: expect additional MDCX when call is LCLS
......................................................................
MSC_ConnectionHandler: expect additional MDCX when call is LCLS
The function f_establish_f_establish_fully does not yet handle the
case where calls get switched locally. In those cases we expect to
see one additional MDCX before the BSSMAP ASSIGNMENT COMPLETE is
sent.
- Check exp_ass_cpl if the call is expected to be LCLS and expect
another MDCX for those cases.
Change-Id: I55fae5ab03980cd810ed7dc38208550686b1659e
Related: OS#3292
---
M bsc/MSC_ConnectionHandler.ttcn
1 file changed, 12 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks
refs/changes/05/10005/1
diff --git a/bsc/MSC_ConnectionHandler.ttcn b/bsc/MSC_ConnectionHandler.ttcn
index dd13ee2..794e573 100644
--- a/bsc/MSC_ConnectionHandler.ttcn
+++ b/bsc/MSC_ConnectionHandler.ttcn
@@ -951,6 +951,18 @@
self.stop;
}
+ /* When the BSC detects that LCLS is possible it will cross the
+ * connetions that point to the PBX side of the MGW. In our case this
+ * is mgcp_conn[1]. The BSC performs this operation already before the
+ * assignment complete is generated. This means we expect another MDCX
+ * at mgcp_conn[1] when LCLS is expected. */
+ if
(ispresent(exp_ass_cpl.pdu.bssmap.assignmentComplete.lCLS_BSS_Status.lCLS_BSS_StatusValue))
{
+ if
(valueof(exp_ass_cpl.pdu.bssmap.assignmentComplete.lCLS_BSS_Status.lCLS_BSS_StatusValue)
== LCLS_STS_locally_switched) {
+ g_media.mgcp_conn[1].mdcx_seen_exp :=
g_media.mgcp_conn[1].mdcx_seen_exp + 1;
+
+ }
+ }
+
f_check_mgcp_expectations("f_establish_fully");
}
--
To view, visit https://gerrit.osmocom.org/10005
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I55fae5ab03980cd810ed7dc38208550686b1659e
Gerrit-Change-Number: 10005
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <[email protected]>