Feature #167

Add a check of the number format/area code before querring the online database for source canpages.ca

Added by tshif over 2 years ago. Updated over 2 years ago.

Status:Closed Start:06/23/2009
Priority:Normal Due date:
Assigned to:patrick_elx % Done:

100%

Category:-
Target version:Caller ID Superfecta v 2.1.X Maintenance Releases

Description

I would like to have a simple check at the beginning of the module to see if it does worth trying the lookup. For instance, no need to query the Canadian only source database when the area code is not from Canada. Also it can check if the number of digit is valid or not. All of that should be done in each source lookup agi. That will help save a few second of lookup.

This is finished for source canpages.ca, and will be included in the next build of this module. This is related to #150 - a broader discussion of doing this same thing for each data source, not just canpages.ca.

This patch was provided and added by patrick_elx


Related issues

related to Caller ID Superfecta - Feature #150: Add a check of the number format/area code before querring the online database Closed 06/23/2009

Also available in: Atom PDF