<DIV></DIV>
<P>Hi Steen,</P>
<P>Thanks for your advice and info.</P>
<P>I have both MAP and TCAP ASN.1 spec with Information Objects (not MACROS). MAP ASN.1 spec has all the MAP instances. TCAP spec is based on the Parameterised type such as TCMessage, Begin, End, etc.</P>
<P>How should I create the required TCAP instances, which will generate the encoding/decoding methods for TCAP Begin, Continue, End, etc PDUs? To my understanding I should write or find a ASN.1 spec which will have the instances of TCAP messages.</P>
<P>Could you kindly guide me on how to create TCAP spec which will refer to the MAP instances of those Info object classes.</P>
<P>Thanks!<BR>Eranga</P>
<P><BR><BR></P>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Quoting Steen Oluf Karlsen <SOK@POST4.TELE.DK>: > I had this fun task back in GSM phase 1 days 1989-90. From my memory:<BR><BR>The "Arles France 1990" version of ASN.1 came at our rescue introducing<BR>info objects<BR>instead of ASN.1 macros. This became "ASN.1-1994".<BR><BR>If you go with a MAP spec where you have info objects instead of macros<BR>you have<BR>a good starting point.<BR><BR>You then need to update your TCAP spec so it contains the definition of<BR>the<BR>OPERATION and the ERROR info objects classes, and then it must refer to<BR>the MAP <BR>instances of these Info object classes.<BR><BR>Do not blend the TCAP and MAP specs. No need for that. You should compile<BR>first<BR>the TCAP and then the MAP. Your compiler should be able to handle several<BR>modules,<BR>also this case where one module contains the info object classes and the<BR>other<BR>contains the instances (the actual MAP info objects).<BR><BR>Pls. correct me if I am wrong on this !<BR><BR>Steen Oluf Karlsen<BR><BR>Independent Telecom Consultant 1993-2003<BR><BR>Nat. Sc. Teacher 2003..<BR>Soholtvej 6<BR>Vester Vandet<BR>DK-7700 Thisted<BR>Danmark<BR>Tel +45 97 97 72 72<BR>email sok@post4.tele.dk <BR><BR>-----Original Message-----<BR>From: asn1-bounces@asn1.org [mailto:asn1-bounces@asn1.org]On Behalf Of<BR>Casper<BR>Sent: 1. oktober 2004 06:17<BR>To: 'William H. Skelton'; erlang-questions@erlang.org; asn1@asn1.org<BR>Subject: RE: [OSS_ASN1] [ASN1] ASN.1 Parameterized Types... pls help<BR><BR><BR><BR>Hi William,<BR><BR><BR><BR>Thanks for the advice.<BR><BR><BR><BR>This is for a R&D project. We plan to look at the feasibility of using<BR>Erlang/OTP platform for development. Currently doing investigation on<BR>ASN.1 compiler on Erlang. I'm very new to ASN.1, so find it difficult to<BR>capture some parts of the specification. The GSM/UMTS MAP ASN.1 spec is<BR>alright. But I couldn't still figure out how to use TCAP ASN.1 spec can<BR>generate the TCAP B
egin, Continue, End, etc message encoding/decoding<BR>functions.<BR><BR><BR><BR>With help from some generous people out there, I could understand that I<BR>will have to create the ASN.1 spec of mine or find a standard spec, which<BR>will Instantiate the Parameterized Type specified in the TCAP. If you<BR>could point me to a standard spec like that or give me a sample how I<BR>could write something like that, would be very helpful. How to blend the<BR>MAP and TCAP ASN.1 specs?<BR><BR><BR><BR>Thanks!<BR><BR>Eranga<BR><BR><BR><BR><BR><BR><BR><BR><BR>_____ <BR><BR><BR>From: William H. Skelton [mailto:W.Skelton@SOLINET.com] <BR>Sent: Friday, October 01, 2004 3:12 AM<BR>To: casper2000a@omnibis.com<BR>Subject: Fwd: [OSS_ASN1] [ASN1] ASN.1 Parameterized Types... pls help<BR><BR><BR><BR>Hi Eranga,<BR><BR>We found you can avoid some of the problems by using earlier TCAP<BR>specifications, which are fully compatible (I think), but simpler.<BR><BR>Just as a matter of interest, is this a commercial or university project<BR>you are working on? Are you building your own tools?<BR><BR>William<BR><BR><BR><BR><BR>Delivered-To: 23-asn1@asn1.org<BR>From: "Casper" <CASPER2000A@OMNIBIS.COM><BR>To: <ASN1@ASN1.ORG>, <ERLANG-QUESTIONS@ERLANG.ORG><BR>Date: Wed, 29 Sep 2004 18:07:45 +0600<BR>X-Mailer: Microsoft Office Outlook, Build 11.0.5510<BR>Thread-Index: AcShiZSqLDE2KawuRfKjOPNw8+D0LwEkgVVg<BR>cc: eranga@omnibis.com<BR>Subject: [OSS_ASN1] [ASN1] ASN.1 Parameterized Types... pls help<BR>X-BeenThere: asn1@asn1.org<BR>X-Mailman-Version: 2.1.1<BR>List-Id: The ASN.1 Mailing List <ASN1.ASN1.ORG><BR>List-Unsubscribe: <HTTP: asn1 listinfo mailman lists.asn1.org>,<BR><MAILTO:ASN1-REQUEST@ASN1.ORG?SUBJECT=UNSUBSCRIBE<BR /><MAILTO:ASN1-REQUEST@ASN1.ORG%3FSUBJECT=UNSUBSCRIBE>><BR>List-Archive: <HTTP: asn1<br pipermail dreammark.com http: /><HTTP: asn1 pipermail dreammark.com http:>><BR>List-Post: <MAILTO:ASN1@ASN1.ORG><BR>List-Help: <MAILTO:ASN1-REQUEST@ASN1.ORG?SUBJECT=HELP<BR /><MAILTO:ASN1-REQUEST@ASN1.ORG%3FSUBJECT=HELP>><BR>List-Sub
scribe: <HTTP: asn1 listinfo mailman lists.asn1.org>,<BR><MAILTO:ASN1-REQUEST@ASN1.ORG?SUBJECT=SUBSCRIBE<BR /><MAILTO:ASN1-REQUEST@ASN1.ORG%3FSUBJECT=SUBSCRIBE>><BR>X-Sender: asn1-bounces@asn1.org<BR>X-Errors-To: asn1-bounces@asn1.org<BR>Sender: oss_asn1-owner@weyler.com<BR>Reply-To: oss_asn1@weyler.com<BR>X-RCPT-TO: net.com<BR><BR>Hi All,<BR><BR>I'm finding difficult in absorbing "How to use ASN.1 TCAPMessage to<BR>transport GSM MAP". The problem is how to generate TCAP Begin, Continue,<BR>End, etc messages.<BR><BR>I read about the ASN.1 Parameterized Type, but still I could find the<BR>match of ASN.1 specs for MAP and TCAP. I thought below might be the way,<BR>but still that gives some compilation errors.<BR><BR>mapSpecificAS ABSTRACT-SYNTAX ::= {<BR>MapSpecificPDUs<BR>IDENTIFIED BY gsm-MessagingId<BR>}<BR><BR>MapSpecificPDUs ::=<BR>TCMessage{{ MAPOperations-Invokable}, { MAPOperations-Returnable}}<BR><BR><BR>MAPOperations-Invokable OPERATION ::= <BR>{sendRoutingInfoForSM | mo-ForwardSM | mt-ForwardSM} <BR>MAPOperations-Returnable OPERATION ::= <BR>{reportSM-DeliveryStatus | alertServiceCentre | informServiceCentre<BR>| readyForSM}<BR><BR>The error is as below (Erlang ASN.1 compiler),<BR>{error,{asn1,[{error,{type,57,<BR>'TCAPMessages',<BR>'MapSpecificPDUs',<BR>{asn1,{duplicates_of_the_tags,<BR>[{'UNIVERSAL','INTEGER'}]}}}}]}}<BR><BR>For your information, I have attached TCAPMessages.asn and<BR>MAP-ShortMessageServiceOperations.asn.<BR><BR>I appreciate if anybody out there can give me some clue to solve this<BR>problem.<BR><BR>Thanks in advance!<BR>Eranga<BR><BR><BR>_______________________________________________<BR>ASN1 mailing list<BR>ASN1@asn1.org<BR>http://lists.asn1.org/mailman/listinfo/asn1<BR><BR><BR><BR></BLOCKQUOTE><br>
--------------This mail sent through OmniBIS.com--------------