WebRTC connect to SIP server

660 views
Skip to first unread message

Patrik Kristel

unread,
Apr 4, 2013, 1:23:21 PM4/4/13
to discuss...@googlegroups.com
Hi,

Is it possible to connect webrtc peer with sip peer. I think, for example: can my webserver send requests to a SIP server(Asterisk), when  request comes to a webserver then  translates to SIP request and send to SIP server. Btw, have you seen any demo of something similar ?

thanks

Mamadou

unread,
Apr 4, 2013, 1:31:35 PM4/4/13
to discuss-webrtc
https://wiki.asterisk.org/wiki/display/AST/Asterisk+WebRTC+Support
The wiki page list two SIP clients (SIPML5 and JSSIP) and you can add:
sip-js, QofeeSIP and Mobicents's JAIN-SIP JS.

Arnaud Morin

unread,
Apr 5, 2013, 4:24:23 AM4/5/13
to discuss...@googlegroups.com

Damián Franco Álvarez

unread,
Apr 16, 2013, 9:49:20 AM4/16/13
to discuss...@googlegroups.com
Hi Lukas,

there is a websocket sub-protocol to carry SIP messages (http://tools.ietf.org/html/draft-ietf-sipcore-sip-websocket-08). You could use SIP over websocket stack like QoffeeSIP (I'm one of the developers of QoffeeSIP) or JSSIP (maybe others, but I recommend you one of these) and SIP over websocket server (like Kamailio or OverSIP).

You could use a common SIP stack and communicate your web app with it through REST, AJAX...

I prefer the first approach. In my opinion, it's cleaner and simpler. The main problem to interconnect WebRTC and traditional SIP devices is related to media. Signaling will work well. I've tested QoffeeSIP with Kamailio, Asterisk [pedantic mode], and SBCs.

El martes, 9 de abril de 2013 16:52:53 UTC+2, Lukas W. escribió:
But the question is, if there is any possibility let the web server talk to a sip server (which is managing some sip endpoints)?
Because in this case you won't need the client side implementation of an sip endpoint in javascript with one of these libraries...
Or is the sip endpoint implementation for the browser necessary?
Reply all
Reply to author
Forward
0 new messages