Filter for Zip Codes

All installation and configuration problems and questions

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

Filter for Zip Codes

Postby udfxrookie » Thu Nov 17, 2011 4:42 pm

I need to create a filter to allow only the zip codes in the filter to be dialed.... as example:
Zip code 12345, 12346, 123457 to call

would I use
postal_code IN ('12345','12346','12347')

and just keep adding zip codes?
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Postby udfxrookie » Thu Nov 17, 2011 5:12 pm

so far it looks solid :twisted:
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Re: Filter for Zip Codes

Postby udfxrookie » Tue Jun 12, 2012 10:28 am

Ok... trying the opposite now... how do I filter OUT zip codes.... I tried
postal_code OUT ('15010')
but it's not working... still have leads with zip code 15010 going through the dialer... any ideas?
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.10-452n build: 14111-0554 | Asterisk 1.8.31.0-vici | 1 AIO Setup Helping local companies startup www.AKAMarketing.net
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Re: Filter for Zip Codes

Postby Acidshock » Tue Jun 12, 2012 3:27 pm

postal_code NOT IN ('12345','12346','12347')
VERSION: 2.14-698a | BUILD: 190207-2301 | Asterisk:13.24.1-vici | Vicibox 8.1.2
Acidshock
 
Posts: 430
Joined: Wed Mar 03, 2010 3:19 pm

Re: Filter for Zip Codes

Postby udfxrookie » Tue Jun 12, 2012 3:36 pm

TY!!!!!! =)
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.10-452n build: 14111-0554 | Asterisk 1.8.31.0-vici | 1 AIO Setup Helping local companies startup www.AKAMarketing.net
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Re: Filter for Zip Codes

Postby udfxrookie » Thu Jun 14, 2012 10:27 pm

Whole lotta not working put in the filter box postal_code NOT IN ('15010') and they're still coming in from 15010
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.10-452n build: 14111-0554 | Asterisk 1.8.31.0-vici | 1 AIO Setup Helping local companies startup www.AKAMarketing.net
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Re: Filter for Zip Codes

Postby DomeDan » Fri Jun 15, 2012 5:38 am

You can try it out with "TEST ON CAMPAIGN:" if you got that feature in your version.
else you can find out the lead_id of that lead and try this in mysql:
select * from vicidial_list where postal_code NOT IN ('15010') and lead_id = 'the-lead'
if you see the lead then maybe the postal_code contains a space of something
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: Filter for Zip Codes

Postby udfxrookie » Tue Jul 17, 2012 10:44 am

Still not working:
Code: Select all
Postal_Code NOT IN (15010,15037,15024,15014,15025)


Please please help
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.10-452n build: 14111-0554 | Asterisk 1.8.31.0-vici | 1 AIO Setup Helping local companies startup www.AKAMarketing.net
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Re: Filter for Zip Codes

Postby DomeDan » Tue Jul 17, 2012 11:35 am

Postal_Code should not be capital letters
(15010,15037,15024,15014,15025) should be ('15010','15037','15024','15014','15025') because postal_code is a varchar
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: Filter for Zip Codes

Postby udfxrookie » Tue Jul 17, 2012 11:53 am

trying with
Code: Select all
postal_code NOT IN ('15010','15037','15024','15014','15025')
now =) ty for teaching me the basics
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.10-452n build: 14111-0554 | Asterisk 1.8.31.0-vici | 1 AIO Setup Helping local companies startup www.AKAMarketing.net
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Re: Filter for Zip Codes

Postby williamconley » Tue Jul 17, 2012 10:55 pm

Code: Select all
mysql> select user from vicidial_users limit 1;
+------+
| user |
+------+
| 1102 |
+------+
1 row in set (0.00 sec)

mysql> select User from vicidial_users limit 1;
+------+
| User |
+------+
| 1102 |
+------+
1 row in set (0.00 sec)

mysql> select UsEr from vicidial_users limit 1;
+------+
| UsEr |
+------+
| 1102 |
+------+
1 row in set (0.00 sec)
I will note, however, that mysql field names are not case sensitive.
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: 20278
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Filter for Zip Codes

Postby udfxrookie » Tue Jul 17, 2012 11:02 pm

