1 post / 0 new
sdennis's picture
Joined: 2007/10/19
Points: 0

exten => s,1,LDAPget(CALLERID(name)=cidname/${CALLERID(num)},${CALLERID(num)},${CALLERID(num)})
exten => s,n,Set(CALLERID(name)=${CALLERID(name)})
exten => s,n,Goto(local-extensions${TL_DASH}${tenant},${ARG1},1)

This uses the http://www.mezzo.net/asterisk/app_ldap.html ldap module to pull callerID name from an ldap server.

In initial testing this seems to work great. In our case it pulls from the Telephone, Fax, Mobile fields in Active Directory.

This is a copy of tl-stdexten with the LDAP changes.

Alex can you look at this and make sure we aren't breaking anything.