<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 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><br></div><div>Thanks,</div><div><br></div><div style>--- Jayesh</div></div>