Skip to content

minoruta/pjsua.node

Repository files navigation

pjsua.node - A pjsua for nodejs Build Status

The pjsua.node is a TypeScript library which provides Pjsua2 on nodejs.

Layers of the library

Layers of nodejs module Description
Your Apps
this module A simple pjsua2 for nodejs
sipster.ts TypeScript wrapper for the sipster
mscdec/sipster Javascript wrapper for the pjsip
pjsip Pjsip native library

Requirements

  • Pjsip native library (>= 2.4.5) which must be installed beforehand,
  • Build essentials, pkg-config, python and node-gyp to build mscdec/sipster.

Install

  • npm install --save minoruta/pjsua.node

Test

Debug

  • DEBUG=PJSUA:* npm test to enable debug log
  • PJSUA_LOGLEVEL=6 npm test to set log level of pjsip

Build

  • npm run build

Make docs

  • npm run docs

References