1HANGUP-FAKENUM(1) General Commands Manual 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 are given the CannotBeCompleted.rmd recording if using hup‐
22 mode 3.
23
24 hangup-fakenum expects 10 digit or 1+10 caller ID and hangs up on oth‐
25 ers including private callers. There is also a check for stupid caller
26 names provided by telemarketers, such as V12345678901234 and
27 321-555-1212 and +1-321-555-1212
28
29 Make sure you 'set hupmode = 1|2|3' in ncidd.conf. ncidd does not call
30 this script if the caller number or name is in ncidd.whitelist.
31
32 Server hangup extensions are only executed by the server unless test‐
33 ing.
34
36 -h show help message
37
38 -v turn on verbose and send additional data to STDOUT for trou‐
39 bleshooting
40
42 /usr/share/ncid/extensions/hangup-fakenum
43 /usr/share/ncid/recording/*.rmd
44 /etc/ncid/ncidd.whitelist
45
47 ncidd.8, ncidd.whitelist.5, hangup-calls.1, hangup-closed-skel.1,
48 hangup-skel.1
49
50
51
52 HANGUP-FAKENUM(1)