Resolution
To determine the list of all the toll calls, run an SQL query using the following procedure:
- Select Start > Programs > MS SQL Server > Query Analyzer.
- Enter the query given below:
use cdr select callingPartyNumber from CallDetailRecord
where originalCalledPartyNumber like '47%'
or finalCalledPartyNumber like '47%'
- Hit F5.
This displays all the phone numbers/extensions that called 47%.
An alternate procedure is given below:
- Select Start > Programs > MS SQL Server > Enterprise Manager > CallManagerName > Databases > CDR > Tables.
- Right-click on CallDetailRecord.
- Click Open Table.
- Select Return all Rows.
- Click the SQL icon.
- Enter the following:
select callingPartyNumber, dateTimeOrigination,
originalCalledPartyNumber from CallDetailRecord
where originalCalledPartyNumber like '4155016000' or
finalCalledPartyNumber like '4155016000'
- Hit the ! to run query.
Note: % is used as a wildcard. Numbers 47 and 4155016000 are used as an example in this Cisco TAC Collection Case. It can be any other number you would like to query.
For additional information, please refer to Using SQL Queries to Search the Call Detail Record (CDR) with Cisco CallManager.
Problem Type
Ask a how to ... question
Call control software (CallManager, CallManager Express, ICS7750, SRST, SS7 call agents)
Call Control
CallManager
CallManager Features
Database
How to ...
How to ... CallManager call detail records
Call Topology and Direction
To long distance national number
To mobile network
To international destination
Call Detail Records (CDR)
CDR database
CallDetailRecord table
Operating System Components
SQL