Report MYSQL Help

All installation and configuration problems and questions

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

Report MYSQL Help

Postby hiadviser » Mon Oct 14, 2013 9:54 pm

I am trying to create some custom reports for an outside client. I want to print out every record that was inbound from today's date.
I've tried from the vicidial_did_log table, but I keep getting a lot of duplicates. I first select the phone_number from the vicidial_log_table, then perform a lookup in the vicidial_lists table to find the rest of the customer information. But like I said, I'm getting a lot of duplicates. Not sure if there is another table I should be looking in or what. Has anyone done this before?

Any help is greatly appreciated. Thank you.
ViciDial VERSION: 2.14-583a | BUILD: 161226-2224 | Asterisk 11.22.0-vici | Cluster Setp - 3 Web, 1 DB| No Digium/Sangoma Hardware | No Extra Software | HP ProLiant DL360 G6, 48GB RAM, 16 x Intel Xeon X5550 2.67GHz, 480GB SSD
hiadviser
 
Posts: 71
Joined: Wed Dec 05, 2012 9:29 am

Re: Report MYSQL Help

Postby retloc » Mon Oct 14, 2013 10:02 pm

maybe try vicidial_closer_log if you have your inbound calls transferring to a ingroup.

I typically build my inbound reports with the following tables

vicidial_closer_log = queue information
vicidial_agent_log = agent time per lead worked
vicidial_lists = if I need to pull any saved lead detail
retloc
 
Posts: 46
Joined: Wed Jan 13, 2010 3:09 pm
Location: United States

Re: Report MYSQL Help

Postby hiadviser » Tue Oct 15, 2013 2:14 pm

Ah, lifesave. vicidial_closer_log was what I needed. Thank you.
ViciDial VERSION: 2.14-583a | BUILD: 161226-2224 | Asterisk 11.22.0-vici | Cluster Setp - 3 Web, 1 DB| No Digium/Sangoma Hardware | No Extra Software | HP ProLiant DL360 G6, 48GB RAM, 16 x Intel Xeon X5550 2.67GHz, 480GB SSD
hiadviser
 
Posts: 71
Joined: Wed Dec 05, 2012 9:29 am


Return to Support

Who is online

Users browsing this forum: No registered users and 139 guests