Blacklist dialplan

Hi folks,

In a nutshell, I upgraded to Ubuntu 10.04 (Lucid) using asterisk 1.6 and Freepbx 2.6. There is a known timing issue with zaptel which causes calls to hang and not disconnect if the number is on the freepbx blacklist. Rather then taking the time to chase bug fixes between kernel and zaptel I am looking for a very simple dial plan that does:

  1. checks astdb for numbers flagged blacklisted (i.e. database put blacklist 0123456789 1 ).

  2. plays a sit tone

  3. disconnects the call

I’m not interested in any torture dialplans as I’m a pay per min plan and that’s just money out of my pocket. I’m new to dialplans so instructions of what conf files to edit would be appreciated.

Thanks in advance.

More accurately, is there way to play a sit tone and disconnect a call if it is in the blacklist without using the Zapateller driver if it is broke?