Database Query

Answered Question
Feb 26th, 2010
User Badges:

Hello,

I used to work with Call Manager 4.0 & 4.1(3). I was able to login to the server, jump into SQL, and query whatever I needed. The main thing I queried was CDR's. I am now at a company that runs 7.1(2). I am seeing that since 5.x the CDR table hasn't existed. I tried using the GUI CDR through the web page but it just doesn't get all of what I want to see. I found in one location that the CDR files are now stored in another location due to not being pulled into a database.


Currently to get what I want for anythig other than CDR's I am logging into the Publisher via SSH and querying with "run sql". However I can't do this for CDR.


So my questions are:

1. Is there anything easier to query with these days? I tried the AXL\SOAP Toolkit but it seems to be a waste of time.


2. How can I get my CDR information without using the Web Page GUI? I would rather get the raw output and look at it in Excel.


Thanks in advance!

Correct Answer by Jaime Valencia about 7 years 4 months ago

There are no longer CAR and CDR DBs, there is only CAR DB


You can still reach it via CLI


This would be to qry 911 calls

run sql select * from car:tbl_billing_data where originalcalledpartynumber='911'


HTH


java


If this helps, please rate


www.cisco.com/go/pdihelpdesk

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
Jaime Valencia Fri, 02/26/2010 - 12:39
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    2011

There are no longer CAR and CDR DBs, there is only CAR DB


You can still reach it via CLI


This would be to qry 911 calls

run sql select * from car:tbl_billing_data where originalcalledpartynumber='911'


HTH


java


If this helps, please rate


www.cisco.com/go/pdihelpdesk

bkbristlin Mon, 03/01/2010 - 08:56
User Badges:

Ok, I did see something about that in my research.


Did all the tables stay the same or are there any new or removed ones?

bkbristlin Mon, 03/01/2010 - 10:37
User Badges:

That's what I originally tried that led me to find that the CDR had some changes. Maybe I am missing something but I couldn't seem to find it in the Data Dictionary.

Actions

This Discussion

Related Content