cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
4992
Views
0
Helpful
3
Replies

UCCE SQL Queries

devimohan
Level 1
Level 1

I'm new to the UCCE environment. Any recommendations of where i can get materials on how to generate basic SQL queries for UCCE?

3 Replies 3

Ritesh Desai
Spotlight
Spotlight

Hi devimohan,

There are no materials guiding you how to generate SQL queries for UCCE. You need to be sound of SQL to execute queries. What you can do is, Go to SQL DB for UCCE. You can refer the UCCE tables and refer Cisco Guides to understand the table definitions.

regards,

Ritesh Desai

*** Please rate helpful post. Please mark as answer if it solves your problem/query.
regards, Ritesh Desai

Hi,

Most important tables in UCCE for troubleshooting are TCD and RCD tables

  • The Termination_Call_Detail  table gets a new entry for each call leg that is terminated.
  • The Route_Call_Detail table gets a new entry when the call router has completed routing a call.

If you want to see what all has been configured in AW like number of agents,skill groups,call types etc then below tables can be accessed for SQL selecting awdb

t_Agent

t_SkillGroup

t_Call Type

Some examples for reference

select * from Router_Call_Detail where DateTime between ā€˜2015-12-27 00:00:00ā€™ and ā€˜2015-12-27 23:59:59ā€™

select * from Termination_Call_Detail where DateTime between ā€˜2015-12-27 00:00:00ā€™ and ā€˜2015-12-27 23:59:59ā€™

Select * from Call_Type where EnterpriseName like ā€˜abc%ā€™

There is already a very good link in support forum explaining TCD and RCD please refer

https://supportforums.cisco.com/document/63806/using-termination-call-detail-and-route-call-detail-records-troubleshooting

Regards,

DJ