Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Latest commit

 

History

History
65 lines (42 loc) · 1.14 KB

README.md

File metadata and controls

65 lines (42 loc) · 1.14 KB

Asterisk Voicemail Main Application

Asterisk voicemail main application that allows users to listen to messages left on their mailbox.

Installation

$ git clone https://github.com/asterisk/node-voicemail-main.git
$ cd node-voicemail-main
$ npm install -g .

or add the following the your package.json file

"dependencies": {
  "voicemail-main": "asterisk/node-voicemail-main"
}

Usage

Load as a module:

var voicemailMain = require('voicemail-main');

voicemailMain.create();

or run it as an application:

$ node app.js

Development

After cloning the git repository, run the following to install the module and all dev dependencies:

$ npm install
$ npm link

Then run the following to run jshint and mocha tests:

$ grunt

jshint will enforce a minimal style guide. It is also a good idea to create unit tests when adding new features.

To generate a test coverage report run the following:

$ grunt coverage

This will also ensure a coverage threshold is met by the tests.

License

Apache, Version 2.0. Copyright (c) 2014, Digium, Inc. All rights reserved.