aboutsummaryrefslogtreecommitdiffstats
path: root/library/SMPP_Templates.ttcn
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-04-14 17:49:21 +0200
committerHarald Welte <laforge@gnumonks.org>2018-04-14 21:58:16 +0200
commitf640a013111c7d99b807cb0ac1b7d8f8eaae923b (patch)
tree728302e4f83aff25fb3b67bb8c15f3ba7d20b744 /library/SMPP_Templates.ttcn
parent32ff8b90f4384b5a8732df06c0a1f24da5c7ffb5 (diff)
msc: Add SMPP tests for MO + MT SMS
Diffstat (limited to 'library/SMPP_Templates.ttcn')
-rw-r--r--library/SMPP_Templates.ttcn15
1 files changed, 15 insertions, 0 deletions
diff --git a/library/SMPP_Templates.ttcn b/library/SMPP_Templates.ttcn
index 9a56cf2c..2ff675dd 100644
--- a/library/SMPP_Templates.ttcn
+++ b/library/SMPP_Templates.ttcn
@@ -119,6 +119,21 @@ template (value) SMPP_PDU ts_SMPP_DELIVER_SM_resp(SMPP_error_code status, intege
}
}
+template (value) SMPP_PDU ts_SMPP_SUBMIT_SM(SMPP_SM sm) := {
+ header := ts_SMPP_hdr(c_SMPP_command_id_submit_sm, ESME_ROK),
+ body := {
+ submit_sm := sm
+ }
+}
+
+/* Section 5.2.12 esm_class */
+template SMPP_BIT1 tr_ESM_CLASS_DEFAULT := '??????00'B;
+template SMPP_BIT1 tr_ESM_CLASS_DATAGRAM := '??????01'B;
+template SMPP_BIT1 tr_ESM_CLASS_TRANSACTION := '??????10'B;
+template SMPP_BIT1 tr_ESM_CLASS_STORE_FORWARD := '??????11'B;
+template SMPP_BIT1 tr_ESM_CLASS_UDHI := '?1??????'B;
+template SMPP_BIT1 tr_ESM_CLASS_REPLYP_PATH := '1???????'B;
+