WIP: MSC: Add MO call testing
Change-Id: If32cb359b3cf732c4752856538552595dbbf2a8a
diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn
index 0da4706..be9386a 100644
--- a/library/L3_Templates.ttcn
+++ b/library/L3_Templates.ttcn
@@ -427,6 +427,52 @@
}
}
+template PDU_ML3_NW_MS tr_ML3_MT_CC_DISC(integer tid) := {
+ discriminator := '0011'B,
+ tiOrSkip := {
+ transactionId := {
+ tio := int2bit(tid, 3),
+ tiFlag := ?,
+ tIExtension := omit
+ }
+ },
+ msgs := {
+ cc := {
+ disconnect_NW_MS := {
+ messageType := '100101'B,
+ nsd := '00'B,
+ cause := ?,
+ facility := *,
+ progressIndicator := *,
+ user_user := *,
+ allowedActions := *
+ }
+ }
+ }
+}
+
+template PDU_ML3_NW_MS tr_ML3_MT_CC_RELEASE(integer tid) := {
+ discriminator := '0011'B,
+ tiOrSkip := {
+ transactionId := {
+ tio := int2bit(tid, 3),
+ tiFlag := ?,
+ tIExtension := omit
+ }
+ },
+ msgs := {
+ cc := {
+ release_NW_MS := {
+ messageType := '101101'B,
+ nsd := '00'B,
+ cause := ?,
+ secondCause := *,
+ facility := *,
+ user_user := *
+ }
+ }
+ }
+}
diff --git a/library/MNCC_Types.ttcn b/library/MNCC_Types.ttcn
index e5d6af9..46159b7 100644
--- a/library/MNCC_Types.ttcn
+++ b/library/MNCC_Types.ttcn
@@ -274,6 +274,18 @@
variant (coding) "FIELDLENGTH(32)";
}
+template MNCC_cause ts_MNCC_cause(int val,
+ GSM48_cause_loc loc := GSM48_CAUSE_LOC_PUN_S_LU,
+ GSM48_cause_coding coding := GSM48_CAUSE_CS_GSM,
+ octetstring diag := ''O) := {
+ location := loc,
+ coding := coding,
+ rec := 0,
+ rec_val := 0,
+ val := val,
+ diag := diag
+}
+
type record MNCC_useruser {
int proto,
charstring info