MEDIA-GATEWAY-CONTROL DEFINITIONS AUTOMATIC TAGS::= BEGIN
MegacoMessage ::= SEQUENCE
{
authHeader AuthenticationHeader OPTIONAL,
mess Message
}
AuthenticationHeader ::= SEQUENCE
{
secParmIndex SecurityParmIndex,
seqNum SequenceNum,
ad AuthData
}
SecurityParmIndex ::= OCTET STRING(SIZE(4))
SequenceNum ::= OCTET STRING(SIZE(4))
AuthData ::= OCTET STRING (SIZE (12..32))
Message ::= SEQUENCE
{ version INTEGER(0..99),
-- The version of the protocol defined here is equal to 1.
mId MId, -- Name/address of message originator
messageBody CHOICE
{
messageError ErrorDescriptor,
transactions SEQUENCE OF Transaction
},
...
}
END
The above ASN.1 partial structure is specified for MEGACO.
We are implementing encoding and decoding in BER without the help of any tool
or compiler.
We are stuck with the Tagging issues .
Kindly specify the solution and how the tagging is to be carried out for the
above substructure without the help of any tool or compiler.
Kindly treat this as urgent and reply at the earliest.
Best Regds,
parag
--------------------------------------------------------------
Dexcel Electronics Designs (P) Ltd., Bangalore, India