sipright

1.0.2 • Public • Published

SIP-Right

A SIP/SDP parsing module that checks for packet correctness.

A fork of the excellent parsip module by Lorenzo Mangani (http://qxip.net/) that tries to give useful exceptions for packets that aren't valid.

Usage

SIP to JSON

var sipright = require('sipright');
var sip_message = "..." // Valid SIP Message here

try {
    var sip = sipright.getSIP(sip_message);
    ... // Your packet is correct!
} catch(err) {
    // Your packet isn't correct
    // Read string err to find out why
}

License

Released under the MIT License

Acknowledgement

Based on parsip module by Lorenzo Mangani (http://qxip.net/), which is in turn based on elements from jsSIP and SDP-Tranform packages

Package Sidebar

Install

npm i sipright

Weekly Downloads

11

Version

1.0.2

License

MIT

Unpacked Size

477 kB

Total Files

19

Last publish

Collaborators

  • falconco