How to use Filter

All installation and configuration problems and questions

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

How to use Filter

Postby smead » Tue Nov 12, 2013 10:23 am

Is there a resource that shows example scripting, or lays out a framework? I would like to use this to customize time zone calling mainly, but it appears a little intimidating at the moment.
Single Server | Dell Optiplex 755 Quadcore 2.4Ghz 4GB Ram | OpenSuSE v.12.1 | ViciBox Preload x86 v5.0.3 | VERSION: 2.8-426a BUILD: 140214-1643 SVN 2077 | Asterisk 1.8.25.0-vici
smead
 
Posts: 73
Joined: Wed Jul 24, 2013 5:46 pm

Re: How to use Filter

Postby williamconley » Tue Nov 12, 2013 12:44 pm

it's a mysql query addition.

to call only the state of new jersey, for instance, you would use:

upper(state)='NJ'

or for multiple states

upper(state) IN ('NJ','WI','FL')

More complex queries can slow your system. Always check the campaign before and after for available leads. If the number goes UP instead of DOWN, you broke something. If it goes down more than you were expecting ... once again, you may have broken something.

Avoid use of "OR" unless you are very familiar with mysql and remember that the query addition you are making is NOT the only clause in use. There are already some "where" clauses in place and you are adding new ones. An "OR" could cause the system to ignore the previous where clauses and break functionality.

The system already has the ability to dial according to time zone order in the list order field of the campaign.
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: How to use Filter

Postby smead » Tue Nov 12, 2013 1:14 pm

Yes I've been experimenting with the list order. I thought that was my answer at first, but it ends up just calling either west coast leads all day or east coast leads all day, with the exception of 1 or 2 hours when the call times restrictions kick in. I need it to be a little more dynamic, starting with EST and tapering down to PST as the day progresses.
Single Server | Dell Optiplex 755 Quadcore 2.4Ghz 4GB Ram | OpenSuSE v.12.1 | ViciBox Preload x86 v5.0.3 | VERSION: 2.8-426a BUILD: 140214-1643 SVN 2077 | Asterisk 1.8.25.0-vici
smead
 
Posts: 73
Joined: Wed Jul 24, 2013 5:46 pm

Re: How to use Filter

Postby smead » Tue Nov 12, 2013 1:27 pm

My other thought would be to somehow exclude certain hours of calling. For example, no calling during local hours of 8-9, 1145-1315, 1630-. That would probably be simpler, wouldn't it?
Single Server | Dell Optiplex 755 Quadcore 2.4Ghz 4GB Ram | OpenSuSE v.12.1 | ViciBox Preload x86 v5.0.3 | VERSION: 2.8-426a BUILD: 140214-1643 SVN 2077 | Asterisk 1.8.25.0-vici
smead
 
Posts: 73
Joined: Wed Jul 24, 2013 5:46 pm

Re: How to use Filter

Postby williamconley » Tue Nov 12, 2013 3:39 pm

Assuming you want to apply it to the Local time of each lead, it may work. But do be careful with serverload when you begin to create seriously complex filters.
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!)


Return to Support

Who is online

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