opensips-mi

1.0.0 • Public • Published

node-opensips-mi Build Status

A Node client library for the OpenSIPS management interface.

npm install opensips-mi

Example

var opensips = require("opensips-mi");
var client = opensips.create("datagram", { host : "38.29.39.19" });
 
client.usrloc.showContact("location", "sip:tester@testing-domain.com")
.then(function (contacts) {
    // do something with the list of contacts
})
.error(function (error) {
    // do something to handle the error
});

Look in the documentation for more information.

Readme

Keywords

Package Sidebar

Install

npm i opensips-mi

Weekly Downloads

4

Version

1.0.0

License

MIT

Last publish

Collaborators

  • ecamargo-daitan
  • wtcross