Page 1 of 1

Persistent Agent Only Callback

PostPosted: Thu Oct 01, 2015 7:21 pm
by fibres
Is there any way to easily make agent's call backs persistent. In other words so they dont disappear if someone else decided to lead search and call customer or customer calls back in and doesnt speak to original agent?

Regards

Re: Persistent Agent Only Callback

PostPosted: Fri Oct 02, 2015 4:47 am
by mflorell
I don't think there is any way to do that currently.

Re: Persistent Agent Only Callback

PostPosted: Fri Oct 02, 2015 10:38 am
by fibres
Ok. If my memory serves me correctly, and I could be wrong but the only thing that changes when a lead which is set as a callback rings back in or is called by another agent is the status of the lead changes, This causes the callback to disappear but all records in the callback tables stay the same?

If I am remembering correclty then it shouldnt bee too difficult to write a PHP script that checks for callback records that have leads with status !=CBHOLD and update and have this running on a 5 min cron job.

Any thoughts, ideas or Gotcha on that?

Regards

Re: Persistent Agent Only Callback

PostPosted: Fri Oct 02, 2015 1:14 pm
by mflorell
Some processes relating to callbacks have changed in the last few years. There are actually some processes that will delete the callback record when a call comes in or it is called and the status changed.

Re: Persistent Agent Only Callback

PostPosted: Fri Oct 02, 2015 4:40 pm
by fibres
Ah. Any hints as to which processes they are? Are they something that can be easilly stopped?

Re: Persistent Agent Only Callback

PostPosted: Sat Oct 03, 2015 5:27 am
by mflorell
I can't recall off the top of my head, you would have to search for vicidial_callbacks and find the deletes in those in your version of the code.

Re: Persistent Agent Only Callback

PostPosted: Mon Oct 05, 2015 6:51 am
by fibres
No worries. I will grep for it in the code. Ill then post back where I found and the code for updating the leads.