[SR-Users] Get sip clients to work with sip:user at domain and ldap

Christophe ROY christophe.roy.thales at gmail.com
Wed Oct 10 17:21:19 CEST 2012


Hello

I'm quite new to SIP and TOIP so I may not understand the concepts
correctly.
I'm supposed to make work SIP clients (for now, linphone on android and
windows) with a Kamailio 3.2 server and ldap authentication.

Ldap authentication seems to be working fine, as the login/pass is
validated against the Active Directory before registering the SIP client.
However, Linphone seems to register the SIP client as
sip:user at true_ip_address instead of sip:user at domain.

If I try to make a call to sip:anotheruser at domain it doesn't work, and I
can find in /var/log/syslog the following lines:

Oct 10 17:19:21 kamailio1 /usr/sbin/kamailio[1790]: ERROR: tm [ut.h:333]:
no corresponding socket for af 2
Oct 10 17:19:21 kamailio1 /usr/sbin/kamailio[1790]: ERROR: tm
[t_fwd.c:424]: ERROR: can't fwd to af 2, proto 1  (no corresponding
listening socket)
Oct 10 17:19:21 kamailio1 /usr/sbin/kamailio[1790]: ERROR: tm
[t_fwd.c:1534]: ERROR: t_forward_nonack: failure to add branches
Oct 10 17:19:21 kamailio1 /usr/sbin/kamailio[1790]: ERROR: sl
[sl_funcs.c:282]: ERROR: sl_reply_error used: I'm terribly sorry, server
error occurred (7/SL)

However, if I try to make a direct call to sip:anotheruser at his_true_IP, it
works

How can I make the registered users to be reachable with user at domain with
Kamailio?
And by the way, is there a way to get a list of registered users?

Thank you for the help

Christophe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121010/e2d4bce9/attachment.htm>


More information about the sr-users mailing list