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

Chris Shaw chriss at watertech.com
Tue Aug 10 12:06:09 MST 2004


I'm a big fan of PHP for this kind of stuff myself, it's really easy to get
something like this going, probably would take you like a half an hour to
get a working program that simply checks against a MySQL database...

Perl works good too, I just like PHP because of all the built-in MySQL
coolness...

My $0.000000000002

-Chris

----- Original Message -----
From: "Chris Shaw" <chriss at watertech.com>
To: <asterisk-users at lists.digium.com>
Sent: Tuesday, August 10, 2004 11:47 AM
Subject: Re: [Asterisk-Users] Blocking the 'Do Not Call" List


> I got to thinking about that too after I posted... nevermind, AGI would be
> the way to go here anyway... I was thinking ZapaTeller or personal block
> lists, which are WAY easier to use with DBPUT/GET... This is too massive
for
> that...
>
>     Good Luck! :)
>
>     -Chris
>
> ----- Original Message -----
> From: "Josh Roberson" <twisted at indigent-networks.com>
> To: <asterisk-users at lists.digium.com>
> Sent: Tuesday, August 10, 2004 10:28 AM
> Subject: Re: [Asterisk-Users] Blocking the 'Do Not Call" List
>
>
> > Chris,   While you are thinking logically, This will just as
> > un-effective as putting them all in the dialplan, as the DBGet() and
> > DBPut() functionality deals with the internal astdb (db1 database).
> >
> > I would reccomend going the AGI route at this time, until we have better
> > functionality for DB handling.
> >
> > -Josh
> >
> > Chris Shaw wrote:
> >
> > >Why use AGI? Why not just use the builtin DBGet() and DBPut() functions
> in
> > >*?
> > >
> > >    -Chris
> > >
> > >----- Original Message -----
> > >From: "drodden" <drodden at webunited.net>
> > >To: <asterisk-users at lists.digium.com>
> > >Sent: Tuesday, August 10, 2004 9:22 AM
> > >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?
> > >>
> > >>
> > _______________________________________________
> > 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
>
> _______________________________________________
> 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