[SR-Users] event_route xhttp:request

Daniel-Constantin Mierla miconda at gmail.com
Mon Aug 18 13:27:32 CEST 2014


Hello,

can you check to be sure that event_route is not in a disable part of 
config by #!ifdef conditions?

Cheers,
Daniel

On 16/08/14 02:33, Kamrul Khan wrote:
> i am trying to connect to my kamailio through websocket. I added the 
> below code in my config file:
>
>  event_route[xhttp:request] {
>    xlog("websocket connection request");
>    set_reply_close();
>    set_reply_no_connect();
>    if (ws_handle_handshake())
>                 {
>                          exit;
>                 }
>     xhttp_reply("404", "Not found", "", "");
> }
>
> However, when I try to connect from my web phone, It shows :
>
> 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
>
> Can someone please tell me what wrong im doing ?
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 - http://www.asipto.com
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140818/ee1f586d/attachment.html>


More information about the sr-users mailing list