Page 1 of 1

SET ANYONE Callback from USERONLY Callback

PostPosted: Fri Jul 03, 2015 9:08 am
by stefano.pucci
Hi all
my env is :
Vicibox v6.0 from ISO Preload
ASTERISK : 1.8.32.3-vici
VERSION: 2.12-485a
BUILD: 150512-2225
is it possible to have this scenario ?

Agent sets a USERONLY CB at 12:00PM
If Agent doesn't recall @12:05PM , this CB change automatically to ANYONE

Pls let me know if is possible to have this feature.
Thanks
Stefano

Re: SET ANYONE Callback from USERONLY Callback

PostPosted: Fri Jul 03, 2015 9:40 am
by mflorell
There is no feature currently to do that automatically.

Re: SET ANYONE Callback from USERONLY Callback

PostPosted: Mon Jul 06, 2015 5:59 pm
by williamconley
But yes, that feature could certainly be built. Probably not even expensive until you get into the "controls".

IE: Will this be something you want to activate/deactivate on a per campaign basis? Per list? Per agent?

Re: SET ANYONE Callback from USERONLY Callback

PostPosted: Thu Aug 20, 2015 6:16 am
by ciacho
Simple query in crontab:

Code: Select all
UPDATE vicidial_callbacks set recipient='ANYONE', status='ACTIVE' where callback_time < Now()-Interval 1 hour AND recipient='USERONLY' AND status='LIVE';

Re: SET ANYONE Callback from USERONLY Callback

PostPosted: Mon Sep 07, 2015 8:38 am
by stefano.pucci
select * from vicidial_callbacks where callback_time < DATE_SUB(NOW(),INTERVAL 5 MINUTE) AND recipient='USERONLY' AND status='LIVE';

seems ok
Thanks
Stefano

Re: SET ANYONE Callback from USERONLY Callback

PostPosted: Mon Sep 07, 2015 8:40 am
by stefano.pucci
UPDATE vicidial_callbacks set recipient='ANYONE', status='ACTIVE' where callback_time < DATE_SUB(NOW(),INTERVAL 5 MINUTE) AND recipient='USERONLY' AND status='LIVE';