<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    <div class="moz-cite-prefix">On 6/14/13 4:52 PM, Jayesh Nambiar
      wrote:<br>
    </div>
    <blockquote
cite="mid:CANAYoztXX4CDNgvjsVrZO_MyrCHibqXOHicsyX7wsUDgNtjYgQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div style="">Hello All,</div>
        <div style="">I have a setup which is SIPML5 ->
          Kamailio(Websocket) -> Freeswitch. All I am trying to do is
          initiate a call from SIPML5 and Play a Music file from
          freeswitch. This works, but the call hangs up after 30 seconds
          due to ACK timeout from from the SIPML5.</div>
        <div style=""><br>
        </div>
        <div style="">What I can see is the SIPML5 from Chrome does send
          an ACK on websocket, but I see the following error in kamailio
          syslog:</div>
        <div><br>
        </div>
        <div><b>via_builder(): TCP/TLS connection (id: 0) for WebSocket
            could not be found</b></div>
        <div><b>ERROR: <core> [msg_translator.c:1725]:
            build_req_buf_from_sip_req(): could not create Via header</b></div>
        <div><b>ERROR: <core> [forward.c:607]: forward_request():
            ERROR: forward_request: building failed</b></div>
        <div><b>ERROR: sl [sl_funcs.c:371]: sl_reply_error(): ERROR:
            sl_reply_error used: I'm terribly sorry, server error
            occurred (1/SL)</b></div>
        <div><br>
        </div>
        <div>Can someone help me understand what I am missing here and
          why kamailio is not able to create a VIA header to forward
          this request towards freeswitch. I have built a simple config
          file by following <a moz-do-not-send="true"
            href="https://gist.github.com/jesusprubio/4066845">https://gist.github.com/jesusprubio/4066845</a>
          as reference.<br>
        </div>
        <div><br>
        </div>
        <div>Any help in understanding this is really appreciated.</div>
      </div>
    </blockquote>
    looks like the web rtc connection was down (closed by one side or
    interrupted by the network). You can check with kamcmd the list of
    active connections.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
  * <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a> *</pre>
  </body>
</html>