Chose longest matching phone prefix.