Sponsored Content
Full Discussion: ASN.1 decoder
Top Forums Programming ASN.1 decoder Post 302914968 by mutley2202 on Friday 29th of August 2014 04:33:43 PM
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,
        ...}

 

4 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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
DAIC(4) 						   BSD Kernel Interfaces Manual 						   DAIC(4)

NAME
daic -- isdn4bsd driver for EICON.Diehl active ISDN cards SYNOPSIS
daic0 at isa? iomem 0xd8000 irq 10 DESCRIPTION
The daic driver supports the old Diehl active cards: S, SX, SXn, SCOM and QUADRO. For a QUADRO card, the driver will detect the board type and use all four ports, each attached as a controller of its own to the isdn4bsd system, which can be listed using the daicctl utility. The daic driver interfaces the ISDN card to the ISDN4BSD kernel subsystem. All lower layer ISDN control is handled by the card. This should allow you to run any national ISDN protocol delivered by EICON.Diehl for your card, but the driver has only been tested with the DSS1 proto- col and some parts of the cards interface are ISDN protocol dependent. The daic driver is written to conform to the software interface documented by Diehl in their ISDN-Karten Benutzerhandbuch from 1992. MICROCODE DOWNLOAD
Every active card needs its own operating software before it can work. You have to download this to the card before using it with isdn4bsd. Use the daicctl utility to do this, i.e. call daicctl -d te_etsi.sx 1 to download the file te_etsi.sx to controller number 1. Use daicctl -l to list all available controllers (and ports). You have to select the correct ISDN protocol file for your ISDN interface, see the Diehl docu- mentation for details. The cards bootstrap process involves another file, which is independent of the card type you use and the protocol you run. It is called download.bin in current versions of the Diehl software distribution and has to be copied to the kernel compile directory under dev/microcode/daic and converted into a header file used when compiling the kernel by running make in that directory. Your kernel compile will fail and remind you of this if you forget to do this. Due to copyright restrictions we cannot distribute the driver with this file inte- grated. But if you own a card, you do have the file (or can get it from the Diehl web server). SEE ALSO
daicctl(1) BUGS
The driver is not yet finished. BSD
January 30, 1998 BSD
All times are GMT -4. The time now is 05:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy