Get Agent Login Time

All installation and configuration problems and questions

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

Get Agent Login Time

Postby aleyva » Tue Nov 05, 2013 10:38 pm

Hi,
I need to get Login Time from a Agent by Campaign, Where I can get this data?? I have agents that work two or more campaigns,
I was to using API NON AGENT but Login Time Not is by Campaign.

Thanks for yours answers!


---------------
ViciBox Redux v.4.0.2 released from .iso | VERSION: 2.8-408a BUILD: 130711-2208 | Asterisk 1.4.44-vici | Vicidial Server, DB Server, WebServer, Dialers Servers | Dialers with Sangoma Hardware | No Extra Software After Installation | HP Servers, IBM Servers
aleyva
 
Posts: 20
Joined: Wed Oct 23, 2013 12:25 pm

Re: Get Agent Login Time

Postby williamconley » Sun Nov 17, 2013 9:20 pm

You'll find this in the user stats page. This contains login/logout times and has a campaign column. It also has a download button in later versions.

/vicidial/user_stats.php?DB=&did_id=&did=&begin_date=2013-11-15&end_date=2013-11-15&user=XXXX&submit=submit

replace XXXX with a user ID.
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!)

Re: Get Agent Login Time

Postby aleyva » Fri Nov 22, 2013 12:32 pm

Ok, but i need this data for an app web that I made.
That's why I use Agent non API NON AGENT, it like work "like" an WebService, but its has this problem with agents that are working in two campaigns.

http://www.vicidial.org/docs/NON-AGENT_API.txt , I use agent_stats_export.
aleyva
 
Posts: 20
Joined: Wed Oct 23, 2013 12:25 pm

Re: Get Agent Login Time

Postby williamconley » Sat Nov 23, 2013 12:22 pm

each section of user stats has a "download" button, allowing you to download it without need of the api system.

if you explore that with your web browser, you will find that the "download" link contains all the information necessary to determine the period and user of the report. just like the api.

if you are unable to make that work for you and you require an api function in the api ... and the api functions do not have what you want ... i'd say it's time to have someone make a new api option that WILL download what you want. but I'd highly recommend that you take the notion that "the only way to get information from the system is the api" since technically the web GUI for Vicidial *IS* an api.

It's primary purpose is to interface with humans in web browsers, but it does have the ability to download CSV files ... and if that's your goal, then perhaps user_stats.php will function as your API today?
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: No registered users and 146 guests