So what's stopping this fitter from working :-(
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.10-452n build: 14111-0554 | Asterisk 1.8.31.0-vici | 1 AIO Setup Helping local companies startup www.AKAMarketing.net
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Re: Filter for Zip Codes

Postby williamconley » Wed Jul 18, 2012 12:03 am

perhaps you forgot to clear the hopper?
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: 20278
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Filter for Zip Codes

Postby udfxrookie » Wed Aug 01, 2012 9:15 am

Grrrr... never thought I'd have issues with this. I put in:
Code: Select all
postal_code NOT IN (`15010`,`15037`,`15024`,`15014`,`15025`,`15017`)


and I'm still getting calls from these zip codes, what in the world could be wrong with the coding... I even thought my back ticks were wrong b/c that was where I kept messing up the sql in asterisk by using a '

I also though:
Code: Select all
postal_code NOT IN (15010,15037,15024,15014,15025,15017)

would work but it isn't.
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.10-452n build: 14111-0554 | Asterisk 1.8.31.0-vici | 1 AIO Setup Helping local companies startup www.AKAMarketing.net
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Re: Filter for Zip Codes

Postby mflorell » Wed Aug 01, 2012 11:38 am

don't use backticks, use quotes.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Filter for Zip Codes

Postby williamconley » Wed Aug 01, 2012 11:50 am

single quotes

'15017'
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: 20278
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Filter for Zip Codes

Postby udfxrookie » Wed Aug 01, 2012 11:56 am

Ok, at first I tried this based on what Matt mentioned:
Code: Select all
postal_code NOT IN ("15010","15037","15024","15014","15025","15017")


but your saying to try this:

Code: Select all
postal_code NOT IN ('15010','15037','15024','15014','15025','15017')



The first way I do the test and it shows:
Code: Select all
Show Dialable Leads Count -

CAMPAIGN: Energy
LISTS: '9500','9502','9506','9507','9604','9605','9616'
STATUSES: CBAM AA B DROP CALLBK N A NEW -
FILTER: NONENERGY
CALL LIMIT: 0 CALL TIME: 9am-9pm

This campaign has 12303 leads to be dialed in those lists


The second way shows this for results:
Code: Select all
Show Dialable Leads Count -

CAMPAIGN: Energy
LISTS: '9500','9502','9506','9507','9604','9605','9616'
STATUSES: CBAM AA B DROP CALLBK N A NEW -
FILTER: NONENERGY
CALL LIMIT: 0 CALL TIME: 9am-9pm

This campaign has 0 leads to be dialed in those lists


:(
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.10-452n build: 14111-0554 | Asterisk 1.8.31.0-vici | 1 AIO Setup Helping local companies startup www.AKAMarketing.net
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Re: Filter for Zip Codes

Postby williamconley » Wed Aug 01, 2012 12:13 pm

that's different. i've never used double quotes in a mysql filter, but if it works go with it!
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: 20278
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Filter for Zip Codes

Postby udfxrookie » Wed Aug 01, 2012 8:09 pm

Thats the thing... it shows that there are leads in the dialer doing it the first way but it isn't operational, it's not filtering out those zip codes. I still see them coming to the agents, the other way didn't work either...
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.10-452n build: 14111-0554 | Asterisk 1.8.31.0-vici | 1 AIO Setup Helping local companies startup www.AKAMarketing.net
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Re: Filter for Zip Codes

Postby williamconley » Thu Aug 02, 2012 1:35 am

is that the only thing in the filter? or is this a "partial showing" of a bigger filter?
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: 20278
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Filter for Zip Codes

Postby udfxrookie » Thu Aug 02, 2012 7:26 am

that's it, just trying filters now, can't make it past this one lol
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.10-452n build: 14111-0554 | Asterisk 1.8.31.0-vici | 1 AIO Setup Helping local companies startup www.AKAMarketing.net
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Re: Filter for Zip Codes

Postby williamconley » Fri Aug 03, 2012 11:01 pm

you may have an old bug. perhaps an upgrade is in order. i do remember some clients having difficulty getting filters to work back there somewhere.
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: 20278
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 94 guests