Juan Jose Comellas
2005-Jul-02 15:17 UTC
[Asterisk-Users] LDAP search application for Asterisk
A non-text attachment was scrubbed... Name: not available Type: multipart/mixed Size: 1516 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050702/1e189d92/attachment.bin
Juan Jose Comellas
2005-Jul-02 15:23 UTC
[Asterisk-Users] LDAP search application for Asterisk
A non-text attachment was scrubbed... Name: not available Type: multipart/mixed Size: 1516 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050702/4a805c8f/attachment.bin
Juan Jose Comellas
2005-Jul-02 15:51 UTC
[Asterisk-Users] LDAP search application for Asterisk
A non-text attachment was scrubbed... Name: not available Type: multipart/mixed Size: 1516 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050702/7545764b/attachment-0001.bin
Juan Jose Comellas
2005-Jul-02 16:51 UTC
[Asterisk-Users] LDAP search application for Asterisk
I'm sending an Asterisk module I've written to see if anybody finds it useful or wants to provide some feedback. The name of the module is app_ldap and the application it provides is named LDAPSearch. LDAPSearch allows any kind of searches on an LDAP directory from the Asterisk dialplan. It returns its results using channel variables and it was specifically designed to be able to dial by name (users, contacts from an addressbook, etc.). One of its most interesting features is the extension it adds to the LDAP filter syntax (#= operator) to be able to match LDAP entries against a series of digits using the standard touch tone phone key mapping to make its comparisons. The syntax used by the application is the following: LDAPSearch(filter,[attr_1[:attr_2[:...]]][,max entries[,sort attr[,base DN[,scope]]]]) The documentation explaining its configuration and usage is included in doc/html/app_ldap.html. The only strange thing needed to build it is SCons (http://www.scons.org), which btw is an excellent build tool. You'll also need an LDAP client library and an LDAP server to test it. Everything has been tested using the OpenLDAP client library against both the OpenLDAP server and Microsoft Active Directory 2000. You can download it from: http://comellas.com.ar/app_ldap/app_ldap-0.1.0.tar.bz2 You'll need some knowledge of LDAP to be able to use this application successfully. Please report any problems you may have with it. -- Juan Jose Comellas (juanjo@comellas.com.ar)