Content-type: text/html Manpage of HANGUP-FCC

HANGUP-FCC

Section: NCID (1)
Updated: 2021-05-11
Index Return to Main Contents
 

NAME

hangup-fcc  

SYNOPSIS

hangup-fcc [-h]
hangup-fcc [-v] <string>
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>*
 

DESCRIPTION

hangup-fcc hangs up on calls where the number can be found in the FCC's open data list of "Unwanted Calls".

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.  

OPTIONS

-h
show help message
-v
turn on verbose and send additional data to STDOUT for troubleshooting
 

REQUIREMENTS

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.)  

FILES

/usr/share/ncid/extensions/hangup-fcc
/usr/share/ncid/recording/*.rmd
/etc/ncid/ncidd.conf
/etc/ncid/ncidd.whitelist
/etc/ncid/fcc.blacklist
:fi
 

SEE ALSO

ncidd.8, get-fcc-list.1, ncidd.whitelist.5, hangup-calls.1, hangup-closed-skel.1, hangup-skel.1


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
REQUIREMENTS
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 18:17:41 GMT, November 12, 2022