1HANGUP-FCC(1)                        NCID                        HANGUP-FCC(1)
2
3
4

NAME

6       hangup-fcc
7

SYNOPSIS

9       hangup-fcc [-h]
10       hangup-fcc [-v] <string>
11
12       where string is in this format:
13       "*DATE*<mmddyyyy>*TIME*<hhmm>*LINE*<lineid>\
14       *NMBR*<number>*NAME*<name>*MODE*<hupmode>\
15       *FNMBR*<formatted number>*NTYPE*<type of device>\
16       *CTRY*<country code>*LOCA*<location>*CARI*<carrier>\
17       *NAME*<name>*
18

DESCRIPTION

20       hangup-fcc hangs up on calls where the number can be found in the FCC's
21       open data list of "Unwanted Calls".
22
23       Script is not called if caller number or name is in ncidd.whitelist.
24
25       The blacklist is stored locally in /etc/ncid/fcc.blacklist and is typi‐
26       cally updated daily by a cron job that calls get-fcc-list hangup-fcc to
27       fetch the latest version from a web site.
28
29       Make sure you 'set hupmode = 1|2|3' in ncidd.conf.   The  ncidd  server
30       does  not  call  this  script  if  the  caller  number  or  name  is in
31       ncidd.whitelist.
32
33       Server hangup extensions are only executed by the server  unless  test‐
34       ing.
35

OPTIONS

37       -h     show help message
38
39       -v     turn  on  verbose  and  send additional data to STDOUT for trou‐
40              bleshooting
41

REQUIREMENTS

43       Set hupname to the name of this script ncidd.conf.
44       Set hupmode to 1, 2 or 3 in ncidd.conf.
45       Set huprmd to a unique voice file in ncidd.conf, if hupmode set to 3.
46
47       Create the fcc.blacklist file, which has the list of numbers, from  the
48       FCC "Unwanted Calls" complaints data.
49
50       The fcc.blacklist file can be kept up-to-date by adding a daily call to
51       get-fcc-list hangup-fcc in the root user's crontab. (See the documenta‐
52       tion for get-fcc-list for more information.)
53

FILES

55       /usr/share/ncid/extensions/hangup-fcc
56       /usr/share/ncid/recording/*.rmd
57       /etc/ncid/ncidd.conf
58       /etc/ncid/ncidd.whitelist
59       /etc/ncid/fcc.blacklist
60

SEE ALSO

62       ncidd.8,  get-fcc-list.1,  ncidd.whitelist.5,  hangup-calls.1,  hangup-
63       closed-skel.1, hangup-skel.1
64
65
66
67NCID                              2021-05-11                     HANGUP-FCC(1)
Impressum