Hi,
Anyone here knows here abt TAP and RAP files. Actually i m able to process tap file using tap3edit module but when i m processing the rap file it is giving me following error.
decode error 5f840f<=>5f8135 26 4 rapFileSequenceNumber at C:/Perl/site/lib/Convert/ASN1/_decode.pm line 106.
at C:\pp\tap\tap_display.pl line 17
Actually tap and rap files are the ASN1 format files. These files are generated when u make a call while roaming (tap) by the visited location network operator n sent to ur home n/w operator. if there is an error in the tap file a rap files is generated for the same and sent back to visited location network operator.
Here is my peice of code:-
Perl Code
1. #!/usr/bin/perl
2.
3. use TAP3::Tap3edit;
4. use Data::Dumper;
5. use XML::Dumper;
6.
7. $Data::Dumper::Indent=1;
8. $Data::Dumper::Useqq=1;
9.
10. $filename=shift;
11.
12. if ( ! $filename ) {
13. die "Usage: $0 filename\n";
14. }
15.
16. $tap3 = TAP3::Tap3edit->new();
17. $tap3->decode($filename) || die $tap3->error;
18.
19. print Dumper ($tap3->structure);
Thanks
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.