ShoreTel Forums  

Go Back   ShoreTel Forums > ShoreTel Tech > 3rd Party

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 10-01-2008, 01:33 PM   #1
Junior Member
 
Join Date: Oct 2008
Location: Bristol
Posts: 3
Running reports from MySQL database

Hi all

I'm a developer tasked with running custom reports from the Shoretel MySQL database regarding calls received etc.

I'm having real difficulty understanding how call information is logged. I get the principle that a single call can have a number of connects, but I have been experimenting with making calls to the system from outside and the results from the database don't seem consistent with that.

For example, I made a call from my mobile to my extension, then transferred that call to another extension (Paul's).

This resulted in two connect records EACH JOINED TO SEPARATE call records, which was not at all what I was expecting. I was expecting two connect records each joined to the same single call record.

Here is some data from each of the connect/call record pairings:

PAIRING 1:
connect.ConnectReason: 17 ('called')
connect.ConnectTime: 16:19:35 (date omitted for brevity)
connect.PartyIDName: David
call.StartTime: 16:19:35
call.EndTime: 16:20:00
call.Extension: 7131 (i.e. Paul's)
call.DialedNumber: my full extension
call.CallerID: my mobile number

PAIRING 2:
connect.ConnectReason: 17 ('called')
connect.ConnectTime: 16:19:45
connect.PartyIDName: Paul
call.StartTime: 16:19:45
call.EndTime: 16:19:53
call.Extension: 7246 (i.e. mine)
call.DialedNumber: 7131 (i.e. Paul's)
call.CallerID: 7246 (i.e. mine)

So it appears the database has logged two separate calls, one from my mobile to my extension, and one from my extension to Pauls' extension. However, as I said, the call was in fact transferred from my extension to Pauls. How can I work out from the data that this was in fact a single call?

Any tips on how call information is recorded in the database would be tremendously helpful!

btw, we're using ShoreTel 7.5.

Thanks in advance

David
Dovdimus Prime is offline   Reply With Quote
Old 10-01-2008, 01:40 PM   #2
Administrator
 
Join Date: Dec 2006
Location: Los Angeles, CA
Posts: 505
Send a message via AIM to cburgy Send a message via MSN to cburgy

Do you have the system administrator's guide that discusses the CDR database?
__________________
Cheers,

Chris Burgy
Chief Technology Officer
Archer Technology Group
www.archertechgroup.com
310.916.0020
cburgy is offline   Reply With Quote
Old 10-02-2008, 05:21 AM   #3
Junior Member
 
Join Date: Oct 2008
Location: Bristol
Posts: 3

Yes, I do. That's why I'm a bit confused. The data I'm getting doesn't seem to match up with what the guide told me to expect. I expected one call record and two connect records. Instead I have two call records, but no way I can see to link them up.

Any tips?
Dovdimus Prime is offline   Reply With Quote
Old 10-03-2008, 11:15 AM   #4
Junior Member
 
Join Date: Oct 2008
Location: Bristol
Posts: 3

Wow! Looks like I'm on my own.
Dovdimus Prime is offline   Reply With Quote
Reply

Tags
None

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may post new threads
You may post replies
You may post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:08 AM.


Powered by vBulletin® Version 3.7.0 Release Candidate 2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0