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       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

DESCRIPTION

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

OPTIONS

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

FILES

44       /usr/share/ncid/extensions/hangup-closed-skel
45       /usr/share/ncid/recording/*.rmd
46       /etc/ncid/ncidd.whitelist
47

SEE ALSO

49       ncidd.8,  ncidd.whitelist.5,   hangup-calls.1,   hangup-message-skel.1,
50       hangup-skel.1, hangup-combo-skel.1, hangup-nohangup.1
51
52
53
54NCID                              2019-08-17             HANGUP-CLOSED-SKEL(1)
Impressum