ASN.1 Parameterized Types... pls help

Casper <>
Wed Sep 29 14:07:45 CEST 2004


Hi All,

 

I'm finding difficult in absorbing "How to use ASN.1 TCAPMessage to
transport GSM MAP". The problem is how to generate TCAP Begin, Continue,
End, etc messages.

 

I read about the ASN.1 Parameterized Type, but still I could find the match
of ASN.1 specs for MAP and TCAP. I thought below might be the way, but still
that gives some compilation errors.

 

mapSpecificAS ABSTRACT-SYNTAX ::= {

  MapSpecificPDUs

  IDENTIFIED BY  gsm-MessagingId

}

 

MapSpecificPDUs ::=

  TCMessage{{ MAPOperations-Invokable}, { MAPOperations-Returnable}}

 

 

MAPOperations-Invokable OPERATION ::= 

      {sendRoutingInfoForSM | mo-ForwardSM | mt-ForwardSM} 

MAPOperations-Returnable OPERATION ::= 

      {reportSM-DeliveryStatus | alertServiceCentre | informServiceCentre |
readyForSM}

 

The error is as below (Erlang ASN.1 compiler),

      {error,{asn1,[{error,{type,57,

                           'TCAPMessages',

                           'MapSpecificPDUs',

                           {asn1,{duplicates_of_the_tags,

                                     [{'UNIVERSAL','INTEGER'}]}}}}]}}

 

For your information, I have attached TCAPMessages.asn and
MAP-ShortMessageServiceOperations.asn.

 

I appreciate if anybody out there can give me some clue to solve this
problem.

 

Thanks in advance!

Eranga

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20040929/8d9e155c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TCAPMessages.asn
Type: application/octet-stream
Size: 5641 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20040929/8d9e155c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MAP-ShortMessageServiceOperations.asn
Type: application/octet-stream
Size: 3140 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20040929/8d9e155c/attachment-0001.obj>


More information about the erlang-questions mailing list