Sign inSign up

drachtio/basic-registrar

By drachtio

Updated about 6 years ago

A SIP registrar built using drachtio and rtpengine

Image
0

371

drachtio/basic-registrar repository overview

drachtio-basic-registrar Build Status

A SIP registrar built using drachtio and rtpengine.

Features:

  • supports sip clients connecting using udp, tcp, or websockets
  • supports traversing nat firewalls
  • supports webrtc clients and handles SRTP/RTP encrypt/decrypt
  • connectable to your SIP trunking provider

Installing

  • install drachtio, rtpengine and redis somewhere in your network (drachtio and rtpengine must have public IP addresses),
  • create a config file (see config/default.json.example for example settings),
  • add your sip user credentials to the config file,
  • assign DIDs to sip users in the config file, if you want to receive calls from the PSTN and route them to sip users,
  • add your SIP trunking provider details (If you have one) to the config file, then
$ npm install
$ npm start

Then point your sip phones and webrtc clients to the drachtio server and enjoy!

Testing

npm test

Status

Currently, this app just handles registrations and invites. Planned next steps would be to handle presence-related messages (SUBSCRIBE, PUBLISH) and IM (Message) as well.

Hey, contributors are welcome! Join in! :)

Tag summary

Content type

Image

Digest

Size

38 MB

Last updated

about 6 years ago

docker pull drachtio/basic-registrar