Content-type: text/html
Manpage of HANGUP-POSTAL-CODE
HANGUP-POSTAL-CODE
Section: NCID (1)
Updated: 2023-9-20
Index
Return to Main Contents
NAME
hangup-POSTAL-CODE
SYNOPSIS
hangup-postal-code
[-h]
hangup-postal-code
[-v] <string>
-
where string is in this format:
*DATE*<mmddyyyy>*TIME*<hhmm>*LINE*<lineid>\
*NMBR*<number>*NAME*<name>*MODE*<hupmode>\
*FNMBR*<formatted number>*NTYPE*<type of device>\
*CTRY*<country code>*LOCA*<location>*CARI*<carrier>\
*NAME*<name>*
DESCRIPTION
The
hangup-postal-code
Extension searches the US postal codes for a state, commonwealth or territory abbreviation at the end of a Caller ID name.
If a postal code is found, the server will hangup on the call.
The caller name format for hangup is "CITY POSTAL_CODE".
The extension only checks for a POSTAL_CODE at end of the name field.
The script is not called if the caller name is in ncidd.whitelist.
The postal-codes file was created from
Server hangup extensions are only executed by the server unless testing.
OPTIONS
- -h
-
show help message
- -v
-
turn on verbose and send additional data to STDOUT for troubleshooting
REQUIREMENTS
Set hupname to the name of this script ncidd.conf.
Set hupmode to 1, 2 or 3 in ncidd.conf.
Set huprmd to a unique voice file in ncidd.conf, if hupmode set to 3.
FILES
/etc/ncid/postal-codes
/usr/share/ncid/recording/*.rmd
/etc/ncid/ncidd.conf
/etc/ncid/ncidd.whitelist
SEE ALSO
ncidd.8
ncidd.whitelist.5
ncid_extensions.7
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- REQUIREMENTS
-
- FILES
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 20:00:41 GMT, September 21, 2023