editing comments field

All installation and configuration problems and questions

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

editing comments field

Postby oceanuser » Wed Apr 01, 2015 6:42 am

Hi everyone.
I have been tasked with editing the comments field for a campaign so that it will tell the agent which client they need to transfer too. client 1 or client 2 ,depending on postcode.
Problem is i don’t know how to do this. I don’t know whether to make this change on the database or can it be done on the dialer?....
Im in a bind guys. Can anyone help me out? Thanks

VERSION: 2.8-420a
BUILD: 131210-1741
© 2013 ViciDial Group
oceanuser
 
Posts: 1
Joined: Wed Apr 01, 2015 6:25 am

Re: editing comments field

Postby bobchaos » Sat May 02, 2015 12:27 pm

If it were me, I'd copy the DB over to a lab and cook up a MySQL script to automate it for me. When you're confident in your script run a few tests and then apply it to my prod DB. If it explodes then you can reload the database dump you used to setup the test (or a fresh one done just before running the script in prod, preferably).

Good sysadmins are lazy: Why do something even twice when you can automate it only once?

If that kind of scripting is not in your skillset, then I'd do it by looking up each lead, or maybe editing the list in Excel prior to uploading it (or download it, do the changes and re-upload in a fresh list). Well, that's a lie, I'd just research the scripting skills I need ;) but sometimes time won't allow for that :/

The important thing to remember, no matter what strategy you use, is to take great care before editing MySQL tables directly. You only do so after you've backed up everything (at least the DB, but I'd recommend the whole system using the backup scripts in the extras directory of you Vicidial install), tested thoroughly in a lab (Both the changes and the backup itself!) and advised the prod team of potential explosions if for some reason you have to do this during prod hours. The interface provides all kinds of security against human errors, whereas SQL clients won't bother to ask "are you sure" if you accidentally tell it to "Overwrite everything with NULL" ;)
bobchaos
 
Posts: 171
Joined: Fri Jan 06, 2012 12:46 pm

Re: editing comments field

Postby mflorell » Sat May 02, 2015 12:48 pm

You're going to have to explain exactly what you mean by "editing the comments field for a campaign".

Also, I would strongly recommend upgrading your system to either release 2.11 or the latest svn/trunk. There are a lot of bugs fixed and features added since the version you are on.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 69 guests