by mav2287 » Wed Feb 25, 2015 2:26 pm
We have been using the multi-lead function in combination with the list local call times code I wrote around Christmas with Matt. In our setup we are using auto-dial with multi-lead, but we are also allowing agents to manual dial leads in the campaign. The manual dials are normally used when a lead wants a call back at a specific time of day or for odd ones like a work number that needs to be called outside the hours for our work list. Doing this we are running into two issues we would like to solve as soon as possible. The first I have a really good idea of how to solve the second I need advice on where to start before I start making code changes.
The first issue we are having is that agents need to be able to call leads outside of their list local call time, but still with the campaign local call time. Right now when you turn on Manual call times it is either on or off and this means it applies both list and camp local call time rules. This is a side effect of the new time code for individual lists. My thought on a fix for this is really simple, change the way the manual dial time works so that in addition to enable/disable you would have "Camp_Only". Campaign Only would only apply the campaign local call time rules and not the List local call time rules. This way you could call any lead anytime as long as it is within the campaign call time.
The second issue we are having has to do with manual dial aftercall code not doing what autodial aftercall code does in a multi-lead campaign. When in a multi-lead campaign after a call if it is a status that doesn't allow any more calls to the lead the code will change the status on all the other leads with same vendor_lead_code to a non-dialable one. HOWEVER if you are in that same multi-lead campaign, you lookup a lead, manual dial that lead, and dispo it with a status that would prevent calls to all the other leads with the same vendor_lead_code it will not update the status on all the other leads with the same vendor_lead_code like an autodial call would have. The issue with this is that if an agent manual dials a lead in the campaign to follow up with them in the morning after they dispo that manual dial call it won't do anything with the other leads with the same vendor lead code. This means that the campaign will dial the other leads with same vendor_lead_code later on because the manual dial didn't change the status on those other leads with the same vendor_lead_code. My thought on this is that I would just need to get the code that updates the other leads in multi-lead for autodialing and then make sure it also applies and is ran when a manual dial is dispo-ed if multi-lead is on. I would like to figure out the best way to do this before I start making changes. I also don't know where that code is so any help in where to find it and why it behaves this way would also be a appreciated. I am also looking for general insight and thoughts on this. When I do code work I am always open to other items that need work along the way. If there is anything else that makes sense to do while going down this road please also let me know so I can knock it out as well.
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