diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-11-24 20:41:04 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-11-24 20:52:06 +0100 |
commit | 7dc5d37b331704b5070a145a0494cb6141fba430 (patch) | |
tree | f8431eb03233990ddd5d7cab3dd1c1d0852b7c9b /library/MGCP_Types.ttcn | |
parent | 51f34ada61ffb63db2d57ff95f6ca9bed55685e3 (diff) |
MGC_Types: Add work-around for failure to distinguish between Cmd + Resp
Diffstat (limited to 'library/MGCP_Types.ttcn')
-rw-r--r-- | library/MGCP_Types.ttcn | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/library/MGCP_Types.ttcn b/library/MGCP_Types.ttcn index 7d99428e..22141f45 100644 --- a/library/MGCP_Types.ttcn +++ b/library/MGCP_Types.ttcn @@ -3,7 +3,9 @@ module MGCP_Types { type charstring MgcpVerb ("EPCF", "CRCX", "MDCX", "DLCX", "RQNT", "NTFY", "AUEP", "AUCX", "RSIP") with { - variant "TEXT_CODING(,convert=upper_case,,case_insensitive)" + /* see https://www.eclipse.org/forums/index.php/t/1088893/ on why this + * match expression is needed here */ + variant "TEXT_CODING(,convert=upper_case,'((EPCF)|(CRCX)|(MDCX)|(DLCX)|(RQNT)|(NTFY)|(AUEP)|(AUCX)|(RSIP))',case_insensitive)" }; type charstring MgcpTransId (pattern "\d#(1,9)"); type charstring MgcpEndpoint (pattern "*@*"); |