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:
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 North American Numbering Plan Countries and Territories: (https://en.wikipedia.org/wiki/North_American_Numbering_Plan) United States, countries, and its territories: Canada American Samoa Anguilla Antigua & Barbuda Bahamas & Barbados Bermuda British Virgin Islands Cayman Islands Dominica Dominican Republic Grenada Guam Jamaica Montserrat Northern Mariana Islands Puerto Rico Saint Kitts & Nevis Saint Lucia Saint Vincent & Grenadines Sint Maarten Trinidad and Tobago Turks & Caicos Islands United States Virgin Islands
- --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