Skip to content
No description or website provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Added support for session-timers and reINVITEs Sep 13, 2017
images Updated images May 8, 2017
.gitignore Init commit Apr 23, 2017
README.md Added Kamailio configuration Apr 30, 2017
package.json Changed SIP-endpoint to use WebRtcEndpoint May 4, 2017
server.js Changed SIP-endpoint to use WebRtcEndpoint May 4, 2017

README.md

Connect to WebRTC using SIP and Kurento

This project uses SIP.js in Node.js, and Kurento media server to enable SIP endpoints to connect to peer-to-peer WebRTC meetings. The WebRTC meeting server in question is Knockplop.

Architecture

SIP Kurento architecture

Installation

You need a SIP registrar/proxy that supports SIP over websockets. You need an account on this SIP server to register to. Configure credentials in server.js. The room it joins is specified by the X-Room SIP-header. You need a Kurento media server installation. Configure the settings in server.js.

You can install Kamailio as the SIP registrar/proxy using the WEBRTC-to-SIP and use the configuration file config/kamailio.cfg in this repository instead. Create the Node.js SIP user with kamctl add mcu DFOdH1abdsTDCqp.

To install:

npm install

Running

To run:

npm start

The Node.js server registers to the SIP server and waits for incoming calls. On an incoming call the server joins the corresponding room on the knockplop server specified in server.js.

You can’t perform that action at this time.