Patent ID: 6052451
Filing Date: 2000-04-18
Classification: H04M

Abstract:
A method of looking up among numbers stored in a directory of a telephone receiver a number that is optimal given the calling party number of an incoming call to said telephone receiver, consisting in initializing a variable referred to as the optimal length to the value zero and iterating the following ordered steps for all the numbers stored in said directory:a) choosing a current telephone number in said directory,b) comparing suffixes of said incoming calling party number and said current number,c) if said comparison succeeds, effecting a second comparison with the minimal significant length calculated between the significant length of said incoming calling party number and the significant length of said current number,d) if said second comparison succeeds, effecting a third comparison between said significant length of said incoming calling party number and said significant length of said current number,e) if said third comparison succeeds, storing said current number in memory as said optimal number,f) if said third comparison fails and if said optimal length is less than said minimal significant length, storing said current number in memory as said optimal number and assigning the value of said minimal significant length to said optimal significant length.