Asterisk & Active Directory via LDAP

I do according to the documentation next things:

  1. extconfig.conf

sipusers = ldap, "dc=domain,dc=tld",sip sippeers = ldap, "dc=domain,dc=tld",sip

  1. res_ldap.conf

[code][_general]
url = ldap://domain.tld:3268/
basedn = dc=domain,dc=tld
user = cn=asterisk,ou=Services,dc=domain,dc=tld
pass = ********

[sip]
name = sAMAccountName
callerid = cn
mailbox = mail
regexten = ipPhone
host = info
type = facsimileTelephoneNumber
additionalFilter = (objectClass=person)[/code]

Search works only on global catalog…

Field “IP phone” (ipPhone LDAP attribute) contains extension number, field “Notes” (info) contains “dynamic” and field “Fax” (facsimileTelephoneNumber) contains “friend”.

  1. sip.conf

[general] context = default regcontext = default nat = yes rtcachefriends = yes rtupdate = no

Result:

CLI> sip show peers Name/username Host Dyn Forcerport ACL Port Status Realtime user/user 192.168.x.y D N 12723 Unmonitored Cached RT otheruser/otheruser 192.168.x.z D N 5060 Unmonitored Cached RT

CLI> dialplan show default [ Context 'default' created by 'SIP' ] '1001' => 1. Noop(user) [SIP] '1002' => 1. Noop(otheruser) [SIP] Include => 'demo' [pbx_config] Alt. Switch => 'Realtime/@' [pbx_config]

And when trying to call:

== Using SIP RTP CoS mark 5 -- Executing [1001@default:1] NoOp("SIP/otheruser-0000000c", "user") in new stack -- Auto fallthrough, channel 'SIP/otheruser-0000000c' status is 'UNKNOWN'

It’s possible to set params host and type static for all users?
What to do for sucessfull calling between extensions created by realtime ldap?

I have same question?

Does anyone integrated Asterisk auth and extentions with Active Directory on planet Earth?