0.0.2 • Published 3 years ago
pjsua v0.0.2
pjsua.node - A pjsua for nodejs 
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 |
Documents
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
- Prepare an asterisk server with the test configurations for example.
npm test
Debug
DEBUG=PJSUA:* npm testto enable debug logPJSUA_LOGLEVEL=6 npm testto set log level of pjsip
Build
npm run build
Make docs
npm run docs
References
- mscdec/sipster - Javascript wrapper for the pjsip
- pjsip - Pjsip native library
License & Copyright
0.0.2
3 years ago