<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>I can make opensips works for tcp and udp.<br>But the tls does not work. <br><br>&nbsp;I test it with linphone.<br>But it complains:<code><br>Could not start tls transport on port 5161, maybe this port is already used.</code><br>I google it and get<br><a _src="http://linuxexchange.org/questions/3383/error-when-configuring-linphone-to-use-sip-tls-and-zrtp-encryption" href="http://linuxexchange.org/questions/3383/error-when-configuring-linphone-to-use-sip-tls-and-zrtp-encryption">http://linuxexchange.org/questions/3383/error-when-configuring-linphone-to-use-sip-tls-and-zrtp-encryption</a><br>He said it is problem of server. <br><br>I can't find any error message from opensips.<br>How can I debug it? thanks.<br><br>This is the opensips.cfg part for tls:<br><br><br><br>listen=udp:192.168.1.3:5060&nbsp;&nbsp; # CUSTOMIZE ME<br><br>disable_tcp=no<br>listen=tcp:192.168.1.3:5060&nbsp;&nbsp; # CUSTOMIZE ME <br><br>disable_tls=no<br>listen=tls:192.168.1.3:5061&nbsp;&nbsp; # CUSTOMIZE ME<br>tls_verify_server=0<br>tls_verify_client = 0<br>tls_require_client_certificate = 0<br>tls_method = TLSv1<br>tls_certificate = "/develop/opensips/etc/opensips/tls/user/user-cert.pem"<br>tls_private_key = "/develop/opensips/etc/opensips/tls/user/user-privkey.pem"<br>tls_ca_list = "/develop/opensips/etc/opensips/tls/user/user-calist.pem"<br><br><br></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>