Filter Rule (recall leads called 15 times after 30Days)

All installation and configuration problems and questions

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

Filter Rule (recall leads called 15 times after 30Days)

Postby renzocaso » Mon Mar 31, 2014 8:27 am

Hello Guys ( hope this is possible)
I been trying to setup a Filter rule who allow me recall leads called 15 times or more only after pass 30 days from been called. (also called less than 15 in normal way.)

I tried this but no good result at all.

called_count < "15" OR (called_count>="15" AND last_local_call_time >= DATE_SUB(NOW(), INTERVAL 30 DAY))

any help I really appreciate

thank you very much :D :D :D

MY SETUP
Voip no T1 or PSTN
Samgoma Timer
i5 4Gb ram
VERSION: 2.4-309a
BUILD: 110430-1642
Goautodial
Asterisk 1.4.39.1-vici
renzocaso
 
Posts: 9
Joined: Wed Jun 19, 2013 10:05 am

Re: Filter Rule (recall leads called 15 times after 30Days)

Postby williamconley » Thu Apr 10, 2014 8:51 pm

Run your filter in phpMyAdmin and see what your results are. Put SELECT * FROM vicidial_list WHERE in front of it.

You may find you want to change >= to <=

last_local_call_time <= DATE_SUB

to ensure the last call date is BEFORE 30 days and not AFTER 30 days
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Filter Rule (recall leads called 15 times after 30Days)

Postby renzocaso » Fri Apr 18, 2014 11:14 am

I will try
thank you like allays




MY SETUP
Voip no T1 or PSTN
Samgoma Timer
i5 4Gb ram
VERSION: 2.4-309a
BUILD: 110430-1642
Goautodial
Asterisk 1.4.39.1-vici
renzocaso
 
Posts: 9
Joined: Wed Jun 19, 2013 10:05 am


Return to Support

Who is online

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