[SR-Users] event_route xhttp:request

Kamrul Khan dodul at live.com
Tue Aug 19 00:37:01 CEST 2014


Hi, Found the issue. I needed to configure, tcp_accept_no_cl=yes. Working fine now.
From: dodul at live.com
To: miconda at gmail.com; sr-users at lists.sip-router.org
Subject: RE: [SR-Users] event_route xhttp:request
Date: Mon, 18 Aug 2014 21:38:18 +0600




Hey, thanks for your reply. Do I need additional #!define to enable event_route ? I didnt see any in my configuration. I didnt find anything like #!ifdef EVENT_ROUTE or anything slimier in my configuration aswell.
Date: Mon, 18 Aug 2014 13:27:32 +0200
From: miconda at gmail.com
To: sr-users at lists.sip-router.org
Subject: Re: [SR-Users] event_route xhttp:request


  
    
  
  
    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
  


_______________________________________________
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 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140819/2f4f0a52/attachment.html>


More information about the sr-users mailing list