Hello, how can I reuse/map the same fields from ldap (Active Directory) in res_ldap.conf ?
Did you try something like…
Yes, but Asterisk output is No objects found.
There is somethin mentioned about variables, but I don’t know how to use them.
Attributes mapping (asterisk variable name = ldap attribute name)
Does it work with just one mapping ?
…so removing the “max_contacts” line ?
Yes it does, but in this example I want to use the same value as telephoneNumber has or I want to define it in Asterisk configuration somewhere.
Well, I’m not sure I follow the example… why would id ever be equal to max_contacts ? Maybe you are overflowing the accepted range of values ?
no… that was just an example, in any other case I cannot use value twice
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.