
On Fri, Dec 2, 2011 at 5:10 PM, Geoffrey Mina <gmina at connectfirst.com> wrote:
DNC.com has a good HTTP API that allows real-time scrubbing.? You coule probably modify an AsteriskNOW installation (or similar) to call an AGI script prior to outbound dialing.? The AGI script could invoke the VERY simple HTTP call and analyze the result.
Since you're making a call to an outside service, then you'll have a question to deal with... what do you want to happen if the remote server can't answer your query, your internet connectivity to the remote server has an issue, or the remote service is taking way too long to respond. Failed query, then allow? Failed query, then block? Failed query, then retry forever? If the database server is temporarily unavailable, then you hace to pick how you want to fail. Careful about the risk of potentially making an outgoing 911 call sit and wait 10 minutes on a query to a remote database, to see if the call will be allowed, b/c database happens to be experiencing a speed issue at the time. -- -JH