aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-02-25 12:43:28 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-25 12:59:56 +0100
commit8bd0f82b001633e66a25264d80a3a2856b7dc387 (patch)
tree0bb7a9d195cb4b5d7c827654cd5958cf69fbed0a /library
parent02369801d57cef085d3c14f398d7d3ece79a0fd5 (diff)
RSL_Types: Remove RT_PT2 from tr_RSL_IPA_CRCX_ACK
The way how TTCN-3 templates work we cannot use a template parameter to decide if we want to match only on messages that contain a matching RTP_PT2, or (alternatively) on any messages whether or not they have a RTP_PT2 IE at all :( Change-Id: I7a4f5d7e1d44994316717da5b769e278ea188b12
Diffstat (limited to 'library')
-rw-r--r--library/RSL_Types.ttcn7
1 files changed, 3 insertions, 4 deletions
diff --git a/library/RSL_Types.ttcn b/library/RSL_Types.ttcn
index 79f5920b..45d6aecd 100644
--- a/library/RSL_Types.ttcn
+++ b/library/RSL_Types.ttcn
@@ -1327,16 +1327,15 @@ template RSL_Message tr_RSL_MsgTypeDR(template RSL_MessageType msg_type) modifie
template RSL_Message tr_RSL_IPA_CRCX_ACK(template RslChannelNr chan_nr,
template uint16_t ipa_conn_id,
template uint32_t local_ip,
- template uint16_t local_port,
- template uint7_t rtp_pt2) := {
+ template uint16_t local_port) := {
msg_disc := ts_RSL_MsgDisc(RSL_MDISC_IPACCESS, false),
msg_type := RSL_MT_IPAC_CRCX_ACK,
ies := {
tr_RSL_IE(RSL_IE_Body:{chan_nr := chan_nr}),
tr_RSL_IE(RSL_IE_Body:{ipa_conn_id := ipa_conn_id}),
tr_RSL_IE(RSL_IE_Body:{ipa_local_ip := local_ip}),
- tr_RSL_IE(RSL_IE_Body:{ipa_local_port := local_port}),
- tr_RSL_IE(RSL_IE_Body:{ipa_rtp_pt2 := rtp_pt2})
+ tr_RSL_IE(RSL_IE_Body:{ipa_local_port := local_port})
+ /* Optional: RTP Payload Type 2 IE */
}
}