Skip to content

rtcexpert/callHandler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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! :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published