[SOLVED] Find total number of outbound agents per day

All installation and configuration problems and questions

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

[SOLVED] Find total number of outbound agents per day

Postby khuff » Mon Mar 06, 2017 10:40 am

So we're running a blended campaign and I wanted to know how many agents logged in with blended dialing enabled on Friday vs Today. I didn't see any report that would give me this info could you kindly point at a table I query for this info? Additionally is there a place I can look and see who is currently logged with blended dialing checked in real time? Going through each agent individually is time consuming when I have almost 70 agents logged in.
Last edited by khuff on Mon Mar 06, 2017 11:02 am, edited 1 time in total.
Vicibox 8.1 | ViciDial VERSION: 2.14-687a BUILD: 180908-1618 | Asterisk: 11.25.3-vici | Multi Server 12 x Dialers / 2 x Web / 1 x Master DB / 1 x Slave DB / 1 x Archive | No extra software or hardware after install
khuff
 
Posts: 80
Joined: Mon Feb 20, 2012 12:19 pm

Re: Find total number of outbound agents per day

Postby mflorell » Mon Mar 06, 2017 10:44 am

There is no report currently that provides that specific information in summary.

That information would be stored in the vicidial_user_closer_log database table, and I'm sure a report could be made to provide that info.
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Find total number of outbound agents per day

Postby khuff » Mon Mar 06, 2017 10:50 am

Just to confirm an entry goes into that table every time a user logs in?
Vicibox 8.1 | ViciDial VERSION: 2.14-687a BUILD: 180908-1618 | Asterisk: 11.25.3-vici | Multi Server 12 x Dialers / 2 x Web / 1 x Master DB / 1 x Slave DB / 1 x Archive | No extra software or hardware after install
khuff
 
Posts: 80
Joined: Mon Feb 20, 2012 12:19 pm

Re: Find total number of outbound agents per day

Postby mflorell » Mon Mar 06, 2017 10:55 am

An entry goes into that table every time an agent chooses their in-groups in the agent screen. Or, if the agent isn't allowed to choose their in-groups, an entry is inserted every time they log in.
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Find total number of outbound agents per day

Postby khuff » Mon Mar 06, 2017 11:01 am

Makes sense. Works like a charm. Here's the query if any people from the future need the same.

Code: Select all
SELECT DISTINCT count(*), date(event_date) FROM `vicidial_user_closer_log`
where date(event_date) = $date_to_search
and campaign_id = $campaign_id
and blended = '1';


Thanks a bunch for the quick reply.
Vicibox 8.1 | ViciDial VERSION: 2.14-687a BUILD: 180908-1618 | Asterisk: 11.25.3-vici | Multi Server 12 x Dialers / 2 x Web / 1 x Master DB / 1 x Slave DB / 1 x Archive | No extra software or hardware after install
khuff
 
Posts: 80
Joined: Mon Feb 20, 2012 12:19 pm

Re: [SOLVED] Find total number of outbound agents per day

Postby mflorell » Mon Mar 06, 2017 11:13 am

Thanks for posting your solution!
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 91 guests