Summary

CopiaFacts supports three types of look-up index files:

Plain text files, one entry per line, are supported for launch-time look-up and for the FAXFACTS.CFG commands $action_phone and $dns_phone.

NDX files are supported for launch-time look-up and for the FAXFACTS.CFG commands $action_phone and $dns_phone, for the global do-not-send file DNS.NDX and its override path specified by DNS_PATH, and for user-specific Do-Not-Send files specified with $dns_file.

Database look-up is supported for launch-time look-up and for the FAXFACTS.CFG commands $action_phone and $dns_phone, for a global do-not-send database specified by DNS_PATH, and for a user-specific Do-Not-Send database specified with $dns_file.

See the following topics for more detailed explanations.

You should not be affected by NANP processing: but we recommend having a $country_code command with a value correctly set to your telephone country code in case future changes for NANP number formats affect numbers in use in your country.

Plain Text Look-up Files

Plain text look-up files are loaded dynamically into a look-up index. If you use the $country_code command, its value should be set correctly for your country (must not start with a 1).

International numbers in the list may either have the standard form (for example +441672841396) or be entered with the dial prefix in place (for example 00441672841396). The international prefix or plus sign will be stripped before loading and before look-up.

NDX Look-up Files

If you use the $country_code command, its value should be set correctly for your country (must not start with a 1).

In NDX files with character key format, the leading 0 digit on phone numbers is retained, but in a numeric key index leading zeros of course have no significance.  In either case, both the number to be matched and the index will have the same format.

International numbers added by PIN or DNSUPD may either have the standard form (for example +441672841396) or be entered with the dial prefix in place (for example 00441672841396). The international prefix or plus sign will be stripped by PIN and DNSUPD before loading, and before look-up, but if you maintain the NDX with other applications it is your responsibility to strip the international dial prefix from index entries.

Database Look-up Tables

If you use the $country_code command, its value should be set correctly for your country (must not start with a 1).

International numbers must have any leading + sign or international dial prefix stripped (for example 441672841396): it is the responsibility of the maintaining application to do this.