Module: sip-router
Branch: pd/websocket
Commit: 6af91d1fb3839fd02cd2739d9c8c784497e1d6e9
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6af91d1fb3839fd02cd2739d9c8c784497e1d6e9

Author: Peter Dunkley <[email protected]>
Committer: Peter Dunkley <[email protected]>
Date:   Thu Jul  5 15:23:19 2012 +0100

modules/websocket: More tidy-up of example configuration file

---

 modules/websocket/example/kamailio.cfg |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/modules/websocket/example/kamailio.cfg 
b/modules/websocket/example/kamailio.cfg
index 07c4318..28a016c 100644
--- a/modules/websocket/example/kamailio.cfg
+++ b/modules/websocket/example/kamailio.cfg
@@ -149,9 +149,6 @@ request_route {
                        }
                }
        }
-
-       if (!is_method("REGISTER"))
-               t_on_reply("WS_REPLY");
 #!endif
 
        # handle requests within SIP dialogs
@@ -296,7 +293,7 @@ route[AUTH] {
 }
 
 #!ifdef WITH_WEBSOCKETS
-onreply_route[WS_REPLY] {
+onreply_route {
        if (nat_uac_test(64)) {
                # Do NAT traversal stuff for replies to a WebSocket connection
                # - even if it is not behind a NAT!


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to