ncidnumberinfo - Man Page
shows country information and country formatted number
Synopsis
ncidnumberinfo [options] <phonenumber> [country]
Description
The ncidnumberinfo tool looks up a phonenumber and shows the number formatted for the country of the number along with the following name and data fields in the ncidd call log format:
- FNMBR
the result of formatting NMBR NTYPE caller device type (fixed, mobile, pager, etc)
- CTRY
Two letter country code of the caller
- LOCA
the locality (city/region) of the calling number
- CARI
the carrier of the calling number
Note
The information given may be out of date because of number portability.
Options
- --help | -h
Display usage
- --nanp_format <0-3> | -n <0-3>
Ten digit formatting options for NANP (North American Numbering plan) countries:
https://en.wikipedia.org/wiki/North_American_Numbering_Plan
United States and its territories, Canada, Bermuda, Anguilla, Antigua & Barbuda, the Bahamas, Barbados, the British Virgin Islands, the Cayman Islands, Dominica, the Dominican Republic, Grenada, Jamaica, Montserrat, Sint Maarten, St. Kitts and Nevis, St. Lucia, St.
- 0
- phone number not formatted: 2045551234
- 1
- google standard format: (204) 555-1234
- 2
- all-hyphen format: 204-555-1234 (default)
- 3
- all-dot format: 204.555.1234
- --verbose <1-9> | -v <1-9>
Verbose mode. Display information. Set a higher number for more information.
- --version | -V
Display version and exit.
Arguments
- phonenumber
The phonenumber to lookup (required).
- country
The country where the server is located (optional). Default Country: US