<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thanks for looking at that, Daniel.<br>
    <br>
    If I start all together with tls: and tcp: (both lines order) then I
    see this:<br>
    <br>
    &nbsp;/opt/kamailio/sbin/kamailio[1008]: ERROR: &lt;core&gt;
    [tcp_main.c:2918]: ERROR: tcp_init: bind(9, 0x7f3fa8eb7d64, 16) on
    IP_ADDRESS:5061 : Address already in use<br>
    &nbsp;/opt/kamailio/sbin/kamailio[1008]: ERROR: tls [tls_init.c:314]:
    Error while initializing TCP part of TLS socket IP_ADDRESS:5061<br>
    <br>
    If I start only tcp: I am getting:<br>
    &nbsp;/opt/kamailio/sbin/kamailio[1035]: ERROR: tls [tls_init.c:660]:
    TLSs&lt;IP_ADDRESS:5061&gt;: No listening socket found<br>
    &nbsp;/opt/kamailio/sbin/kamailio[1035]: ERROR: &lt;core&gt;
    [sr_module.c:939]: init_mod(): Error while initializing module tls
    (/opt/kamailio/lib64/kamailio/modules/tls.so)<br>
    <br>
    Thanks,<br>
    Den<br>
    <br>
    <div class="moz-cite-prefix">On 15/11/12 12:48, Daniel-Constantin
      Mierla wrote:<br>
    </div>
    <blockquote cite="mid:50A4E4A6.6070603@gmail.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Reviewing the previous email, I probably spotted the issues. You
      said you added:<br>
      <br>
      listen=tls:IP.ADDRESS:5061<br>
      <br>
      that forces Kamailio to listen only on tls. But tls is on top of
      tcp, so add:<br>
      <br>
      listen=tcp:127.0.0.1:5061<br>
      <br>
      It was reported couple of days ago, I had no time to look at it
      yet, traveling for the moment. Should not crash in any condition,
      if tcp is required and no other way for tls only, the startup
      process should fail -- I will take care of it soon.<br>
      <br>
      Cheers,<br>
      Daniel<br>
      <br>
      <div class="moz-cite-prefix">On 11/15/12 7:39 AM, Denis wrote:<br>
      </div>
      <blockquote cite="mid:50A4E279.505@gmail.com" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        Only during kamailio start:<br>
        <br>
        ...<br>
        /opt/kamailio/sbin/kamailio[752]: INFO: rtpproxy
        [rtpproxy.c:1413]: rtp proxy &lt;udp:127.0.0.1:7722&gt; found,
        support for it enabled<br>
        /opt/kamailio/sbin/kamailio[759]: INFO: ctl [io_listener.c:225]:
        io_listen_loop:&nbsp; using epoll_lt io watch method (config)<br>
        <br>
        as soon as I send a request on port 5061 it crashes..<br>
        user@server:~$ telnet HOSTNAME 5061<br>
        Trying HOSTNAME...<br>
        Connected to HOSTNAME.<br>
        Escape character is '^]'.<br>
        fsf<br>
        Connection closed by foreign host.<br>
        <br>
        and it crashes.<br>
        <br>
        <div class="moz-cite-prefix">On 15/11/12 12:22,
          Daniel-Constantin Mierla wrote:<br>
        </div>
        <blockquote cite="mid:50A4DE97.1070004@gmail.com" type="cite">
          <meta content="text/html; charset=ISO-8859-1"
            http-equiv="Content-Type">
          Hello,<br>
          <br>
          <div class="moz-cite-prefix">On 11/15/12 4:52 AM, Denis wrote:<br>
          </div>
          <blockquote cite="mid:50A4BB6D.6060106@gmail.com" type="cite">
            <meta content="text/html; charset=ISO-8859-1"
              http-equiv="Content-Type">
            [...]<br>
            /opt/kamailio/sbin/kamailio[30278]: ALERT: &lt;core&gt;
            [main.c:785]: child process 30293 exited by a signal 11<br>
          </blockquote>
          Before this line, do you have any other error messages printed
          by pid 30278?<br>
          <br>
          Cheers,<br>
          Daniel<br>
          <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
        </blockquote>
        <br>
      </blockquote>
      <br>
      <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
    </blockquote>
    <br>
  </body>
</html>