I have to implement webRTC solution which allows phone calls via browser based on asterisk and node.js (video and audio calls are ok thanks to opensource project).
How can I do this?
I have to implement webRTC solution which allows phone calls via browser based on asterisk and node.js (video and audio calls are ok thanks to opensource project).
How can I do this?
check this project https://github.com/js-platform/node-webrtc
But i have inform you that webrtc is in early beta stage, it is experemental technology.
So to do something in this field you have be sip and node.js guru and understand how to search info in web and deal with sockets.
I've made a prof of concept some time ago and was really easy, well, I had to hack some part of asterisk because of SDP.
Start deploying a Asterisk Server and then use for instance http://sipml5.org/ to connect to or asterisk server, deploying it using node.js. (That was I have done).
Nowadays Asterisk support WebRTC quite out of the box.
I followed this is the guides:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+WebRTC+Support
https://wiki.asterisk.org/wiki/display/AST/WebRTC+tutorial+using+SIPML5
to configure the server.
On the client side there's just a light web page with jssip
That's the working demo I realized: clic2call.demo.sociale.it