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
ASN2DEB(1)							  [FIXME: manual]							ASN2DEB(1)

NAME
asn2deb - create a Debian package for BER monitoring from ASN.1 SYNOPSIS
asn2deb [-a ASN.1 file] [--asn=ASN.1 file] [-d opts] [--dbopts=opts] [-e address] [--email=address] [-h] [--help] [-n name] [--name=name] [-p] [--preserve] [-v] [--version] DESCRIPTION
This manual page documents briefly the asn2deb command. asn2deb takes an ASN.1 file as input and creates a Debian package from it. The package contains a loadable type table file for the wireshark network analyser. The type table is generated by the ASN.1 compiler snacc. OPTIONS
-a ASN.1 file --asn=ASN.1 file ASN.1 file to use (mandatory). -d opts --dbopts=opts options for dpkg-buildpackage. -e address --email=address use e-mail address. -h --help print help and exit. -n name --name=name use user name. -p --preserve do not overwrite files. -v --version print version and exit. Example: /usr/bin/asn2deb -e me@foo.net -a bar.asn1 -n "My Name" -d "-rfakeroot -uc -us" SEE ALSO
A lot of tools are used, which you have to apt-get install: wireshark-dev, python, cdbs, autotools-dev, debhelper, dpkg-dev, snacc. COPYING
This manual page was written by W. Borgert debacle@debian.org for Debian GNU/Linux (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. AUTHOR
W. Borgert Author. COPYRIGHT
Copyright (C) 2003, 2005 W. Borgert [FIXME: source] 2004-02-18 ASN2DEB(1)
All times are GMT -4. The time now is 09:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy