Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

RAP file processing

Question posted by: crazy4perl (Newbie) on February 1st, 2008 12:59 PM
Hi all,

Here is my query, I hav some RAP files (related to telecomm espcially Roamming) which when I m opening with any text editor showing some junk data. Is it possible to convert or read that file using script. if yes then how. pls let me know.
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
eWish's Avatar
eWish
Moderator
696 Posts
February 1st, 2008
01:29 PM
#2

Re: RAP file processing
I have not heard of this type of file before. Check out the TAP3::Tap3edit module at CPAN. Maybe it will do what you want.

--Kevin

Reply
crazy4perl's Avatar
crazy4perl
Newbie
14 Posts
February 2nd, 2008
09:51 AM
#3

Re: RAP file processing
Quote:
Originally Posted by eWish
I have not heard of this type of file before. Check out the TAP3::Tap3edit module at CPAN. Maybe it will do what you want.

--Kevin

Hey thanks alot this what i m looking for.

Reply
crazy4perl's Avatar
crazy4perl
Newbie
14 Posts
February 6th, 2008
10:07 AM
#4

Re: RAP file processing
Hi,
Is it possible to use data dumper to dump data into a file????

Reply
crazy4perl's Avatar
crazy4perl
Newbie
14 Posts
February 8th, 2008
02:45 PM
#5

Re: RAP file processing
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 )
  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

Last edited by eWish : February 9th, 2008 at 04:04 AM. Reason: Please use [CODE][/CODE] tags
Reply
crazy4perl's Avatar
crazy4perl
Newbie
14 Posts
February 11th, 2008
03:34 PM
#6

Re: RAP file processing
Nobody replied yet :((

Reply
crazy4perl2's Avatar
crazy4perl2
Newbie
1 Posts
March 26th, 2008
11:20 PM
#7

Re: RAP file processing
Did you check tap3edit.com? there you can find a special version of Convert::ASN1 patched to solved that problem.

cheers

Reply
Reply
Not the answer you were looking for? Post your question . . .
183,814 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
Top Perl Forum Contributors