login | register
Fri 04 of Jul, 2008 [01:21 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.
 
Google Ads
Shoutbox
  • Samuel, Thu 03 of Jul, 2008 [13:41 UTC]: ok thank you
  • Mats Karlsson, Thu 03 of Jul, 2008 [13:37 UTC]: Nice Samuel, will look forward to rad it.
  • bwl_fernstudent, Thu 03 of Jul, 2008 [09:08 UTC]: Your blog shows some usefull code
  • Samuel, Thu 03 of Jul, 2008 [08:04 UTC]: I'll translate it, for sure
  • Mats Karlsson, Wed 02 of Jul, 2008 [20:46 UTC]: LOL, in french! Translate it to English and I will read it.
  • Samuel, Wed 02 of Jul, 2008 [08:07 UTC]: Hello, i wrote a blog about Asterisk, speaking about installation,programming and more http://sambranche.blogspot.com/
  • Nick Barnes, Tue 01 of Jul, 2008 [17:46 UTC]: Steve - Asterisk doesn't 'fit into linux' - it's an application which runs on top of Linux.
  • Steve, Mon 30 of Jun, 2008 [18:07 UTC]: anyone know where I can find a block diagram of how asterisk fits into linux. my f'ing bosses want me to draw something up.. ugh.
  • akbar, Fri 27 of Jun, 2008 [10:37 UTC]: marley_boyz@yahoo.com how to configure call forward, call back, call pick up using TDM and asterisk 1.2.13... please help me.. thx...
  • Matthew Williams, Tue 24 of Jun, 2008 [22:37 UTC]: We are looking for Tier II VoIP Support Technicians in St Louis. Send resumes to mwilliams AT voxitas DOT com.
Server Stats
  • Execution time: 0.40s
  • Memory usage: 2.19MB
  • Database queries: 30
  • GZIP: Disabled
  • Server load: 0.81

CDR

Call Detail Records

Telephone exchanges generate so called Call Detail Records (CDRs) which contain detailed information about calls originating from, terminating at or passing through the exchange. Not surprisingly CDRs are used for billing.

CDR Formats

The format in which CDRs are provided varies and is often configurable. Traditionally the generating and handling of CDRs has been known in the US as Automatic Message Accounting or AMA, a system that goes back to the 1940s. Still today, exchanges for use in North America generate CDRs in Bellcore AMA Format or BAF.

Today, PBX and softswitches mostly generate CDRs either in comma delimited formats or they write directly into a database.

CDR Processing (aka Mediation)

In conventional telephone networks, the systems generating CDRs (so called network elements) and the systems processing CDRs (so called operations support systems, or OSS) are separate entities. For this reason, CDRs must first be collected from the network elements and passed on to OSS, a process known as CDR collection or simply call collection.

When the CDRs have been collected (historically by shipping paper tape and later magnetic tape, nowadays by polling and ftp) they must be checked (validation), reformatted (normalisation) and consolidated for further processing.

The combined process of collection, validation, normalisation and consolidation is also referred to as mediation. This can be a very complex process and it is not uncommon that telcos lose a significant amount of revenue due to errors. At the same time the amount of CDRs to be processed at a large telco can be absolutely mindboggling. Since CDRs represent the telco's revenues and the amount of CDRs is tremendous, most larger telcos run their mediation on the most powerful massively parallel and fault tolerant hardware there is known to mankind: The Tandem Himalaya running a proprietary OS called NonStop Kernel (NSK aka Guardian), which in this case is not an overzealous marketing name but represents the true nature of the system. The Himalaya is almost never shut down. All maintenance is done under load, except OS upgrades. The massive parallel architecture is based on CPU pairs which are lockstepped: Any CPU pair that disagrees on the result of a single instruction is instantly removed from the resource pool and shut down. Everything in a Himalaya is hotswappable - Everything! Needless to say, Himalayas cost a fortune. If you have to ask the price, you can't afford one.

The important lesson here is this: CDRs are extremely important. Take very very good care of them!

In the world of VoIP and softswitches where the CDRs are often generated on the same system where they are processed, the chain of mediation is significantly less complex. Even with multiple geographically diverse CDR sources, fast packet switched networks, ubiquitous file sharing facilities and database resources, mediation and billing is still less of a challenge than in the conventional telephone world.

Rating and Billing

Once CDRs have been collected, validated, normalised and consolidated, a charge is calculated for each call identified by the details in one or more CDRs. This process is known as rating and not surprisingly it is carried out by a rating engine. The rating engine can be part of a billing system or it can be a preliminary process outside of the billing system. In any event, the billing system will add up the charges determined during rating for each account, calculate balances and generate invoices. The CDRs then finally end up on the invoice in form of an itemised bill.

See also


Created by oej, Last modification by linkx on Tue 18 of Sep, 2007 [08:08 UTC]

Comments Filter

Format of record

by Brain_McMillan on Friday 16 of January, 2004 [12:02:21 UTC]
I thought it worth mentioning that the record fields are as follows:

"accountcode", "source","destination","destination context","callerid","channel","destination channel", "last application","last app argument", "start time","answer time","end time","duration","billable seconds","disposition","amaflags","uniqueid"

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2008 VOIP-Info.org LLC

Powered by bitweaver