Hi:



Q1) How do i implement "..." (extension markers) which is present inside
most of the sequences in the 
      MAP-GSM ASN.1 message definition? How do i encode or decode the
extension markers in BER?

Q2) How do i implement the following ExtensionContainer definition(using
BER) existing in the 
      MAP-GSM ASN.1 message defintions?
      Definition is as follows:

      -- IOC for private MAP extensions
      MAP-EXTENSION ::= CLASS
                                      {
                                           &ExtensionType
OPTIONAL,
                                           &extensionId      OBJECT
IDENTIFIER
                                      }
      -- data types
      ExtensionContainer ::= SEQUENCE
                                         {
                                            privateExtensionList  [0]
PrivateExtensionList   OPTIONAL,
                                            pcs-Extensions         [1]
PCS-Extensions        OPTIONAL,
                                            ...
                                          }
       PrivateExtensionList ::= SEQUENCE SIZE (1..maxNumOfPrivateExtensions)
OF PrivateExtension

       PrivateExtension ::= SEQUENCE 
                                      {
                                         extId
MAP-EXTENSION.&extensionId ({ExtensionSet}),
                                         extType
MAP-EXTENSION.&ExtensionType ({ExtensionSet}) {@extId}) OPTIONAL
                                      }

       maxNumOfPrivateExtensions INTEGER ::=10

       ExtensionSet    MAP-EXTENSION ::=
       {
            ...,
            -- ExtensionSet is the set of all defined private Extensions
       }
       -- Unsupported private extensions shall be discarded if received


      PCS-Extensions ::= SEQUENCE 
                                    {
                                        ...
                                    }


    Thanks in advance for the reply,
    Regards,
    Santhosh Kumar Sriraman. 


           
     



Reply via email to