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


Change subject: msc: f_tc_mt_t310: logging instead of comments
......................................................................

msc: f_tc_mt_t310: logging instead of comments

Change-Id: Idccfac50e5f56abab6f8af4c18f7b083fb31b064
---
M msc/MSC_Tests.ttcn
1 file changed, 19 insertions(+), 5 deletions(-)



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

diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index 1767761..a0c86d1 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -1776,30 +1776,32 @@
        /* NOTE: MSC is expected to start T310 here */

        interleave {
-       /* MSC->MGW: CRCX (first) */
        [] MGCP.receive(tr_CRCX) -> value mgcp_cmd {
+               f_logp(MSCVTY, "MSC->MGW: CRCX (first)");
                f_handle_crcx(cpars, mgcp_cmd); /* MSC<-MGW: OK */
                }

-       /* BSC->BSC: BSSMAP ASSIGNMENT REQ */
        [] BSSAP.receive(tr_BSSMAP_AssignmentReq(omit, ?)) -> value bssap {
+               f_logp(MSCVTY, "BSC->BSC: BSSMAP ASSIGNMENT REQ");
                BSSAP.send(ts_BSSMAP_AssignmentComplete(omit,
                        aoip := f_ts_BSSMAP_IE_AoIP_TLA(cpars.bss_rtp_ip, 
cpars.bss_rtp_port),
                        speechCodec := ts_BSSMAP_IE_SpeechCodec({ ts_CodecFR 
})));
                }

-       /* MSC->MGW: MDCX */
        [] MGCP.receive(tr_MDCX) -> value mgcp_cmd {
+               f_logp(MSCVTY, "MSC->MGW: MDCX");
                MGCP.send(ts_MDCX_ACK(mgcp_cmd.line.trans_id, 
cpars.mgw_conn_1.mgcp_connection_id,
                        sdp := omit));
                }

-       /* MSC->MGW: CRCX (second) */
        [] MGCP.receive(tr_CRCX) -> value mgcp_cmd {
+               f_logp(MSCVTY, "MSC->MGW: CRCX (second)");
                f_handle_crcx(cpars, mgcp_cmd); /* MSC<-MGW: OK */
                }

-       [] MNCC.receive(tr_MNCC_RTP_CREATE(cpars.mncc_callref));
+       [] MNCC.receive(tr_MNCC_RTP_CREATE(cpars.mncc_callref)) {
+               f_logp(MSCVTY, "MSC->MSCC: RTP CREATE");
+               }
        }

        /* Reschedule the guard timeout */
@@ -1828,8 +1830,11 @@
        }

        BSSAP.receive(tr_PDU_DTAP_MT(tr_ML3_MT_CC_DISC(cpars.transaction_id)));
+       f_logp(MSCVTY, "rx DTAP CC DISC");
        
BSSAP.receive(tr_PDU_DTAP_MT(tr_ML3_MT_CC_RELEASE(cpars.transaction_id)));
+       f_logp(MSCVTY, "rx DTAP CC REL");
        BSSAP.send(ts_PDU_DTAP_MO(ts_ML3_MO_CC_REL_COMPL(cpars.transaction_id, 
'1'B)));
+       f_logp(MSCVTY, "tx DTAP CC REL COMPL");

        alt {
        [] MGCP.receive(tr_DLCX(?)) -> value mgcp_cmd {

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

Reply via email to