Greetings,
I want to use an Asterisk with an OpenLdap but I cannot get these two together.
I´ve setup the Asterisk according to this guide: https://computingforgeeks.com/how-to-install-asterisk-pbx-on-ubuntu/ and configured the res_ldap.conf according to this guide: LDAP Integration
Setting up the [_general] part in the res_ldap.conf.
When I check the ldap connection with realtime show ldap statusI get
Connected to ‘ldap://localhost:389’, baseDN dc=ldap,dc=mcgreedy,dc=de with username cn=admin,dc=ldap,dc=mcgreedy,dc=de for 21 minutes, 6 seconds
which looks fine to me.
I´ve setup my OpenLDAP with LAM where I used the Asterisk Modules and created two Testusers.
In the extconfig.conf I set
sipusers => ldap,“ou=users,dc=ldap,dc=mcgreedy,dc=de”,sip
sippeers => ldap,“ou=users,dc=ldap,dc=mcgreedy,dc=de”,sip
extensions = ldap,“ou=extensions,dc=ldap,dc=mcgreedy,dc=de”,extensions
according to the guide.
But when I search for the users with pjsip show contacts I get
No objects found.
According to the module show like sip command the Asterisk uses PJSIP and all modules are running. Also the module res_config_ldap.so is running.
I hope someone can help me ![]()