[Home]

Summary:ASTERISK-11869: probleme Sip et ldap
Reporter:bochalai (bochalai)Labels:
Date Opened:2008-04-17 03:58:18Date Closed:2011-06-07 14:00:29
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:. I did not set the category correctly.
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Hello,

I Asterisk with LDAP.
I reach my softphone authenticate properly, but I can not make them communicate with each other.

Error message:
.
.
[Apr 17 11:54:56] ERROR[15618]: res_config_ldap.c:1055 config_ldap: No category name in entry '?'  for file 'sip.conf'.
[Apr 17 11:54:56] ERROR[15618]: res_config_ldap.c:1055 config_ldap: No category name in entry '?'  for file 'sip.conf'.
.
.
Asterisk Ready.
 == Parsing '/etc/asterisk/cli.conf':   == Found
*CLI>

*CLI>     -- Unregistered SIP 'testdrh'
   -- Registered SIP 'testdrh' at 195.221.209.150 port 17906 expires 3600
      > Saved useragent "X-Lite release 1011s stamp 41150" for peer testdrh
 
== Using SIP RTP CoS mark 5
[Apr 17 11:22:14] NOTICE[15248]: chan_sip.c:16367 handle_request_invite: Call from 'testdrh' to extension 'alainVoip' rejected because extension not found.

****** ADDITIONAL INFORMATION ******

My files

res_ldap.conf
[_general]
;host=192.168.1.1                    ; LDAP host
host=mso1lzzz.u-3mrs.fr ; LDAP host(s)
port=389
;url=ldap://ldap3.mydomain.com:3890
url=ldap://annuaire-mrs.univ-cezanne.fr:389
protocol=3                          ; Version of the LDAP protocol to use; default is 3.
basedn=ou=people,dc=u-3mrs,dc=fr        ; Base DN
user=uid=xxxxxxxx,dc=u-3mrs,dc=fr    ; Bind DN
pass=yyyyyyyyy ; Bind password
[config]
filename = description
commented = supannListeRouge
[extensions]
[sip]
name = uid
callerid = telephoneNumber
fullcontact = facsimileTelephoneNumber
mailbox = mail
md5secret = userPassword
host = addressU3

extconfig.conf
sipusers = ldap,"ou=people,dc=u-3mrs,dc=fr",sip
sippeers = ldap,"ou=people,dc=u-3mrs,dc=fr",sip
extensions = ldap,"ou=people,dc=u-3mrs,dc=fr",extensions
sip.conf = ldap,"ou=people,dc=u-3mrs,dc=fr",config
Comments:By: Joshua C. Colp (jcolp) 2008-04-17 08:50:37

This is a dialplan configuration issue. Please seek help on the asterisk-users mailing list, Google, or #asterisk IRC channel.