sipjs-lab

1.3.12 • Public • Published

sipjs-lab

Overview

A simple nodejs module based on https://github.com/kirm/sip.js to help writing SIP functional tests.

Installation

Do it as usual

npm install sipjs-lab

Usage

Basically, sip.js works at the SIP transaction level: it doesn't have the notion of dialogs so when using it you must control them. So sipjs-lab adds a SIP dialog control layer so that we have the following functions:

To control sip endpoints:

    endpoint: {
        create,
        send_non_dialog_request,
        send_reply,
        destroy,
    }, 

To control dialogs:

    dialog: {
        create,
        send_reply,
        send_request,
        destroy,
    },

The tests are written using @mayama/zeq

By cloning this repo, try:

npm install
node samples/simple.js

/sipjs-lab/

    Package Sidebar

    Install

    npm i sipjs-lab

    Weekly Downloads

    0

    Version

    1.3.12

    License

    ISC

    Unpacked Size

    64.6 kB

    Total Files

    10

    Last publish

    Collaborators

    • mayama