diff --git a/asn1-compiled/InitialDPArg.c b/asn1-compiled/InitialDPArg.c index df902bf..d59cf34 100644 --- a/asn1-compiled/InitialDPArg.c +++ b/asn1-compiled/InitialDPArg.c @@ -9,7 +9,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { { ATF_POINTER, 53, offsetof(struct InitialDPArg, serviceKey), (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_ServiceKey, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -18,7 +18,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 52, offsetof(struct InitialDPArg, dialledDigits), (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_CalledPartyNumber, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -27,7 +27,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 51, offsetof(struct InitialDPArg, calledPartyNumber), (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_CalledPartyNumber, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -36,7 +36,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 50, offsetof(struct InitialDPArg, callingPartyNumber), (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_CallingPartyNumber, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -45,7 +45,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 49, offsetof(struct InitialDPArg, callingPartyBusinessGroupID), (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_CallingPartyBusinessGroupID, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -54,7 +54,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 48, offsetof(struct InitialDPArg, callingPartysCategory), (ASN_TAG_CLASS_CONTEXT | (5 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_CallingPartysCategory, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -63,7 +63,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 47, offsetof(struct InitialDPArg, callingPartySubaddress), (ASN_TAG_CLASS_CONTEXT | (6 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_CallingPartySubaddress, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -72,7 +72,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 46, offsetof(struct InitialDPArg, cGEncountered), (ASN_TAG_CLASS_CONTEXT | (7 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_CGEncountered, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -81,7 +81,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 45, offsetof(struct InitialDPArg, iPSSPCapabilities), (ASN_TAG_CLASS_CONTEXT | (8 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_IPSSPCapabilities, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -90,7 +90,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 44, offsetof(struct InitialDPArg, iPAvailable), (ASN_TAG_CLASS_CONTEXT | (9 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_IPAvailable, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -99,7 +99,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 43, offsetof(struct InitialDPArg, locationNumber), (ASN_TAG_CLASS_CONTEXT | (10 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_LocationNumber, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -108,7 +108,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 42, offsetof(struct InitialDPArg, miscCallInfo), (ASN_TAG_CLASS_CONTEXT | (11 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_MiscCallInfo, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -117,7 +117,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 41, offsetof(struct InitialDPArg, originalCalledPartyID), (ASN_TAG_CLASS_CONTEXT | (12 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_OriginalCalledPartyID, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -126,7 +126,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 40, offsetof(struct InitialDPArg, serviceProfileIdentifier), (ASN_TAG_CLASS_CONTEXT | (13 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_ServiceProfileIdentifier, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -135,7 +135,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 39, offsetof(struct InitialDPArg, terminalType), (ASN_TAG_CLASS_CONTEXT | (14 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_TerminalType, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -144,7 +144,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 38, offsetof(struct InitialDPArg, triggerType), (ASN_TAG_CLASS_CONTEXT | (16 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_TriggerType, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -153,7 +153,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 37, offsetof(struct InitialDPArg, highLayerCompatibility), (ASN_TAG_CLASS_CONTEXT | (23 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_HighLayerCompatibility, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -162,7 +162,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 36, offsetof(struct InitialDPArg, serviceInteractionIndicators), (ASN_TAG_CLASS_CONTEXT | (24 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_ServiceInteractionIndicators, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -171,7 +171,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 35, offsetof(struct InitialDPArg, additionalCallingPartyNumber), (ASN_TAG_CLASS_CONTEXT | (25 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_AdditionalCallingPartyNumber, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -180,7 +180,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 34, offsetof(struct InitialDPArg, forwardCallIndicators), (ASN_TAG_CLASS_CONTEXT | (26 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_ForwardCallIndicators, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -198,7 +198,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 32, offsetof(struct InitialDPArg, eventTypeBCSM), (ASN_TAG_CLASS_CONTEXT | (28 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_EventTypeBCSM, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -207,7 +207,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 31, offsetof(struct InitialDPArg, redirectingPartyID), (ASN_TAG_CLASS_CONTEXT | (29 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_RedirectingPartyID, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -216,7 +216,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 30, offsetof(struct InitialDPArg, redirectionInformation), (ASN_TAG_CLASS_CONTEXT | (30 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_RedirectionInformation, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -225,7 +225,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 29, offsetof(struct InitialDPArg, cause), (ASN_TAG_CLASS_CONTEXT | (17 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_Cause, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -234,7 +234,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 28, offsetof(struct InitialDPArg, componentType), (ASN_TAG_CLASS_CONTEXT | (18 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_ComponentType, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -252,7 +252,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 26, offsetof(struct InitialDPArg, componentCorrelationID), (ASN_TAG_CLASS_CONTEXT | (20 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_ComponentCorrelationID, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -261,7 +261,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 25, offsetof(struct InitialDPArg, iSDNAccessRelatedInformation), (ASN_TAG_CLASS_CONTEXT | (21 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_ISDNAccessRelatedInformation, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -270,7 +270,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 24, offsetof(struct InitialDPArg, iNServiceCompatibilityIndication), (ASN_TAG_CLASS_CONTEXT | (22 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_INServiceCompatibilityIndication, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -279,7 +279,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 23, offsetof(struct InitialDPArg, genericNumbers), (ASN_TAG_CLASS_CONTEXT | (31 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_GenericNumbers, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -288,7 +288,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 22, offsetof(struct InitialDPArg, serviceInteractionIndicatorsTwo), (ASN_TAG_CLASS_CONTEXT | (32 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_ServiceInteractionIndicatorsTwo, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -297,7 +297,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 21, offsetof(struct InitialDPArg, forwardGVNS), (ASN_TAG_CLASS_CONTEXT | (33 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_ForwardGVNS, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -306,7 +306,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 20, offsetof(struct InitialDPArg, createdCallSegmentAssociation), (ASN_TAG_CLASS_CONTEXT | (34 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_CSAID, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -324,7 +324,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 18, offsetof(struct InitialDPArg, uSIInformation), (ASN_TAG_CLASS_CONTEXT | (36 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_USIInformation, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -333,7 +333,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 17, offsetof(struct InitialDPArg, carrier), (ASN_TAG_CLASS_CONTEXT | (37 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_Carrier, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -342,7 +342,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 16, offsetof(struct InitialDPArg, cCSS), (ASN_TAG_CLASS_CONTEXT | (38 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_CCSS, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -351,7 +351,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 15, offsetof(struct InitialDPArg, vPNIndicator), (ASN_TAG_CLASS_CONTEXT | (39 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_VPNIndicator, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -360,7 +360,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 14, offsetof(struct InitialDPArg, cNInfo), (ASN_TAG_CLASS_CONTEXT | (40 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_CNInfo, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -369,7 +369,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 13, offsetof(struct InitialDPArg, callReference), (ASN_TAG_CLASS_CONTEXT | (41 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_CallReference, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -378,7 +378,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 12, offsetof(struct InitialDPArg, routeingNumber), (ASN_TAG_CLASS_CONTEXT | (42 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_RouteingNumber, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -387,7 +387,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 11, offsetof(struct InitialDPArg, callingGeodeticLocation), (ASN_TAG_CLASS_CONTEXT | (43 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_CallingGeodeticLocation, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -396,7 +396,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 10, offsetof(struct InitialDPArg, calledPartySubaddress), (ASN_TAG_CLASS_CONTEXT | (60 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_CalledPartySubaddress, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -405,7 +405,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 9, offsetof(struct InitialDPArg, connectionIdentifier), (ASN_TAG_CLASS_CONTEXT | (61 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_ConnectionIdentifier, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -414,7 +414,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 8, offsetof(struct InitialDPArg, genericIdentifier), (ASN_TAG_CLASS_CONTEXT | (62 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_GenericIdentifier, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -423,7 +423,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 7, offsetof(struct InitialDPArg, qOSParameter), (ASN_TAG_CLASS_CONTEXT | (63 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_QoSParameter, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -432,7 +432,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 6, offsetof(struct InitialDPArg, bISDNParameters), (ASN_TAG_CLASS_CONTEXT | (64 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_BISDNParameters, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -441,7 +441,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 5, offsetof(struct InitialDPArg, globalCallReference), (ASN_TAG_CLASS_CONTEXT | (44 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_GlobalCallReference, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -450,7 +450,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 4, offsetof(struct InitialDPArg, cug_Index), (ASN_TAG_CLASS_CONTEXT | (45 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_CUG_Index, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -459,7 +459,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 3, offsetof(struct InitialDPArg, cug_Interlock), (ASN_TAG_CLASS_CONTEXT | (46 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_CUG_Interlock, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -468,7 +468,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 2, offsetof(struct InitialDPArg, cug_OutgoingAccess), (ASN_TAG_CLASS_CONTEXT | (47 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_NULL, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ @@ -477,7 +477,7 @@ static asn_TYPE_member_t asn_MBR_InitialDPArg_1[] = { }, { ATF_POINTER, 1, offsetof(struct InitialDPArg, ipRelatedInformation), (ASN_TAG_CLASS_CONTEXT | (48 << 2)), - +1, /* EXPLICIT tag at current level */ + -1, /* IMPLICIT tag at current level */ &asn_DEF_IPRelatedInformation, 0, /* Defer constraints checking to the member type */ 0, /* PER is not compiled, use -gen-PER */ diff --git a/asn1/tcap.asn b/asn1/tcap.asn index 4d575ac..93a4087 100644 --- a/asn1/tcap.asn +++ b/asn1/tcap.asn @@ -597,66 +597,66 @@ FCIBillingChargingCharacteristics ::= (SIZE (0..255)) InitialDPArg ::= SEQUENCE { - serviceKey [0] ServiceKey OPTIONAL, - dialledDigits [1] CalledPartyNumber OPTIONAL, - calledPartyNumber [2] CalledPartyNumber OPTIONAL, - callingPartyNumber [3] CallingPartyNumber OPTIONAL, - callingPartyBusinessGroupID [4] CallingPartyBusinessGroupID OPTIONAL, - callingPartysCategory [5] CallingPartysCategory OPTIONAL, - callingPartySubaddress [6] CallingPartySubaddress OPTIONAL, - cGEncountered [7] CGEncountered OPTIONAL, - iPSSPCapabilities [8] IPSSPCapabilities OPTIONAL, - iPAvailable [9] IPAvailable OPTIONAL, - locationNumber [10] LocationNumber OPTIONAL, - miscCallInfo [11] MiscCallInfo OPTIONAL, - originalCalledPartyID [12] OriginalCalledPartyID OPTIONAL, - serviceProfileIdentifier [13] ServiceProfileIdentifier OPTIONAL, - terminalType [14] TerminalType OPTIONAL, - --extensions [15] Extensions OPTIONAL, - triggerType [16] TriggerType OPTIONAL, - highLayerCompatibility [23] HighLayerCompatibility OPTIONAL, + serviceKey [0] IMPLICIT ServiceKey OPTIONAL, + dialledDigits [1] IMPLICIT CalledPartyNumber OPTIONAL, + calledPartyNumber [2] IMPLICIT CalledPartyNumber OPTIONAL, + callingPartyNumber [3] IMPLICIT CallingPartyNumber OPTIONAL, + callingPartyBusinessGroupID [4] IMPLICIT CallingPartyBusinessGroupID OPTIONAL, + callingPartysCategory [5] IMPLICIT CallingPartysCategory OPTIONAL, + callingPartySubaddress [6] IMPLICIT CallingPartySubaddress OPTIONAL, + cGEncountered [7] IMPLICIT CGEncountered OPTIONAL, + iPSSPCapabilities [8] IMPLICIT IPSSPCapabilities OPTIONAL, + iPAvailable [9] IMPLICIT IPAvailable OPTIONAL, + locationNumber [10] IMPLICIT LocationNumber OPTIONAL, + miscCallInfo [11] IMPLICIT MiscCallInfo OPTIONAL, + originalCalledPartyID [12] IMPLICIT OriginalCalledPartyID OPTIONAL, + serviceProfileIdentifier [13] IMPLICIT ServiceProfileIdentifier OPTIONAL, + terminalType [14] IMPLICIT TerminalType OPTIONAL, + --extensions [15] IMPLICIT Extensions OPTIONAL, + triggerType [16] IMPLICIT TriggerType OPTIONAL, + highLayerCompatibility [23] IMPLICIT HighLayerCompatibility OPTIONAL, serviceInteractionIndicators - [24] ServiceInteractionIndicators OPTIONAL, + [24] IMPLICIT ServiceInteractionIndicators OPTIONAL, additionalCallingPartyNumber - [25] AdditionalCallingPartyNumber OPTIONAL, - forwardCallIndicators [26] ForwardCallIndicators OPTIONAL, + [25] IMPLICIT AdditionalCallingPartyNumber OPTIONAL, + forwardCallIndicators [26] IMPLICIT ForwardCallIndicators OPTIONAL, bearerCapability [27] BearerCapability OPTIONAL, - eventTypeBCSM [28] EventTypeBCSM OPTIONAL, - redirectingPartyID [29] RedirectingPartyID OPTIONAL, - redirectionInformation [30] RedirectionInformation OPTIONAL, - cause [17] Cause OPTIONAL, - componentType [18] ComponentType OPTIONAL, + eventTypeBCSM [28] IMPLICIT EventTypeBCSM OPTIONAL, + redirectingPartyID [29] IMPLICIT RedirectingPartyID OPTIONAL, + redirectionInformation [30] IMPLICIT RedirectionInformation OPTIONAL, + cause [17] IMPLICIT Cause OPTIONAL, + componentType [18] IMPLICIT ComponentType OPTIONAL, component [19] Component OPTIONAL, - componentCorrelationID [20] ComponentCorrelationID OPTIONAL, + componentCorrelationID [20] IMPLICIT ComponentCorrelationID OPTIONAL, iSDNAccessRelatedInformation - [21] ISDNAccessRelatedInformation OPTIONAL, + [21] IMPLICIT ISDNAccessRelatedInformation OPTIONAL, iNServiceCompatibilityIndication - [22] INServiceCompatibilityIndication OPTIONAL, - genericNumbers [31] GenericNumbers OPTIONAL, + [22] IMPLICIT INServiceCompatibilityIndication OPTIONAL, + genericNumbers [31] IMPLICIT GenericNumbers OPTIONAL, serviceInteractionIndicatorsTwo - [32] ServiceInteractionIndicatorsTwo OPTIONAL, - forwardGVNS [33] ForwardGVNS OPTIONAL, - createdCallSegmentAssociation [34] CSAID OPTIONAL, + [32] IMPLICIT ServiceInteractionIndicatorsTwo OPTIONAL, + forwardGVNS [33] IMPLICIT ForwardGVNS OPTIONAL, + createdCallSegmentAssociation [34] IMPLICIT CSAID OPTIONAL, uSIServiceIndicator [35] USIServiceIndicator OPTIONAL, - uSIInformation [36] USIInformation OPTIONAL, - carrier [37] Carrier OPTIONAL, - cCSS [38] CCSS OPTIONAL, - vPNIndicator [39] VPNIndicator OPTIONAL, - cNInfo [40] CNInfo OPTIONAL, - callReference [41] CallReference OPTIONAL, - routeingNumber [42] RouteingNumber OPTIONAL, - callingGeodeticLocation [43] CallingGeodeticLocation OPTIONAL, - calledPartySubaddress [60] CalledPartySubaddress OPTIONAL, - connectionIdentifier [61] ConnectionIdentifier OPTIONAL, - genericIdentifier [62] GenericIdentifier OPTIONAL, - qOSParameter [63] QoSParameter OPTIONAL, - bISDNParameters [64] BISDNParameters OPTIONAL, + uSIInformation [36] IMPLICIT USIInformation OPTIONAL, + carrier [37] IMPLICIT Carrier OPTIONAL, + cCSS [38] IMPLICIT CCSS OPTIONAL, + vPNIndicator [39] IMPLICIT VPNIndicator OPTIONAL, + cNInfo [40] IMPLICIT CNInfo OPTIONAL, + callReference [41] IMPLICIT CallReference OPTIONAL, + routeingNumber [42] IMPLICIT RouteingNumber OPTIONAL, + callingGeodeticLocation [43] IMPLICIT CallingGeodeticLocation OPTIONAL, + calledPartySubaddress [60] IMPLICIT CalledPartySubaddress OPTIONAL, + connectionIdentifier [61] IMPLICIT ConnectionIdentifier OPTIONAL, + genericIdentifier [62] IMPLICIT GenericIdentifier OPTIONAL, + qOSParameter [63] IMPLICIT QoSParameter OPTIONAL, + bISDNParameters [64] IMPLICIT BISDNParameters OPTIONAL, ..., - globalCallReference [44] GlobalCallReference OPTIONAL, - cug-Index [45] CUG-Index OPTIONAL, - cug-Interlock [46] CUG-Interlock OPTIONAL, - cug-OutgoingAccess [47] NULL OPTIONAL, - ipRelatedInformation [48] IPRelatedInformation OPTIONAL + globalCallReference [44] IMPLICIT GlobalCallReference OPTIONAL, + cug-Index [45] IMPLICIT CUG-Index OPTIONAL, + cug-Interlock [46] IMPLICIT CUG-Interlock OPTIONAL, + cug-OutgoingAccess [47] IMPLICIT NULL OPTIONAL, + ipRelatedInformation [48] IMPLICIT IPRelatedInformation OPTIONAL } CallReference ::= OCTET STRING(SIZE (1..255)) diff --git a/tests/basic.c b/tests/basic.c index 041e2f0..5ea4a62 100644 --- a/tests/basic.c +++ b/tests/basic.c @@ -5,7 +5,8 @@ -const char tcap[] = "\x64\x81\x86\x49\x03\x0a\x7e\x71\x6b\x2a\x28\x28\x06\x07\x00\x11\x86\x05\x01\x01\x01\xa0\x1d\x61\x1b\xa1\x0d\x06\x0b\x2a\x81\x76\x82\x15\x01\x01\x01\x01\x00\x01\xa2\x03\x02\x01\x00\xa3\x05\xa1\x03\x02\x01\x00\x6c\x53\xa1\x10\x02\x01\x58\x02\x01\x22\xbf\x33\x07\x83\x05\x31\x30\x30\x32\x34\xa1\x3f\x02\x01\x59\x02\x01\x14\x30\x37\xa0\x0e\x04\x0c\x83\x90\x89\x10\x10\x80\x22\x08\x00\x55\x50\x05\x83\x01\x09\x9a\x22\x30\x20\xa0\x1e\x80\x01\x00\x81\x01\x00\x82\x01\x01\x83\x01\x01\x84\x01\x00\x85\x01\x00\x86\x01\x01\x87\x01\x01\x88\x01\x00\x89\x01\x00"; +//const char tcap[] = "\x64\x81\x86\x49\x03\x0a\x7e\x71\x6b\x2a\x28\x28\x06\x07\x00\x11\x86\x05\x01\x01\x01\xa0\x1d\x61\x1b\xa1\x0d\x06\x0b\x2a\x81\x76\x82\x15\x01\x01\x01\x01\x00\x01\xa2\x03\x02\x01\x00\xa3\x05\xa1\x03\x02\x01\x00\x6c\x53\xa1\x10\x02\x01\x58\x02\x01\x22\xbf\x33\x07\x83\x05\x31\x30\x30\x32\x34\xa1\x3f\x02\x01\x59\x02\x01\x14\x30\x37\xa0\x0e\x04\x0c\x83\x90\x89\x10\x10\x80\x22\x08\x00\x55\x50\x05\x83\x01\x09\x9a\x22\x30\x20\xa0\x1e\x80\x01\x00\x81\x01\x00\x82\x01\x01\x83\x01\x01\x84\x01\x00\x85\x01\x00\x86\x01\x01\x87\x01\x01\x88\x01\x00\x89\x01\x00"; +const char tcap[] = "\x62\x51\x48\x03\x0a\x7e\x71\x6b\x22\x28\x20\x06\x07\x00\x11\x86\x05\x01\x01\x01\xa0\x15\x60\x13\x80\x02\x07\x80\xa1\x0d\x06\x0b\x2a\x81\x76\x82\x15\x01\x01\x01\x01\x00\x01\x6c\x26\xa1\x24\x02\x01\x01\x02\x01\x00\x30\x1c\x80\x01\x02\x82\x07\x03\x90\x08\x00\x55\x50\xf5\x83\x07\x83\x13\x17\x45\x64\x86\x08\x85\x01\x0a\x9a\x02\x20\x01"; const int tcap_len = sizeof(tcap) - 1; @@ -14,25 +15,29 @@ int main() { struct output_buffer out; char buf[256]; - OUTPUT_BUFFER_INIT(&out, buf); - i = tcap_extract(tcap, tcap_len, "end.components.1.invoke.opCode.localValue", &out); - printf("tcap_extract opcode: returned %i, value %.*s\n", i, (int) out.used, out.buf); - - OUTPUT_BUFFER_INIT(&out, buf); - i = inap_extract(tcap, tcap_len, "ConnectArg", &out); - printf("inap_extract ConnectArg: returned %i, value %.*s\n", i, (int) out.used, out.buf); - - OUTPUT_BUFFER_INIT(&out, buf); - i = inap_extract(tcap, tcap_len, "ConnectArg.cutAndPaste", &out); - printf("inap_extract ConnectArg.cutAndPaste: returned %i, value %.*s\n", i, (int) out.used, out.buf); - - OUTPUT_BUFFER_INIT(&out, buf); - i = inap_extract(tcap, tcap_len, "ConnectArg.destinationRoutingAddress", &out); - printf("inap_extract ConnectArg.destinationRoutingAddress: returned %i, value %.*s\n", i, (int) out.used, out.buf); +// OUTPUT_BUFFER_INIT(&out, buf); +// i = tcap_extract(tcap, tcap_len, "end.components.1.invoke.opCode.localValue", &out); +// printf("tcap_extract opcode: returned %i, value %.*s\n", i, (int) out.used, out.buf); +// +// OUTPUT_BUFFER_INIT(&out, buf); +// i = inap_extract(tcap, tcap_len, "ConnectArg", &out); +// printf("inap_extract ConnectArg: returned %i, value %.*s\n", i, (int) out.used, out.buf); +// +// OUTPUT_BUFFER_INIT(&out, buf); +// i = inap_extract(tcap, tcap_len, "ConnectArg.cutAndPaste", &out); +// printf("inap_extract ConnectArg.cutAndPaste: returned %i, value %.*s\n", i, (int) out.used, out.buf); +// +// OUTPUT_BUFFER_INIT(&out, buf); +// i = inap_extract(tcap, tcap_len, "ConnectArg.destinationRoutingAddress", &out); +// printf("inap_extract ConnectArg.destinationRoutingAddress: returned %i, value %.*s\n", i, (int) out.used, out.buf); +// +// OUTPUT_BUFFER_INIT(&out, buf); +// i = inap_extract(tcap, tcap_len, "ConnectArg.destinationRoutingAddress.0", &out); +// printf("inap_extract ConnectArg: returned %i, value %.*s\n", i, (int) out.used, out.buf); OUTPUT_BUFFER_INIT(&out, buf); - i = inap_extract(tcap, tcap_len, "ConnectArg.destinationRoutingAddress.0", &out); - printf("inap_extract ConnectArg: returned %i, value %.*s\n", i, (int) out.used, out.buf); + i = inap_extract(tcap, tcap_len, "InitialDPArg.calledPartyNumber", &out); + printf("inap_extract InitialDPArg: returned %i, value %.*s\n", i, (int) out.used, out.buf); return 0; }