Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SIP over websockets to true SIP

I'm trying to implement a sip server for connecting to from an HTML sip client(made using sipml5). During my research into doing this I've come across sip over web-sockets which might be useful to me, however, I am unsure if a user agent connecting through sip over web-sockets to a compatible server would then be able to successfully make a call to some one using an incompatible server(i.e. calling from SIP over web-sockets to true SIP).

I know webrtc2sip can be used for connecting to legacy networks but I would rather avoid using another proxy if at all possible. So, is it possible to connect to a compatible SIP server using SIP over web-sockets then make a call from this user agent to another that does not support SIP over web-sockets without using a gateway?

like image 965
awriis Avatar asked Nov 21 '13 12:11

awriis


1 Answers

You are right, SIP over Websockets is a draft, not specification. And I do not know many SIP vendors who support this draft.

Possible solution is truly websocket-SIP gateway. For example Flashphoner Web Call Server is implemented as a gateway which works through websockets with browser and works via SIP(TCP and UDP) with SIP servers. Therefore it is compatible with any server that supports RFC3261 - standard SIP specification.

Brief signaling scheme is:

Browser - [Websockets] - Web Call Server - [SIP TCP, UDP] - any SIP Server

Brief streaming scheme:

Browser - [WebRTC = SRTP, DTLS, ICE, STUN ] - Web Call Server - [RTP UDP] - any SIP/RTP Server

like image 92
Nick Avatar answered Oct 03 '22 13:10

Nick