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

Christophe ROY christophe.roy.thales at gmail.com
Fri Oct 12 09:57:38 CEST 2012


Hello

I have created a SRV record for sip.domain.tld pointing to our kamailio
server, the domain by itself resolves to our DNS IP.
Regarding the sockets:

root at kamailio1:~# netstat -lnp | grep kamailio
tcp        0      0 192.168.14.25:5060      0.0.0.0:*
LISTEN      4752/kamailio
unix  2      [ ACC ]     STREAM     LISTENING     17100
4745/kamailio       /tmp/kamailio_ctl

Thanks

2012/10/11 Daniel-Constantin Mierla <miconda at gmail.com>

>  Hello,
>
> I recommend using 3.3.x if you start a new deployment.
>
> Is the domain resolvable by DNS?  What are the sockets kamailio is
> listening on?
>
> Cheers,
> Daniel
>
> On 10/10/12 5:21 PM, Christophe ROY wrote:
>
> 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
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
> Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - http://asipto.com/u/katu
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121012/fb53ba6f/attachment.htm>


More information about the sr-users mailing list