Hi!
I’m try to use LDAP for Asterisk Realtime with existing ldap schema, which is not adapted for asterisk, and I don’t want to change my existing schema.
for example:
extconfig.conf
[settings]
sipusers => ldap,"o=YYY,c=XX",mysip
sippeers => ldap,"o=YYY,c=XX",mysip
res_ldap.conf
[mysip]
name = uid
additionalFilter=(objectClass=account)
md5secret = userPassword
When sip client try to register, I see these messages:
[Jan 23 09:29:01] ERROR[30693]: chan_sip.c:10593 register_verify: Peer ‘user’ is trying to register, but not configured as host=dynamic
[Jan 23 09:29:01] NOTICE[30693]: chan_sip.c:18390 handle_request_register: Registration from ‘sip:user@IPasterisk’ failed for ‘IPuser’ - Peer is not supposed to register
I can set in sip.conf [general] language, allow, videosupport with values? which I needed, and I can see results in CLI with commands “show peer user load”, “sip show user user load”, but “Dynamic : No” forever.
How to set host=dynamic forever in my case?
Thank you.
Sorry for my English.