LDAP Caller ID Lookup


I have customer details stored in a ldap directory. I would like to get asterisk to do an LDAP lookup to fill out the callerID for incoming calls.

I am not sure where to place the callerid lookup within the config files in such a way that it will get applied to all incoming calls, but also not get overwritten by a config update out of freepbx.

Any tips?



you can look into the callerid lookup module to see if you can hook in with there. If not, intercept you calls somewhere like from-pstn - see the following post to see how to keep from breaking during upgrades: