update-cidcall - Man Page

Synopsis

update-cidcall [-h] [-n <0123>] CIDCALL_LOG COUNTRY_CODE

Description

update-cidcall Adds the new name and data fields from ncidnumberinfo to the lines from the cidcall.log file.  The output is sent to STDOUT.

FNMBR

the result of formatting NMBR

NTYPE

caller device type (fixed, mobile, pager, etc)

CTRY

the 2-letter country code of the caller

LOCA

the location (city/region) of the calling number

CARI

the carrier of the calling number

Note

The new fields data may be out of date because of number portability.

Options

-h

Display a help message.

-n <0123>

NANP (North American Number Plan) format options:

0

phone number not formatted: 1234567890

1

Google standard format: (123) 456-7890

2

Hyphen format: 123-456-7890 (default)

3

Dot format: 123.456.7890

Arguments

CIDCALL_LOG

the ncidd call log

COUNTRY_CODE

the 2-letter abbreviation of the country where the server is located

Requirements

ncidnumberinfo

Example

update-cidcall -n1 /var/log/cidcall.log US > /tmp/cidcall.log
sudo cp /tmp/cidcall.log /var/log/cidcall.log

See Also

ncidd(8), ncid(1), ncidnumberinfo(1)

Info

2022-06-28 NCID