This repository is deprecated; please follow the main search page or use the ‘Related code repos’ widget on the right side of the current page.

What you need to build ExSIP

You just need to have Node.js and Git. Optionally you also need PhantomJS if you want to run test units.

Node.js

Git

PhantomJS

(optional, just for running unit tests)

  • Install PhantomJS
  • In modern Debian/Ubuntu systems PhantomJS can be installed via apt-get install phantomjs

How to build ExSIP

Install grunt-cli globally:

$ npm install -g grunt-cli

Enter the directory and install the Node.js dependencies:

$ cd ExSIP && npm install

Make sure you have grunt installed by testing:

$ grunt -version

Finally, run grunt command with no arguments to get a complete version of ExSIP:

$ grunt

The built version of ExSIP will be available in the dist/ subdirectory in both flavors: normal (uncompressed) and minified, both linted with JSLint. There will be also a file named dist/exsip-devel.js which is an exact copy of the uncompressed file.

Development version

Run grunt devel for just generating the dist/exsip-devel.js file. An uncompressed ExSIP source file named exsip-devel.js will be created in dist directory.

Test units

ExSIP includes test units based on QUnit. Test units use the dist/exsip-devel.js file. Run the tests as follows:

$ grunt test

Running "qunit-serverless:all" (qunit-serverless) task
...
654 tests complete (1.6 seconds)
View code on GitHub

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.