opensips-mi
v1.0.0
Published
A Node client library for the OpenSIPS management interface.
Downloads
31
Readme
node-opensips-mi
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:[email protected]")
.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.