1HANGUP-CLOSED-SKEL(1)                NCID                HANGUP-CLOSED-SKEL(1)
2
3
4

NAME

6       hangup-closed-skel
7

SYNOPSIS

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

DESCRIPTION

21       Hangup-closed-skel  is  a  template  for hanging up on callers within a
22       specified time peroid.
23
24       Your script name should be the same name without -skel.   Script  names
25       use the format: hangup-<name>
26
27       Script is not called if caller number or name is in ncidd.whitelist.
28
29       The example below assumes you have copied hangup-closed-skel to hangup-
30       closed for your customized version of hangup-closed-skel.
31
32       Change the start and end times to whatever is needed in  hangup-closed.
33       Record your message for hangup-closed.  Call it closed.rmd and place it
34       in /usr/share/ncid/recordings.
35
36       Server hangup extensions are only executed by the server  unless  test‐
37       ing.
38
39       Execute  your  custom  hangup-closed in a terminal window by itself for
40       testing.  Only fields used in the  script  are  needed  for  the  input
41       string.  To test your custom hangup-closed script with a number:
42
43       /usr/share/ncid/extensions/hangup-closed -v "*NMBR*4075551212*"
44

REQUIREMENTS

46       Set hupname to the name of this script ncidd.conf.
47       Set hupmode to 1, 2 or 3 in ncidd.conf.
48       Set huprmd to a unique voice file in ncidd.conf, if hupmode set to 3.
49

OPTIONS

51       -h     show help message
52
53       -v     turn  on  verbose  and  send additional data to STDOUT for trou‐
54              bleshooting
55

FILES

57       /usr/share/ncid/extensions/hangup-closed-skel
58       /usr/share/ncid/recording/*.rmd
59       /etc/ncid/ncidd.conf
60       /etc/ncid/ncidd.whitelist
61

SEE ALSO

63       ncidd.8,  ncidd.whitelist.5,   hangup-calls.1,   hangup-message-skel.1,
64       hangup-skel.1, hangup-combo-skel.1, hangup-nohangup.1
65
66
67
68NCID                               2022-11-8             HANGUP-CLOSED-SKEL(1)
Impressum