Template for a basic drachtio application that handles registration and proxies SIP INVITEs. It is a simple shell of an application that is provided both as a learning pathway for drachtio and as something which can be scaffolded out into a full-fledged application. For an example of a complete application with some similar features, please see drachtio-basic-registrar
Edit the configuration file as needed, then:
npm install
node app.js
The configuration file is config/default.json. It is pretty-self explanatory. It includes:
- log level setting
- location of drachtio server to connect to
- a simple database of user / passwords organized by sip domain.