0.1.3 • Published 4 years ago

jambonz-mw-registrar v0.1.3

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

jambonz-mw-registrar Build Status

Jambonz class that handles inserting, removing, and querying the database of active sip registrations

const Registrar = require('jambonz-mw-registrar');
const registrar = new Registrar({host: '127.0.0.1', port: 6379});

registrar.add('daveh@drachtio.org', '10.10.1.1', '192.168.1.1', 'udp', 2);
// aor, contact, sbcAddress, expires

const registrationDetails = await registrar.query('daveh@drachtio.org');
// {"contact":"10.10.1.1","sbcAddress":"192.168.1.1","protocol":"udp"}

registrar.remove('daveh@drachtio.org');
0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.4

4 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago