Content-type: text/html
where string is in this format: *DATE*<mmddyyyy>*TIME*<hhmm>*LINE*<lineid>\ *NMBR*<number>*NAME*<name>*MODE*<hupmode>\ *FNMBR*<formatted number>*NTYPE*<type of device>\ *CTRY*<country code>*LOCA*<location>*CARI*<carrier>\ *NAME*<name>*
Script is not called if caller number or name is in ncidd.whitelist.
The blacklist is stored locally in /etc/ncid/fcc.blacklist and is typically updated daily by a cron job that calls get-fcc-list hangup-fcc to fetch the latest version from a web site.
Make sure you 'set hupmode = 1|2|3' in ncidd.conf. The ncidd server does not call this script if the caller number or name is in ncidd.whitelist.
Server hangup extensions are only executed by the server unless testing.
Set hupname to the name of this script ncidd.conf. Set hupmode to 1, 2 or 3 in ncidd.conf. Set huprmd to a unique voice file in ncidd.conf, if hupmode set to 3.
Create the fcc.blacklist file, which has the list of numbers, from the FCC "Unwanted Calls" complaints data.
The fcc.blacklist file can be kept up-to-date by adding a daily call to get-fcc-list hangup-fcc in the root user's crontab. (See the documentation for get-fcc-list for more information.)
/usr/share/ncid/extensions/hangup-fcc /usr/share/ncid/recording/*.rmd /etc/ncid/ncidd.conf /etc/ncid/ncidd.whitelist /etc/ncid/fcc.blacklist :fi