Become a member today

register/login

DrVoip.com

Member Login

Not a member yet? Sign Up!

Get immediate access to hot downloads such as DrVoIP VoIP planning guide(pdf) and more.

Register

ShoreTel CDR Format- How to find the International Calls!

February 5th, 2010

Recently, while working with a third party Call Accounting vendor, we had an opportunity to revisit ShoreTel CDR records.  ShoreTel stores CDR records in two locations for two different purposes.  Historically, the the first format is basically the “Legacy CDR Text Files” and they are stored in the Shoreline Data folder as log files.  The log files are written to \Shoreline Data\Call Records 2 and are written out at Midnight to a file named CDR-YYMMDD.HHMMSS.log.   This is the file that is generally accessed by third party Call Accounting software vendors.

The second format is written to a MySQL database which is used to generate call accounting reports directly from the ShoreTel server.  In version 7 ShoreTel began to migrate away from Microsoft Access to MySQL for both the CDR and the configuration database.   There is a procedure for converting the older files into the new MySQL format, but we are not going to cover that as most people have already made this transition.      The MySQL database also opens the opportunity to create custom reports using SQL queries.  Through the ShorewareDirector portal, under Reporting options, you can set the Retention Period for CDR Data as well as the Archive retention period.

CDR Options in ShorewareDirector Portal

If your third party Call Accounting software uses the 011 to detect an international CDR record, you will need to make some adjustments.  ShoreTel uses a Canonical format to collect digits.  This means that no matter what the user actually dials on the phones key pad, the system internally converts the numbers to +country-code area-code subscriber –number.   The fact that you dialed 9+011+52+3654587 will be stored in the ShoreTel CDR log file as 9+523654587 and the 011 reference will not be in the record.  The following silent film clip walk you through the format and content of the CDR.log files.

One Response to “ShoreTel CDR Format- How to find the International Calls!”

  1. Stan says:

    Hi DRVOIP

    Thanks for the wealth of ShoreTel information. Was wondering if you would be able to assist, or at least point me in the right direction regarding the ShoreTel CDR database (MySQL).

    We are wanting to generate our own reports based on this database. We are fine to configure PHP pages and SQL ourselves, but we are having issues interpreting the database. Do you know of any resources that describe the DB structure and layout? Essentially we wish to report on several things (SQL that queries the DB):

    - How many OUTBOUND calls an agent has made (based on extension and date range)
    - The above, but only where the call CONNECTED (ie. no calls that weren’t answered)
    - How many times we have RECEIVED a call from particular number (based on inbound CLI number and date range)

    Any help would be greatly appreciated. Keep up the good work.

Leave a Reply

ShoreTel Training Library – Buy Now $59.00

ShoreTel Training DVD
Learn ShoreTel System Administration! DrVoIP walks you through the process of installing, configuring and trouble shooting a ShoreTel multi-site solution. Library includes Tech Tips and ECC Install and Configuration tutorials

Download Free DrVoIP VoIP Planning Guide

Small Business Voip Business VoIP Support Hosted Voip VoiP Video Library Contact us
Cost saving Annual voip support contract Hosted pbx Free voip videos Get a quote
Disaster recovery Pay as you go support Small office solutions ShoreTel Training My account
Business voip features Pay per incident Call center solutions Cisco training Make a payment
Voip faq Installation service VoIP Glossary Sitemap Privacy Policy