0.5.2 • Published 4 months ago
ng112-js-sip-adapter-sipjs v0.5.2
ng112-js-sip-adapter-sipjs
An adapter for ng112-js for using SIP.js
as a SIP stack.
License: GNU AGPL-3.0 \ Proprietary licenses are available on request. \ Maintainer: Gabriel Unterholzer (gabriel.unterholzer@dec112.at)
Installation
npm install ng112-js-sip-adapter-sipjs
Usage
This library already comes with a factory that is ready to use with ng112-js
.
import { Agent } from 'ng112-js/dist/node';
import { SipJsAdapter } from 'ng112-js-sip-adapter-sipjs';
new Agent({
sipAdapterFactory: SipJsAdapter.factory,
// [...]
});
IMPORTANT: SIP.js requires you to explicitly accept
or reject
incoming messages. SIP.js does not send a 200 OK
automatically.
Local Build
npm install
npm run build
This project was bootstrapped with TSDX