summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-09-21 10:54:42 +0200
committerlaforge <laforge@osmocom.org>2020-09-22 19:32:11 +0000
commitbefd3aaca496b74ea4e00a29ca9a3d6bc64f1d49 (patch)
treea1c17b6d25f585336fbf967a856039f6b8645501 /library
parentbefa21c5c93d3bdb24e8b24f4fa7d381db639a2e (diff)
mgw: Introduce test TC_crcx_osmo_ign
Diffstat (limited to 'library')
-rw-r--r--library/MGCP_Templates.ttcn6
-rw-r--r--library/MGCP_Types.ttcn4
2 files changed, 8 insertions, 2 deletions
diff --git a/library/MGCP_Templates.ttcn b/library/MGCP_Templates.ttcn
index 79d9670..917ef89 100644
--- a/library/MGCP_Templates.ttcn
+++ b/library/MGCP_Templates.ttcn
@@ -55,6 +55,12 @@ module MGCP_Templates {
val := f_mgcp_osmux_cid_encode(osmux_cid)
};
+ /* Osmocom extension: X-Osmux: {*,%u} */
+ template MgcpParameter t_MgcpParOsmoIGN(template charstring val) := {
+ code := "X-OSMO-IGN",
+ val := val
+ };
+
/* osmo-bsc_mgcp implements L/C/M/X only, osmo-mgw adds 'I' */
/* SDP: osmo-bsc_mgcp implements Tx of v,o,s,c,t,m,a */
diff --git a/library/MGCP_Types.ttcn b/library/MGCP_Types.ttcn
index b56734c..01d4d3a 100644
--- a/library/MGCP_Types.ttcn
+++ b/library/MGCP_Types.ttcn
@@ -30,8 +30,8 @@ module MGCP_Types {
type charstring MgcpInfoCode ("B", "C", "I", "N", "X", "L", "M", "R",
"S", "D", "O", "P", "E", "Z", "Q", "T",
"RC", "LC", "A", "ES", "RM", "RD", "PL",
- "MD", "X-OSMO-CP", "X-OSMUX") with {
- variant "TEXT_CODING(,convert=upper_case,'([BCINXLMRSDOPEZQTA])|(RC)|(LC)|(ES)|(RM)|(RD)|(PL)|(MD)|(X-OSMO-CP)|(X-OSMUX)',case_insensitive)"
+ "MD", "X-OSMO-CP", "X-OSMO-IGN", "X-OSMUX") with {
+ variant "TEXT_CODING(,convert=upper_case,'([BCINXLMRSDOPEZQTA])|(RC)|(LC)|(ES)|(RM)|(RD)|(PL)|(MD)|(X-OSMO-CP)|(X-OSMO-IGN)|(X-OSMUX)',case_insensitive)"
};
/* 3.2.2.6 */