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


Change subject: bsc: as_mgcp_ack_all_dlcx: support sccplite
......................................................................

bsc: as_mgcp_ack_all_dlcx: support sccplite

Fix the "Unexpected DLCX received" error in TC_assignment_csd with
sccplite. Without the patch, f_perform_clear() does not catch the DLCX
for sccplite.

Related: OS#4393
Change-Id: I9a3a4407510143af4bbc77a8cfe51a137945b716
---
M bsc/BSC_Tests.ttcn
1 file changed, 27 insertions(+), 1 deletion(-)



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

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 878083e..5e739b2 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -8466,10 +8466,22 @@

 private altstep as_mgcp_ack_all_dlcx() runs on MSC_ConnHdlr {
        var MgcpCommand mgcp_cmd;
-       [] MGCP.receive(tr_DLCX(?)) -> value mgcp_cmd {
+       var template MgcpMessage msg_dlcx := {
+               command := tr_DLCX
+       }
+       var MGCP_RecvFrom mrf;
+
+       [g_pars.aoip] MGCP.receive(tr_DLCX(?)) -> value mgcp_cmd {
                MGCP.send(ts_DLCX_ACK2(mgcp_cmd.line.trans_id));
                repeat;
        }
+
+       [not g_pars.aoip] MGCP_MULTI.receive(tr_MGCP_RecvFrom_any(msg_dlcx)) -> 
value mrf {
+               MGCP_MULTI.send(t_MGCP_SendToMrf(mrf, MgcpMessage:{
+                       response := ts_DLCX_ACK2(mrf.msg.command.line.trans_id)
+               }));
+               repeat;
+       }
 }

 private altstep as_rsl_ack_all_rel_req() runs on MSC_ConnHdlr {

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/32659
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: I9a3a4407510143af4bbc77a8cfe51a137945b716
Gerrit-Change-Number: 32659
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-MessageType: newchange

Reply via email to