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:-
Code: ( text )
#!/usr/bin/perl
use TAP3::Tap3edit;
use Data::Dumper;
use XML::Dumper;
$Data::Dumper::Indent=1;
$Data::Dumper::Useqq=1;
$filename=shift;
if ( ! $filename ) {
die "Usage: $0 filename\n";
}
$tap3 = TAP3::Tap3edit->new();
$tap3->decode($filename) || die $tap3->error;
print Dumper ($tap3->structure);
thanks