Get call time AFTER transfer?

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Get call time AFTER transfer?

Postby xtdirect » Sun Oct 14, 2012 4:57 pm

VERSION: 2.6-372a
BUILD: 120713-2123

Looking for a place in the asterisk database where a call time is recorded once the agent leaves a three way conference....

The details:
I am using the agent API to control the call (not the issue... this is working great)... Doing a warm transfer by:
- Parking the call and dialing the new external number.
- Connecting the three parties together once the external number connects (Agent, Caller and External #).
- Then dropping the agent out of the call so the Caller and the External number can chat away...

Works Great... What I am looking for is a way to capture the them spent on the call AFTER the agent leaves the Caller and the External number parties.

I see that a new record is created in the asterisk.call_log table when the agent dials the external number, and that that record gets updated when the agent hangs-up the external number or leaves the three way conference.....

Is there any record of the time on the call between the Caller and the External number Once the agent has Dropped Out??

I have looked in every DB table I can think of to find this data but do not see it... Any thoughts?

Thanks in advance...

- Brian
hwdevelopment.com
xtdirect
 
Posts: 23
Joined: Wed Jul 25, 2012 1:02 pm

Re: Get call time AFTER transfer?

Postby williamconley » Mon Oct 15, 2012 7:39 pm

you'll need to grab the total call time for the original prospect and subtract the agent time with the prospect. They are in different tables, but the uniqueID should allow you to match them. Since both, in theory, should appear on the modify_lead page, this is a good resource to borrow the sql queries to get your data before the math.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 77 guests