[SR-Users] Binding arbitrary TLS socket

Andreas Granig agranig at sipwise.com
Thu Jun 28 16:35:26 CEST 2012


Hi,

Got some problems when I tried this, not sure how this is intended to work:

listen=tls:192.168.51.133:4343

When starting kamailio 3.3, I get the following error:

ERROR: <core> [tcp_main.c:2915]: ERROR: tcp_init: bind(10,
0x7f5eea45db24, 16) on 192.168.51.133:4343 : Address already in use
ERROR: tls [tls_init.c:314]: Error while initializing TCP part of TLS
socket 192.168.51.133:4343

What works though is if I explicitely bind a TCP socket one port below
the TLS socket, like this:

listen=tcp:192.168.51.133:4342
listen=tls:192.168.51.133:4343

Is this how it's intended to work? Is there a specific reason for this
behavior?

Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120628/268a567c/attachment.pgp>


More information about the sr-users mailing list