[asterisk-users] Asterisk realtime ldap:active directory
mickael
debian at robertain.com
Tue Mar 30 05:18:15 CDT 2010
hello,
I try to query an active directory from asterisk. I do not see how to do
it because I just started in asterisk.
In extensions.conf
switch => Realtime/default at realtime_ext
In res_ldap.conf
[general]
host = ip_active directory
protocol = 3
port = 389
dn = ou=voip,dc=test,dc=com
pass = administrator_pass_activedirectory
user = ou=Users,cn=Administrateur,dc=test,dc=com
URL = ldap://ip_activedirectory:389/ou=voip,dc=test,dc=com
[extensions]
attribute = name =>uid
attribute = accountcode => uid
attribute = callerid => cn
In extconfig.conf
[settings]
realtime_ext => ldap,dc=test,dc=com,extensions
sipusers => ldap,dc=mydomain,dc=com,sipusers
sippeers => ldap,dc=mydomain,dc=com,sippeers
when i try to register save a user I get the following message :
Warning[1952]: config.c:2025 find_engine:Realtime mapping for 'sippers'
found to engine 'ldap' but the engine is not available
Notice[1952] : chan_sip.c:21500 handle_request_register:Registration
from '"user"<sip:user at 192.168.xxx.xxx>' failed for 'ip_activedirectory'
no matching peer found.
I see no potential source or error in the configuration if you have a
idea i'm willing
Thank You
Best Regards
Mickael
More information about the asterisk-users
mailing list