1HANGUP-FAKENUM(1) NCID HANGUP-FAKENUM(1)
2
3
4
6 hangup-fakenum
7
9 hangup-fakenum [-h]
10 hangup-fakenum [-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
17 hangup-fakenum is an ncidd server hangup extension script to check for
18 valid North American number plan callers as described by
19 https://en.wikipedia.org/wiki/North_American_Numbering_Plan
20
21 Bad callers have ncidd hangup on them. The CannotBeCompleted.rmd
22 recording is played before the hangup if using hupmode 3. FAX tones
23 are sent before the hangup if using hupmode 2.
24
25 hangup-fakenum expects 10 digit or 1+10 caller ID and has ncidd hangup
26 on others including private callers. There is also a check for stupid
27 caller names provided by telemarketers, such as V12345678901234 and
28 321-555-1212 and +1-321-555-1212
29
30 If /etc/ncid/valid-area-codes exists, hangup-fakenum has ncidd hangup
31 on areacodes that are not valid.
32
33 Make sure you 'set hupmode = 1|2|3' in ncidd.conf. ncidd does not call
34 this script if the caller number or name is in ncidd.whitelist.
35
36 Server hangup extensions are only executed by the server unless test‐
37 ing.
38
40 -h show help message
41
42 -v turn on verbose and send additional data to STDOUT for trou‐
43 bleshooting
44
46 /usr/share/ncid/extensions/hangup-fakenum
47 /usr/share/ncid/recording/*.rmd
48 /etc/ncid/ncidd.whitelist
49 /etc/ncid/valid-area-codes
50
52 ncidd.8, ncidd.whitelist.5, hangup-calls.1, hangup-closed-skel.1,
53 hangup-skel.1
54
55
56
57NCID 2019-08-17 HANGUP-FAKENUM(1)