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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call Detail Record Parsing Line 2 1

Status
Not open for further replies.

RichardLynch

Programmer
Jan 15, 2010
11
US
I'm parsing the output from a Nortel CS1000 Call Detail Recording stream.

In my sample data, I have a line 2 like this:
& 0000 0000 ##########XXXXXX

Digits obscured by # to protect the guilty.

In the documentation (Release 5.0 Doc Rev 1.04) on pages 167-169, I can find nothing that matches this pattern.

It also can't be NEW CDR format, as the CLID is not in 3-18 columns.

"Format for CLID and Tenant" is closest, but Tenant is supposed to be 3 digits, not 4.

Question 1:
Is "tenant" another term for what a newbie like me would call "extension"? Or, at least, something not completely unlike an "extension"?

Question 2:
If so, given that extensions are 4 digits these days, is this actually CLID and Tenant?

Question 3:
If so, can I presume that there is still kit out there that has only 3 digits, so I have to handle both?
This software is going to be hooked up to any number of Nortel devices, so must be flexible enough to handle them all. [fingers crossed]

Question 4:
If all of the above theories are wrong, any idea what the heck the two sets of '0000' are supposed to be? They are always '0000' in my 15-minute sample log data, so I'm guessing pretty wildly here...

Hey, at least you have to admit I've read the docs and am doing pretty well on the "asking a good question" bit :)
 
The ##########XXXXXX indicate that it's the incoming calling line ID from the telephone exchange and not an outgoing call.

The extension range can be up to 7 digits. Tenant refers to other groups / departments who are all on the same system, but use different lines to receive / dial out from. It's like having another customer, but a different customer has now internal access between them and would have to dial each other like any other call, except if they had a tie line link.

I hope this answers some of your questions?.

All the best

Firebird Scrambler
Meridian Programmer in the UK

If it's working, then leave it alone!.
 
Aha!

My 'L' records also have 4-digit Tenant numbers in columns 70-73 and 75-78 rather than the 3-digits documented.

I am now 99.9999% certain these are 4-digit Tenant numbers, expanding left and right.

Is there kit out there that uses 5-digit Tenant numbers?
 
Thanks!

Up to 7 digits, eh?

Okay, I'll code it for {3,7} digits.

I appreciate it!
 
Okay, so what happens to a 7-digit tenant system in line 1, record type 'L', columns 71-77?

There simply isn't room there to cram in 7 digits...

Do I get the number modulo 10000?

Or does the record actually extend and the TERTENO doesn't actually start at 75, but wherever is convenient?

PS
I don't have a Windows box handy to try the spread-sheet, sorry.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top