Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CDR Output

Status
Not open for further replies.

bliemsgirl

Programmer
Jan 24, 2005
426
SR
Hey Guys,

I need help fixing my CDR output string. At the moment it looks like this:

N 057 00 579 T000001 11/20 11:12 00:00:18 008633017
& 0000 0000

N 058 00 579 T000001 11/20 11:13 00:00:02 0
& 0000 0000

N 059 00 579 T000001 11/20 11:13 00:00:08 045
& 0000 0000

N 060 00 579 T000001 11/20 11:13 00:00:44 0424690
& 0000 0000

N 061 00 579 T000001 11/20 11:15 00:00:14 0424690
& 0000 0000

N 062 00 579 T000001 11/20 11:15 00:00:32 0424690
& 0000 0000

N 063 00 579 T000001 11/20 11:16 00:00:34 0475914
& 0000 0000

I want to change it and take away the second row of zero's, but I have no idea what to conf. to take that away. I am running the old CDR output. I just want to have a one line output.

 
i don't know if you can modify that string, back when i played with cdr i wrote a macro in excel to act as a filter.. i still had to pull up each report and run the macro but it gave me the format that the cust wanted.. crystal reports is way better if you have access to that.. that takes any data string and filters, rearanges etc..

john poole
bellsouth business
columbia,sc
 
Think You have to filter through some box to get rid of the extra lines.
In Linux You could just do:
Code:
cat cdrold.txt | grep ^N
or
Code:
awk ' /^N/ ' cdrold.txt
Both would print only lines starting with "N" from a file (cdrold.txt)
If You save output to a file, that is.

Can also read from one TTY (connected to your M1) and redirect the output to another TTY (your CDR-system), to make it "realtime"
:)


 
Cana anyone tell me what the extra set of zero's is for??
 
Depending on which set you're calling extra they could be unknown CNI or unknown NPI among other things. See NTP 553-3001-350 for enough info to start your head spinning.

If you happen to find any call correlation better than the 0-127 numbering scheme, I'd like to know.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top