Our company wishes to get information out of LDAP for Customers which we can use to then populate some auto-responses. One example is getting the Phone Number. Is this possible using variables? I have found a few lists about but none talk about getting the information from an LDAP source. In my Config.pm I map some fields as shown below.
Code: Select all
Map => [
[ 'UserFirstname', 'Firstname', 'givenname', 1, 1, 'var' ],
[ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var' ],
[ 'UserLogin', 'Login', 'sAMAccountName', 1, 1, 'var' ],
[ 'UserEmail', 'Email', 'mail', 1, 1, 'var' ],
[ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var' ],
[ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var' ],
],
Brendan