Content-type: text/html Manpage of HANGUP-CLOSED-SKEL

HANGUP-CLOSED-SKEL

Section: User Commands (1)
Index Return to Main Contents
 

NAME

hangup-closed-skel  

SYNOPSIS

hangup-closed-skel [-h]
hangup-closed-skel [-v] <string>

where string is in this format:
"*DATE*<mmddyyyy>*TIME*<hhmm>*LINE*<lineid>*NMBR*<number>*NAME*<name>*"  

DESCRIPTION

Hangup-closed-skel is a template for hanging up on callers within a specified time peroid. Your script name should be the same name without -skel. Script names use the format: hangup-<name>

The example below assumes you have copied hangup-closed-skel to hangup-closed for your customized version of hangup-closed-skel.

Change the start and end times to whatever is needed in hangup-closed. Record your message for hangup-closed. Call it closed.rmd and place it in /usr/local/share/ncid/recordings.

Server hangup extensions are only executed by the server unless testing.

Execute your custom hangup-closed in a terminal window by itself for testing. Only fields used in the script are needed for the input string. To test your custom hangup-closed script with a number:

/usr/local/share/ncid/extensions/hangup-closed -v "*NMBR*4075551212*"  

OPTIONS

-h
show help message
-v
turn on verbose and send additional data to STDOUT for troubleshooting
 

FILES

/usr/local/share/ncid/extensions/hangup-closed-skel
/usr/local/share/ncid/recording/*.rmd
/usr/local/etc/ncid/ncidd.whitelist  

SEE ALSO

ncidd.8, ncidd.whitelist.5, hangup-calls-skel.1, hangup-message-skel.1, hangup-skel.1


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 13:26:52 GMT, October 04, 2016