1HANGUP-CLOSED-SKEL(1) NCID HANGUP-CLOSED-SKEL(1)
2
3
4
6 hangup-closed-skel
7
9 hangup-closed-skel [-h]
10 hangup-closed-skel [-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
20 Hangup-closed-skel is a template for hanging up on callers within a
21 specified time peroid.
22
23 Your script name should be the same name without -skel. Script names
24 use the format: hangup-<name>
25
26 Script is not called if caller number or name is in ncidd.whitelist.
27
28 The example below assumes you have copied hangup-closed-skel to hangup-
29 closed for your customized version of hangup-closed-skel.
30
31 Change the start and end times to whatever is needed in hangup-closed.
32 Record your message for hangup-closed. Call it closed.rmd and place it
33 in /usr/share/ncid/recordings.
34
35 Server hangup extensions are only executed by the server unless test‐
36 ing.
37
38 Execute your custom hangup-closed in a terminal window by itself for
39 testing. Only fields used in the script are needed for the input
40 string. To test your custom hangup-closed script with a number:
41
42 /usr/share/ncid/extensions/hangup-closed -v "*NMBR*4075551212*"
43
45 Set hupname to the name of this script ncidd.conf.
46 Set hupmode to 1, 2 or 3 in ncidd.conf.
47 Set huprmd to a unique voice file in ncidd.conf, if hupmode set to 3.
48
50 -h show help message
51
52 -v turn on verbose and send additional data to STDOUT for trou‐
53 bleshooting
54
56 /usr/share/ncid/extensions/hangup-closed-skel
57 /usr/share/ncid/recording/*.rmd
58 /etc/ncid/ncidd.conf
59 /etc/ncid/ncidd.whitelist
60
62 ncidd.8, ncidd.whitelist.5, hangup-calls.1, hangup-message-skel.1,
63 hangup-skel.1, hangup-combo-skel.1, hangup-nohangup.1
64
65
66
67NCID 2021-05-11 HANGUP-CLOSED-SKEL(1)