ASN.1 decoder


 
Thread Tools Search this Thread
Top Forums Programming ASN.1 decoder
# 1  
Old 08-29-2014
ASN.1 decoder

Hi All,
I am fairly new to this so please forgive me, Currently I have an ASN.1 which I would like the ability to load this to my work server in order to enter a string of output decode and display the output.

There are methods online as shown on ASN.1 JavaScript decoder however I have some other plans with it hence why I want it on the server. Does anyone know/have a ASN.1 decoder which I can supply the ASN.1 file and the decoder do its job.

An example asn.1 is below

Code:
testCallCase  OPERATION ::= {                                                                          
        ARGUMENT
               testCallCaseArg
        RESULT
               testCallCaseRes
        ERRORS {
        CODE      local:126 }

testCallCaseArg (MoCallArg) ::= [0] {
        callingMsisdn                                       [0] ISDN-AddressString,                   
        imsi                                                     [1]    IMSI                                         OPTIONAL,
        basicServiceCode                                       basicServiceCode,
        calledNumber                                       [4] ISDN-AddressString,
        originatingMscNumber                          [5] ISDN-AddressString,
        ...}

testCallCaseArg (DivertedCallArg) ::= [2] {
        callingMsisdn                                       [0] ISDN-AddressString,                   
        imsi                                                     [1]    IMSI                                         OPTIONAL,
        basicServiceCode                                       basicServiceCode,
        forwardingMsisdn                                [4] ISDN-AddressString,
        forwardedToNumber                             [5] ISDN-AddressString,
        forwardingMscNumber                         [9] ISDN-AddressString                    OPTIONAL,
        ...}

testCallCaseRes (MoCallRes) ::= SEQUENCE [0] {
        moCallAllowedInfo                               [0] moCallAllowedInfo                                             OPTIONAL,       
        callBarredType                                     [1]    INTEGER(1 byte)                                             OPTIONAL,
        cliRestrictionOption                              [2]    INTEGER(1 byte)                                             OPTIONAL,
        pre-paySubscriber                                [3] NULL                                                                 OPTIONAL,
        moCallNotResolved                             [4] moCallNotResolved                                            OPTIONAL,
        ...}

moCallAllowedInfo ::= SEQUENCE {
        privateFeatureData                               [0] OICK-privateFeatureData                                    OPTIONAL,
        o-CSI                                                   [1]    O-CSI                                                              OPTIONAL,
        ...}

OICK-privateFeatureData ::= SEQUENCE {
        ss-status                                                     OCTET STRING(1..5),
        incategorykey                                              OCTET STRING(1..2631),
        ...}

moCallNotResolved ::= SEQUENCE {
        privateFeatureData                               [0] OICK-privateFeatureData                                    OPTIONAL,
        o-CSI                                                   [1]    O-CSI                                                              OPTIONAL,
        ...}

# 2  
Old 08-31-2014
Why can you not just run the ASN.1 decoder JavaScript on your server?
# 3  
Old 09-01-2014
Hi fpmurphy, Our server doesnt have access to the outside world so not sure if this is possible unless i have misunderstood your question ?

How would I go about this ?

Thanks
# 4  
Old 09-02-2014
Maybe I misunderstood your question. Are you looking to find a suitable ASN.1 decoder to install on your server?
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Python Programming for ASN.1 file

Hi. Has anyone here got an experience doing conversion from asn1 format to a readable format so that it can be processed by Oracle? I want to load the data into a table. This is a CDR file. Attached is the pairing file. Please remove the .txt at the end. Someone said that it is possible... (1 Reply)
Discussion started by: aimy
1 Replies

2. Solaris

ASN Binary to ASCII

Dears, I need help to convert the binary file into ASCII format. Actually we have CDRs which is generated by telecom switch at this is in ASN1 format or binary format, I need to convert those binary formatted file into ASCII format using Perl, or shell scripting. Is there any way to solve... (3 Replies)
Discussion started by: PRINCESS_RORO
3 Replies

3. Programming

ASN.1 Decoder UNIX Code

Kindly help i need to write a code for Decode/Compile the ASN.1 which is found in javascript or C language if any got a final working Code:D (16 Replies)
Discussion started by: teefa
16 Replies

4. UNIX for Dummies Questions & Answers

core file decoder needed

All, Remotely logged in to the UNIX server (HP B1000 Visual Server) (Version HP-UX 10.20) by using the program Xapplauncher. This is a application runs under Exceed. (Exceed "version 6.1" is a Windows application to communicate with UNIX servers) With no pre warnings the application was... (2 Replies)
Discussion started by: pbekker
2 Replies
Login or Register to Ask a Question