I’ve modified the cidlookup module significantly to provide support for LDAP lookup.
I now use it extensively to perform caller id lookups against active directory.
You can find it in ticket #2389. It supports an area-code prefix and a number format option.
If you set prefix to 417, and format to (XXX) XXX-XXXX
then a caller by the number of 4173161234 will be searched as
4173161234
3161234
and
(417) 316-1234
This should cover most number formats, though if you need more (like ‘316-1234’ to match a formatted local
number) I’ll have a look.
Note that its called ‘ldapcidlookup’ until the changes are (if ever) integrated into the real cidlookup module.
Please don’t enable cidlookup and ldapcidlookup at the same time. They use the same database and naming
convention.
Blacky