Hello All,
I'm using Kamailio 4.2 running TLS only connection on non standard port 5065. I added the following line to the kamailio.cfg:
listen=tls:111.222.333.444:5065
Domain SRV record as follows:
_sips._tls.domain.com port 5065
When I try to connect using a softphone to domain.com login/password - "error while registering" When I connect using domain.com:5065 login/password - connection established successfully.
So the question is: why I don't get redirected automatically to the specified port? If I use the default port for TLS (5061) in kamailio.cfg and in SRV, I can successfully connect using domain.com login/password
Please help. Many Thanks!
2014-11-11 (Tue) 21:19 UTC +0300 elektau@yandex.ru wrote:
I'm using Kamailio 4.2 running TLS only connection on non standard port 5065. I added the following line to the kamailio.cfg:
listen=tls:111.222.333.444:5065
Domain SRV record as follows:
_sips._tls.domain.com port 5065
Hi, try _sips._tcp.domain.com instead. RFC 3263 gives guidance, also with NAPTR records.
Hi, in my opinion you can use either _sip._tls.domain.com or _sips._tcp. domain.com but not _sips._tls. in SRV
Petr Wozniak
---------- Původní zpráva ---------- Od: Mikko Lehto mslehto@iki.fi Komu: Kamailio (SER) - Users Mailing List sr-users@lists.sip-router.org Datum: 11. 11. 2014 19:57:54 Předmět: Re: [SR-Users] Non standard TLS port
"2014-11-11 (Tue) 21:19 UTC +0300 elektau@yandex.ru wrote:
I'm using Kamailio 4.2 running TLS only connection on non standard port
5065. I added the following line to the kamailio.cfg:
listen=tls:111.222.333.444:5065
Domain SRV record as follows:
_sips._tls.domain.com port 5065
Hi, try _sips._tcp.domain.com instead. RFC 3263 gives guidance, also with NAPTR records.
On 11 Nov 2014, at 22:26, elektau@yandex.ru wrote:
This is what I entered initially in the SRV field. Then tried _sips._tls.domain.com without luck
tls is not a transport and this name is not correct. _sips._tcp is the proper name. Check RFC 3263 for more information.
/O
You can try to add to your .cfg file the line tls_port_no=XXXX (core TCP parameter)
tls_port_no=XXXX
P.
---------- Původní zpráva ---------- Od: Olle E. Johansson oej@edvina.net Komu: Kamailio (SER) - Users Mailing List sr-users@lists.sip-router.org Datum: 12. 11. 2014 8:58:40 Předmět: Re: [SR-Users] Non standard TLS port
"
On 11 Nov 2014, at 22:26, elektau@yandex.ru(mailto:elektau@yandex.ru) wrote:
" This is what I entered initially in the SRV field. Then tried _sips._tls. domain.com(http://tls.domain.com/)%C2%A0without luck
" tls is not a transport and this name is not correct. _sips._tcp is the proper name. Check RFC 3263 for more information.
/O
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"