Module: sip-router
Branch: master
Commit: 6eb7414bc7e6f2027d49d5b01462e565ae4a93a1
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6eb7414…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Date: Wed Aug 8 10:10:42 2012 +0100
modules_k/seas: Added WebSocket transport support
- Note: seas doesn't seem to compile at the moment, but I think the
four lines added for WebSockets are OK...
---
modules_k/seas/seas_action.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/modules_k/seas/seas_action.c b/modules_k/seas/seas_action.c
index 3db43b8..bad30e4 100644
--- a/modules_k/seas/seas_action.c
+++ b/modules_k/seas/seas_action.c
@@ -1170,6 +1170,11 @@ int print_local_uri(as_p as,char processor_id,char *where,int len)
proto.s=TRANSPORT_PARAM "SCTP";
proto.len=TRANSPORT_PARAM_LEN + 4;
break;
+ case PROTO_WS:
+ case PROTO_WSS:
+ proto.s=TRANSPORT_PARAM "WS";
+ proto.len=TRANSPORT_PARAM_LEN + 2;
+ break;
}
switch(si->address.af){
case AF_INET: