<div dir="ltr">mistake the key state checked.<div><br></div><div>correct:<br><br><div> websocket:ws_sip_current_connections = 1<div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-01-30 18:44 GMT+08:00 Jack Wang <span dir="ltr"><<a href="mailto:antirazin@gmail.com" target="_blank">antirazin@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>For some reasons, </div><div>My settings will cause kamailio to be restarted even if there were connections connected to it.</div><div>And when one SIP client in a connection wanted to hangup the call with a WebRTC Client (SIP over websocket) after the proxy-restarting,</div><div>local client was closed, however , the other side was not.</div><div>From the log below it seems that the connection missed.</div><div><br></div><div>Jan 30 18:19:31 ./kamailio[27857]: WARNING: <core> [msg_translator.c:2777]: via_builder(): TCP/TLS connection (id: 0) for WebSocket could not be found</div><div>Jan 30 18:19:31 ./kamailio[27857]: ERROR: tm [t_msgbuilder.c:1365]: assemble_via(): assemble_via: via building failed</div><div>Jan 30 18:19:31 ./kamailio[27857]: ERROR: tm [t_msgbuilder.c:1545]: build_uac_req(): build_uac_req(): Error while assembling Via</div><div>Jan 30 18:19:31 ./kamailio[27857]: ERROR: tm [uac.c:379]: t_uac_prepare(): t_uac: Error while building message</div><div><br></div><div>So,</div><div>Is it equivalent to connection ID missing?</div><div>And is there any way to make Websocket found the connection?</div><div><br></div><div>Btw, after proxy-restarting for seconds , I typed `sh kamctl stats` :</div><div><br></div><div>websocket:ws_current_<wbr>connections = 1<br></div><div><br></div><div>It showed that the WebRTC Client will re-connect automatically,</div><div>So I think this connection could be found by proxy,</div><div>Any suggestion?</div><div><br></div><div><br></div><div><br></div><div>Thanks :)</div><div><br></div></div>
</blockquote></div><br></div>