<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>i am trying to connect to my kamailio through websocket. I added the below code in my config file:<div><br></div><div><div> event_route[xhttp:request] {</div><div>   xlog("websocket connection request");</div><div>   set_reply_close();</div><div>   set_reply_no_connect();</div></div><div><span style="font-size: 12pt;">   if (ws_handle_handshake())</span></div><div><div><div>                {</div><div>                         exit;</div><div>                }</div></div></div><div>    xhttp_reply("404", "Not found", "", "");</div><div>}</div><div><br></div><div>However, when I try to connect from my web phone, It shows :</div><div><br></div><div><div>Aug 15 15:22:31 ubuntu /usr/local/kamailio-devel//sbin/kamailio[17202]: WARNING: xhttp [xhttp_mod.c:133]: mod_init(): event_route[xhttp:request] is empty</div></div><div><br></div><div>Can someone please tell me what wrong im doing ?</div>                                         </div></body>
</html>