library/GSUP_Types: set Message Class IE in send templates for SMS
We do expect it in receive templates for SMS, so let's also
indluce it in the send templates.
Change-Id: I6468d8606eb85c811d86e4a1407ee60c8a36fbea
Related: OS#6135
diff --git a/library/GSUP_Types.ttcn b/library/GSUP_Types.ttcn
index c3563bc..323776f 100644
--- a/library/GSUP_Types.ttcn
+++ b/library/GSUP_Types.ttcn
@@ -1616,7 +1616,8 @@
valueof(ts_GSUP_IE_SM_RP_MR(sm_rp_mr)),
valueof(ts_GSUP_IE_SM_RP_DA(sm_rp_da)),
valueof(ts_GSUP_IE_SM_RP_OA(sm_rp_oa)),
- valueof(ts_GSUP_IE_SM_RP_UI(sm_rp_ui))
+ valueof(ts_GSUP_IE_SM_RP_UI(sm_rp_ui)),
+ valueof(ts_GSUP_IE_Message_Class(OSMO_GSUP_MESSAGE_CLASS_SMS))
}
);
template GSUP_PDU tr_GSUP_MO_FORWARD_SM_REQ(
@@ -1644,7 +1645,8 @@
OSMO_GSUP_MSGT_MO_FORWARD_SM_RESULT,
{
valueof(ts_GSUP_IE_IMSI(imsi)),
- valueof(ts_GSUP_IE_SM_RP_MR(sm_rp_mr))
+ valueof(ts_GSUP_IE_SM_RP_MR(sm_rp_mr)),
+ valueof(ts_GSUP_IE_Message_Class(OSMO_GSUP_MESSAGE_CLASS_SMS))
}
);
template GSUP_PDU tr_GSUP_MO_FORWARD_SM_RES(
@@ -1668,7 +1670,8 @@
{
valueof(ts_GSUP_IE_IMSI(imsi)),
valueof(ts_GSUP_IE_SM_RP_MR(sm_rp_mr)),
- valueof(ts_GSUP_IE_SM_RP_CAUSE(sm_rp_cause))
+ valueof(ts_GSUP_IE_SM_RP_CAUSE(sm_rp_cause)),
+ valueof(ts_GSUP_IE_Message_Class(OSMO_GSUP_MESSAGE_CLASS_SMS))
}
);
template GSUP_PDU tr_GSUP_MO_FORWARD_SM_ERR(
@@ -1705,7 +1708,8 @@
valueof(ts_GSUP_IE_SM_RP_DA(sm_rp_da)),
valueof(ts_GSUP_IE_SM_RP_OA(sm_rp_oa)),
valueof(ts_GSUP_IE_SM_RP_UI(sm_rp_ui)),
- valueof(ts_GSUP_IE_SM_RP_MMS(sm_rp_mms))
+ valueof(ts_GSUP_IE_SM_RP_MMS(sm_rp_mms)),
+ valueof(ts_GSUP_IE_Message_Class(OSMO_GSUP_MESSAGE_CLASS_SMS))
}
);
template GSUP_PDU tr_GSUP_MT_FORWARD_SM_REQ(
@@ -1740,7 +1744,8 @@
OSMO_GSUP_MSGT_MT_FORWARD_SM_RESULT,
{
valueof(ts_GSUP_IE_IMSI(imsi)),
- valueof(ts_GSUP_IE_SM_RP_MR(sm_rp_mr))
+ valueof(ts_GSUP_IE_SM_RP_MR(sm_rp_mr)),
+ valueof(ts_GSUP_IE_Message_Class(OSMO_GSUP_MESSAGE_CLASS_SMS))
}
);
template GSUP_PDU tr_GSUP_MT_FORWARD_SM_RES(
@@ -1764,7 +1769,8 @@
{
valueof(ts_GSUP_IE_IMSI(imsi)),
valueof(ts_GSUP_IE_SM_RP_MR(sm_rp_mr)),
- valueof(ts_GSUP_IE_SM_RP_CAUSE(sm_rp_cause))
+ valueof(ts_GSUP_IE_SM_RP_CAUSE(sm_rp_cause)),
+ valueof(ts_GSUP_IE_Message_Class(OSMO_GSUP_MESSAGE_CLASS_SMS))
}
);
template GSUP_PDU tr_GSUP_MT_FORWARD_SM_ERR(
@@ -1790,7 +1796,8 @@
{
valueof(ts_GSUP_IE_IMSI(imsi)),
valueof(ts_GSUP_IE_SM_RP_MR(sm_rp_mr)),
- valueof(ts_GSUP_IE_SM_ALERT_RSN(sm_alert_rsn))
+ valueof(ts_GSUP_IE_SM_ALERT_RSN(sm_alert_rsn)),
+ valueof(ts_GSUP_IE_Message_Class(OSMO_GSUP_MESSAGE_CLASS_SMS))
}
);
template GSUP_PDU tr_GSUP_MO_READY_FOR_SM_REQ(
@@ -1814,7 +1821,8 @@
OSMO_GSUP_MSGT_READY_FOR_SM_RESULT,
{
valueof(ts_GSUP_IE_IMSI(imsi)),
- valueof(ts_GSUP_IE_SM_RP_MR(sm_rp_mr))
+ valueof(ts_GSUP_IE_SM_RP_MR(sm_rp_mr)),
+ valueof(ts_GSUP_IE_Message_Class(OSMO_GSUP_MESSAGE_CLASS_SMS))
}
);
template GSUP_PDU tr_GSUP_MO_READY_FOR_SM_RES(
@@ -1838,7 +1846,8 @@
{
valueof(ts_GSUP_IE_IMSI(imsi)),
valueof(ts_GSUP_IE_SM_RP_MR(sm_rp_mr)),
- valueof(ts_GSUP_IE_SM_RP_CAUSE(sm_rp_cause))
+ valueof(ts_GSUP_IE_SM_RP_CAUSE(sm_rp_cause)),
+ valueof(ts_GSUP_IE_Message_Class(OSMO_GSUP_MESSAGE_CLASS_SMS))
}
);
template GSUP_PDU tr_GSUP_MO_READY_FOR_SM_ERR(