summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-11-28 06:00:52 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-11-28 06:00:52 +0700
commitbc18afab589bdd7bb6e4e4956b76052b628fbc1b (patch)
tree2cb4819d6a05cc218626730f2f8142757fcc365d
parente68f927f1cf1dfe33fc230c203a6b775e5f73988 (diff)
library/SS_Templates.ttcn: add SS_USSD_FACILITY_INVOKE templates
-rw-r--r--library/SS_Templates.ttcn41
1 files changed, 41 insertions, 0 deletions
diff --git a/library/SS_Templates.ttcn b/library/SS_Templates.ttcn
index 1129108..6d8fcf2 100644
--- a/library/SS_Templates.ttcn
+++ b/library/SS_Templates.ttcn
@@ -122,6 +122,47 @@ template SS_FacilityInformation tr_SS_USSD_FACILITY_INVOKE(
}
}
+template (value) SS_FacilityInformation ts_SS_FACILITY_INVOKE(
+ integer invoke_id := 1,
+ SS_Op_Code op_code,
+ OCT1 ss_code
+) := {
+ {
+ invoke := {
+ invokeId := { present_ := invoke_id },
+ linkedId := omit,
+ opcode := { local := enum2int(op_code) },
+ argument := {
+ sS_ForBS_Code := {
+ ss_Code := ss_code,
+ basicService := omit,
+ longFTN_Supported := omit
+ }
+ }
+ }
+ }
+}
+template SS_FacilityInformation tr_SS_FACILITY_INVOKE(
+ template integer invoke_id := 1,
+ template integer op_code := ?,
+ template OCT1 ss_code := ?
+) := {
+ {
+ invoke := {
+ invokeId := { present_ := invoke_id },
+ linkedId := omit,
+ opcode := { local := op_code },
+ argument := {
+ sS_ForBS_Code := {
+ ss_Code := ss_code,
+ basicService := omit,
+ longFTN_Supported := omit
+ }
+ }
+ }
+ }
+}
+
template (value) SS_FacilityInformation ts_SS_USSD_FACILITY_RETURN_RESULT(
integer invoke_id := 1,
SS_Op_Code op_code := SS_OP_CODE_PROCESS_USS_REQ,