osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-asn1-tcap/+/41021?usp=email )
Change subject: Fix decoding of TCAP messages ......................................................................
Fix decoding of TCAP messages
asn1c would fail while decoding the DialoguePortion of a TCAP message probably because Tag APPLICATION 11 is sent as constructed tag and the WS adaptation expects a primitive one.
Support for EXTERNAL needs newer asn1c.
Related: SYS#7486 Change-Id: I4a27a52b2be70b1fc50e0a3d5441ded4c151fe65 --- M asn/tcap.asn 1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-asn1-tcap refs/changes/21/41021/1
diff --git a/asn/tcap.asn b/asn/tcap.asn index 9df2e5b..2b967cd 100644 --- a/asn/tcap.asn +++ b/asn/tcap.asn @@ -66,11 +66,11 @@ -- APDU, or by the TC-User in which case it could be either an ABRT APDU or data in some user-defined -- abstract syntax.
---DialoguePortion ::= [APPLICATION 11] EXPLICIT EXTERNAL +DialoguePortion ::= [APPLICATION 11] EXPLICIT EXTERNAL
-- WS adaptation -DialoguePortion ::= [APPLICATION 11] IMPLICIT DialogueOC -DialogueOC ::= OCTET STRING +--DialoguePortion ::= [APPLICATION 11] IMPLICIT DialogueOC +--DialogueOC ::= OCTET STRING
-- The dialogue portion carries the dialogue control PDUs as value of the external data type. -- The direct reference should be set to { ccitt recommendation q 773 as (1) dialogue-as (1) version (1) }