Content-type: text/html Manpage of HANGUP-FAKENUM

HANGUP-FAKENUM

Section: NCID (1)
Updated: 2022-11-8
Index Return to Main Contents
 

NAME

hangup-fakenum  

SYNOPSIS

hangup-fakenum [-h]
hangup-fakenum [-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

hangup-fakenum checks for valid North American number plan callers as described by the North Americal Numbering Plan

Script is not called if caller number or name is in ncidd.whitelist.

Bad callers have ncidd hangup on them. The CannotBeCompleted.rmd recording is played before the hangup if using hupmode 3. FAX tones are sent before the hangup if using hupmode 2.

hangup-fakenum expects 10 digit or 1+10 caller ID and has ncidd hangup on others including private callers. There is also a check for stupid caller names provided by telemarketers, such as V12345678901234 and 321-555-1212 and +1-321-555-1212

If /etc/ncid/valid-area-codes exists, hangup-fakenum has ncidd hangup on areacodes that are not valid.

Make sure you 'set hupmode = 1|2|3' in ncidd.conf. ncidd does not call this script if the caller number or name is in ncidd.whitelist.

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

/usr/share/ncid/extensions/hangup-fakenum
/usr/share/ncid/recording/*.rmd
/etc/ncid/ncidd.whitelist
/etc/ncid/valid-area-codes
 

SEE ALSO

ncidd.8, ncidd.whitelist.5, get-areacodes-list.1 hangup-calls.1, hangup-closed-skel.1, hangup-skel.1


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
REQUIREMENTS
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 18:17:41 GMT, November 12, 2022