1.0.0 • Published 8 years ago

opensips-mi v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

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.