2014-11-03: JsSIP 0.5.0, let’s Node!

The new version 0.5.0 of JsSIP runs in Node.js! This means that JsSIP can be used within your Node application as a SIP WebSocket client:

$ npm install jssip
var JsSIP = require('jssip');
var ua = new JsSIP.UA(...);

ua.on('registered', function() {...});

[...]

ua.start();

Take a look to the new configuration parameter node_ws_options.

Browserified!

The internal design of JsSIP has also been modified, becoming a real Node project in which the “browser version” (jssip-0.5.0.js or jssip-0.5.0.min.js) is generated with browserify. This also means that the browser version can be loaded with AMD or CommonJS loaders.