change useronly calbacks to normal callbacks

All installation and configuration problems and questions

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

change useronly calbacks to normal callbacks

Postby phil_discount » Tue Nov 03, 2009 10:34 am

Hello,

if anyone has a similiar request to change useronly callbacks after 30 minutes if not dialed until to normal callbacks.

create a crontab like this:

Code: Select all
mysql -ucron -p1234 -hlocalhost --database=asterisk --execute="UPDATE vicidial_callbacks SET recipient = 'anyone', status = 'active' WHERE recipient = 'USERONLY' AND status = 'LIVE' AND callback_time < now() - interval 30 minute;"


if u only change recipient to "anyone" it doesn't work, because status is live. so u have to change the status to active, after a short time, vicidial change the status to live and place it in the hopper.

if u reset ur hopper, live callbacks get missed cause they are not loaded anymore in the hopper, i don't know if it's a bug or feature :-)

regards
philip
ViciBox Redux 3.0.5 | Vicidial 2.2.1-260 100527-2211 | Asterisk 1.4.27.1
9xVicidial 8-core 2.5GHz,4GB,SSD
4xWeb 4-core 2.5GHz,4GB,SSD
DB: 24-core-1.9GHz AMD,96GB,8xSSD Raid10
3xDBslave 4-core 2.5GHz,4GB,SSD (for SELECT: Reporting/LIVE)
400 seats
phil_discount
 
Posts: 468
Joined: Thu Jun 18, 2009 8:44 am
Location: Deutschland/Schweiz/Österreich

Postby mflorell » Tue Nov 03, 2009 6:39 pm

That's a feature of course :)

Clearing the hopper can stop Auto-alt dialing, lead recycling and triggered scheduled callbacks, so you should understand this before you clear the hopper.

Your idea sounds like a good feature request, this could be added to the hopper loader and added as a feature potentially if someone does the coding or sponsors it. Please put an entry into the issue tracker if you can.
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby phil_discount » Fri Nov 13, 2009 11:11 am

done, i hope i make everything right

http://www.vicidial.org/VICIDIALmantis/view.php?id=251

regards
philip
ViciBox Redux 3.0.5 | Vicidial 2.2.1-260 100527-2211 | Asterisk 1.4.27.1
9xVicidial 8-core 2.5GHz,4GB,SSD
4xWeb 4-core 2.5GHz,4GB,SSD
DB: 24-core-1.9GHz AMD,96GB,8xSSD Raid10
3xDBslave 4-core 2.5GHz,4GB,SSD (for SELECT: Reporting/LIVE)
400 seats
phil_discount
 
Posts: 468
Joined: Thu Jun 18, 2009 8:44 am
Location: Deutschland/Schweiz/Österreich


Return to Support

Who is online

Users browsing this forum: contactcentre24x7, Google [Bot] and 83 guests