Re: SIP over websocket draft.
- From: Binod <
- Subject: Re: SIP over websocket draft.
- Date: Tue, 05 Mar 2013 12:18:47 +0530
To follow up on our discussion in the last meeting, here is
my proposal on handling converged application scenario.
Note that this is applicable only for converged containers.
Standalone SIP containers are not required to support this
It is often useful for developers who embed sip web socket server
endpoints into a larger web application (eg: a webrtc app) to be
able to share information on a per client basis between the web
resources (JSPs, JSFs, Servlets for example) and the web socket
endpoints servicing that client. Because web socket connections
are initiated with an http request, there is an association between
the HttpSession under which a client is operating and any web
sockets that are established within that HttpSession.
Add a method in SipSessionsUtil to retrieve the HttpSession.
HttpSession httpSession = ssu.getInitiatingWebSession(sipSession);
Let me know what do you think.
On Wednesday 27 February 2013 08:58 PM, Binod wrote:
Please find a draft version of SIP over websocket support attached.
This is as per the discussions we had in the F2F.
However, I am thinking, if we should have a way to obtain HTTP Session
that originated the websocket traffic to the application. That can help
developers write interesting converged application that use HTTP and SIP