[Asterisk-Users] Blocking the 'Do Not Call" List

mattf mattf at vicimarketing.com
Tue Aug 10 10:18:13 MST 2004


either DBget()[if you have mysql support set up in asterisk] or a simple
perl AGI script could do the DB search and either play the message itself or
change the extension to a default "DNC number" recording. There are dozens
of Perl AGI examples out there on the web that do MySQL lookups, and I have
several if you want me to send one to you. But keep in mind the National DNC
list is over 60 million records, so it DOES NOT take up a trivial amount of
space or resources every time you do a search through it. How many outbound
calls does your customer place every day?

MATT---

-----Original Message-----
From: drodden [mailto:drodden at webunited.net]
Sent: Tuesday, August 10, 2004 12:22 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Blocking the 'Do Not Call" List


Anybody have any experience with blocking numbers in the U.S's Do Not
Call list? 

We have a customer that will be getting their own Asterisk server from
us, and they want it to be check outbound numbers against the do not
call list; this is for a backup, in case there's a slip up and one of
their people try to dial somebody on the do not call list. 

The list has millions of numbers, and I don't think the extensions.conf
file could handle me listing all million+ phone numbers and making it
play a sound like "That number is on the do not call list", and then
creating a _NXXNXXNXXX extension at the very bottom. The list would take
up all it's memory. Anybody have a more elegant solution? Maybe an AGI
script to match the outbound phone number against a column in a table in
a MySQL database? Is there something similar already written that I can
just modify?

I know one of our T1 PRI Providers support this feature, but I don't
want to block the list from all of our customers, just this one
customer. Maybe they can do source+destination based blocking. I'd still
prefer it be done through Asterisk. Suggestions?

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list