Call Log....Need help

All installation and configuration problems and questions

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

Call Log....Need help

Postby mastrit » Thu Feb 20, 2014 7:17 am

Hello, I need help.
My server needs every day to repair my table call_log, vicidial_dial_log, etc tables....
How can i delete but not to remove the Lists, and the statuses from lead. Only some logs that server dont need...
Thnxx



Asterisk version=1.4.44-vici
VERSION: 2.6-395a
BUILD: 130221-1736
mastrit
 
Posts: 14
Joined: Thu Apr 18, 2013 3:11 am

Re: Call Log....Need help

Postby mav2287 » Fri Feb 21, 2014 7:06 pm

How long has this been going on for and what is the reason you need to repair the call_log table? If it keeps happening it would appear that something else is broken causing this issue
ViciBox5.x86_64-5.0.3.preload from .iso upgraded to 13.1 | VERSION: 2.10-444c BUILD: 150129-0828 | 1.8.32.2-vici | Dual Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel twin quad core 3Ghz Xeon chips | 32gb of RAM
mav2287
 
Posts: 256
Joined: Thu Oct 03, 2013 6:47 pm

Re: Call Log....Need help

Postby williamconley » Sat Mar 01, 2014 11:49 pm

If you run a vicidial server long enough, the log tables will bloat. There is an archive log tables script designed to move the excess entries into "_log_archive" tables and delete the entries from the "_log" tables. This is a safe process as nothing is deleted, but the harvested log files will no longer be available for reporting. It is up to you to "acquire" any of the old data in case you ever need it for anything. After the data has been moved, the log tables will be greatly reduced in size. You can set this script up to run monthly (or daily for that matter).

Of course, it is also possible that your HD is full ... in which case you may just need to delete some files (such as recordings in the WAV folder of monitorDONE if you have them converted to GSM or MP3 already anyway).

Also: Please always post your installation method (and version if .iso or link to instructions if manual). It helps us to know what method you used.
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: Call Log....Need help

Postby geoff3dmg » Mon Mar 03, 2014 5:10 am

williamconley wrote:Of course, it is also possible that your HD is full ... in which case you may just need to delete some files (such as recordings in the WAV folder of monitorDONE if you have them converted to GSM or MP3 already anyway).


There's a cron job you can enable to do this. Although I would highly recommend you look at using an archive server if this is the culprit.
Vicibox 5.03 from .iso | VERSION: 2.10-451a BUILD: 140902-0816 | Asterisk 1.8.28.2-vici | Multi-Server | Amfeltec H/W Timing Cards | No Extra Software After Installation | Dell PowerEdge 1850 | Pentium 4 'Prescott' Xenon Quad @ 3.40GHz
geoff3dmg
 
Posts: 403
Joined: Tue Jan 29, 2013 4:35 am
Location: Lancashire, UK


Return to Support

Who is online

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