Hi Steen,

Thanks for your advice and info.

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.

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.

Could you kindly guide me on how to create TCAP spec which will refer to the MAP instances of those Info object classes.

Thanks!
Eranga


 

Quoting Steen Oluf Karlsen <[EMAIL PROTECTED]>: > I had this fun task back in GSM phase 1 days 1989-90. From my memory:

The "Arles France 1990" version of ASN.1 came at our rescue introducing
info objects
instead of ASN.1 macros. This became "ASN.1-1994".

If you go with a MAP spec where you have info objects instead of macros
you have
a good starting point.

You then need to update your TCAP spec so it contains the definition of
the
OPERATION and the ERROR info objects classes, and then it must refer to
the MAP
instances of these Info object classes.

Do not blend the TCAP and MAP specs. No need for that. You should compile
first
the TCAP and then the MAP. Your compiler should be able to handle several
modules,
also this case where one module contains the info object classes and the
other
contains the instances (the actual MAP info objects).

Pls. correct me if I am wrong on this !

Steen Oluf Karlsen

Independent Telecom Consultant 1993-2003

Nat. Sc. Teacher 2003..
Soholtvej 6
Vester Vandet
DK-7700 Thisted
Danmark
Tel +45 97 97 72 72
email [EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Casper
Sent: 1. oktober 2004 06:17
To: 'William H. Skelton'; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [OSS_ASN1] [ASN1] ASN.1 Parameterized Types... pls help



Hi William,



Thanks for the advice.



This is for a R&D project. We plan to look at the feasibility of using
Erlang/OTP platform for development. Currently doing investigation on
ASN.1 compiler on Erlang. I'm very new to ASN.1, so find it difficult to
capture some parts of the specification. The GSM/UMTS MAP ASN.1 spec is
alright. But I couldn't still figure out how to use TCAP ASN.1 spec can
generate the TCAP B egin, Continue, End, etc message encoding/decoding
functions.



With help from some generous people out there, I could understand that I
will have to create the ASN.1 spec of mine or find a standard spec, which
will Instantiate the Parameterized Type specified in the TCAP. If you
could point me to a standard spec like that or give me a sample how I
could write something like that, would be very helpful. How to blend the
MAP and TCAP ASN.1 specs?



Thanks!

Eranga








_____


From: William H. Skelton [mailto:[EMAIL PROTECTED]
Sent: Friday, October 01, 2004 3:12 AM
To: [EMAIL PROTECTED]
Subject: Fwd: [OSS_ASN1] [ASN1] ASN.1 Parameterized Types... pls help



Hi Eranga,

We found you can avoid some of the problems by using earlier TCAP
specifications, which are fully compatible (I think), but simpler.

Just as a matter of interest, is this a commercial or university project
you are working on? Are you building your own tools?

William




Delivered-To: [EMAIL PROTECTED]
From: "Casper" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Date: Wed, 29 Sep 2004 18:07:45 +0600
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
Thread-Index: AcShiZSqLDE2KawuRfKjOPNw8+D0LwEkgVVg
cc: [EMAIL PROTECTED]
Subject: [OSS_ASN1] [ASN1] ASN.1 Parameterized Types... pls help
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.1.1
List-Id: The ASN.1 Mailing List
List-Unsubscribe: ,
>
List-Archive: >
List-Post:
List-Help: >
List-Sub scribe: ,
>
X-Sender: [EMAIL PROTECTED]
X-Errors-To: [EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
X-RCPT-TO: net.com

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


_______________________________________________
ASN1 mailing list
[EMAIL PROTECTED]
http://lists.asn1.org/mailman/listinfo/asn1




--------------This mail sent through OmniBIS.com--------------
_______________________________________________
ASN1 mailing list
[EMAIL PROTECTED]
http://lists.asn1.org/mailman/listinfo/asn1

Reply via email to