Page 1 of 1

Cancel Callback Hold

PostPosted: Fri Aug 01, 2014 9:28 pm
by ClearCall
There are times when agents schedule callbacks but then the customer calls in before the time. The problem is that callback still shows up in their notifications on the scheduled day.
Is there an easy way to cancel a call back other than going into the database?

Vicidial VERSION: VERSION: 2.8-426a BUILD: 140214-1643
Asterisk Asterisk 1.8.25.0-vici

Re: Cancel Callback Hold

PostPosted: Sat Aug 02, 2014 6:43 am
by mflorell
If you set up the "AST_DB_dead_cb_purge.pl" script in your crontab then it can periodically clear out callback entries for leads that have had their status changed. Make sure to read the comments so you set the proper options:

dial1:~ # /usr/share/astguiclient/AST_DB_dead_cb_purge.pl --help
allowed run time options:
[--purge-non-cb] = delete callback records of leads with no CBHOLD/CALLBK status
[--remove-dup-cb] = remove older duplicate callbacks for same user and lead_id
[--test] = test
[--quiet] = quiet
[--debug] = verbose debug messages
[--debugX] = extra verbose debug messages

Re: Cancel Callback Hold

PostPosted: Sat Aug 02, 2014 10:13 am
by ClearCall
Thank you very much.

Re: Cancel Callback Hold

PostPosted: Thu Jul 14, 2016 9:49 am
by ERVINSULA
HI
I would like to know if there is any posibility to clear lists of your campaign, but on the same time to hold the callback without loosing them

thank you all

Re: Cancel Callback Hold

PostPosted: Thu Jul 14, 2016 8:11 pm
by MJCoate
Hello,

This isn't really possible. Callbacks are basically pointers in another table that reference the lead the callback was for. If you delete the list, you'll delete the lead including the phone number for that callback.

Re: Cancel Callback Hold

PostPosted: Tue Aug 13, 2019 10:43 am
by elite_energy
mflorell wrote:If you set up the "AST_DB_dead_cb_purge.pl" script in your crontab then it can periodically clear out callback entries for leads that have had their status changed. Make sure to read the comments so you set the proper options:

dial1:~ # /usr/share/astguiclient/AST_DB_dead_cb_purge.pl --help
allowed run time options:
[--purge-non-cb] = delete callback records of leads with no CBHOLD/CALLBK status
[--remove-dup-cb] = remove older duplicate callbacks for same user and lead_id
[--test] = test
[--quiet] = quiet
[--debug] = verbose debug messages
[--debugX] = extra verbose debug messages


The script is commented out by default in my version of Vicidial - is it safe to use?

Re: Cancel Callback Hold

PostPosted: Wed Aug 14, 2019 7:32 am
by mflorell
Yes, it is safe to use, we have it enabled for dozens of clients.