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 this problem

I'm confused:-

  • Why do you think that the data is binary?
  • What have you tried so far?
  • Can you show us a sample of input & expected output?
  • What is the problem with it being 'binary' if it really is?
  • How are you getting the file to your unix server?
  • What OS and version are you using?

Most importantly, What have you tried so far?

Hang on a minute!!!

ASN 1 is indeed a binary format.

CDR (call detail records) in ASN 1 can be read using various (free, downloadable) utilities written by telecoms geeks.

For example:

MARBEN ASN.1 Solutions: Free ASN.1 CDR/TAP3 Messages Decoder

What telecoms switch produced these CDR's anyway?

I must say that you're probably on the wrong forum. Try a telecoms forum and/or Google for "CDR ASN 1"

Obviously you must maintain the integrity of the CDR's during whatever transfer method you are using from the switch. If the CDR file(s) are corrupt you won't be able to successfully read them.

See also http://www.iri.com/blog/data-transformation2/direct-cdr-tap3-processing/