Blacklist Destination Patch
I've modified Daniele Martini's Patch to work with the current blacklist module. Afer patching you will be able to select a custom destination from within the blacklist module.
You can download it here http://www.necits.com/misc/blacklist.patch
Download Patch
Backup /var/www/html/admin/modules/blacklist
cp -R /var/www/html/admin/modules/blacklist /root/blacklist_bak
Uninstall Blacklist module from module admin.
copy patch to /var/www/html/admin/modules/blacklist
cd /var/www/html/admin/modules/blacklist
patch --dry-run -i blacklist.patch
If you have no errors then
patch -i blacklist.patch
Install blacklist module from module admin (This is required because the patch adds an additional SQL statement to the install script.)
amportal reload
Note: If you update the blacklist module, this patch probably will not work.
Test it out and let me know if there are any issues.
I'll will have a module you can download shortly.
I tried your patch twice and failed twice. Here is my output:
[root@asterisk1 blacklist]# patch --dry-run -i blacklist.patch patching file functions.inc.php Hunk #1 succeeded at 7 with fuzz 1 (offset -1 lines). Hunk #2 FAILED at 21. Hunk #3 succeeded at 208 (offset 1 line). 1 out of 3 hunks FAILED -- saving rejects to file functions.inc.php.rej patching file install.php patching file module.xml Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file module.xml.rej patching file page.blacklist.php patching file uninstall.php [root@asterisk1 blacklist]#
I'm running Blacklist 1.1.3.6 and FreePBX 2.3.1.7.
I'll look around the code and try to find the problem(s).
I modified the patch to work with freepbx 2.4
This is the original that was written for 2.3
http://www.freepbx.org/trac/ticket/2594


Member Since:
2008-02-23