I’ve been following this guide to try and get my asterisk to authenticate users http://www.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/ExternalServices_id291590.html
I’m happy asterisk is speaking to my LDAP server as doing realtime show status in the console shows it connected.
i’ve added to extconfig.conf:
sipusers => ldap,“ou=people,dc=calipso,dc=me”,sip
sippeers => ldap,“ou=people,dc=calipso,dc=me”,sip
extensions => ldap,“ou=people,dc=calipso,dc=me”,extensions
I’ve also added the asterisk schema to my ldap server but when I try to log on to asterisk i get the following errors:
[Apr 14 09:58:24] NOTICE: chan_sip.c:24905 handle_request_register: Registration from ‘sip:firstname.lastname@example.org’ failed for ‘126.96.36.199:60012’ - No matching peer found
Scheduling destruction of SIP dialog ‘Yzg5ZjBmNTllNDNhZjVjNmJjNjg1YzAyOTg3YWI1NjA.’ in 32000 ms (Method: REGISTER)
[Apr 14 09:58:24] WARNING: chan_sip.c:13880 __set_address_from_contact: Invalid contact uri Ian Hewitt (missing sip: or sips:), attempting to use anyway
Does anyone know what might be causing these errors? ANY help would be awesome!