<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>Hi,<br>
        <br>
        before starting opensips, do :<br>
            netstat -tlnp | grep 5061<br>
        <br>
        to check if there is any other app listening on 5061.<br>
        <br>
        Regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 11.09.2014 12:44, george wu wrote:<br>
    </div>
    <blockquote
      cite="mid:6452285b.e839.1486419789d.Coremail.aihuawu2012@163.com"
      type="cite">
      <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>
           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 moz-do-not-send="true"
_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   # CUSTOMIZE ME<br>
          <br>
          disable_tcp=no<br>
          listen=tcp:192.168.1.3:5060   # CUSTOMIZE ME <br>
          <br>
          disable_tls=no<br>
          listen=tls:192.168.1.3:5061   # 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><br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>