Skip to content

opendena/drachtio-server

 
 

Repository files navigation

drachtio-server Build Status NPM version

drachtio logo

drachtio-server is a SIP-based application-agnostic user agent that is built on the sofia SIP stack. It is designed to provide a high-performance SIP processing server platform that offers its capabilities to client applications over a TCP and JSON message-passing interface. The accompanying client framework is provided by drachtio.

Building

git clone --depth=50 --branch=develop git://github.com/davehorton/drachtio-server.git && cd drachtio-server
sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
git submodule update --init --recursive
autoreconf -fvi 
mkdir build && cd $_
../configure CPPFLAGS='-DNDEBUG'
make
sudo make install

Note: All third-party dependencies can be found under $(srcdir)/deps. These include boost, the sofia sip stack and redisclient. sofia and redisclient are included as git submodules in this project.

Platform support and dependencies

drachtio-server has undergone at least some level of testing on the following platforms:

  • Centos 6.x
  • Ubuntu
  • Fedora 20
  • Linux Mint
  • Mac OSX (10.9.2)

The following libraries are required to build:

  • gcc and c++ compilers
  • libssl-dev
  • libtool
  • autoconf
  • automake

Installing

The output of the build process is an executable named 'drachtio'. You can run sudo make install to copy it into /usr/local/bin, or you can run the executable directly from the build directory. If run with no command line parameters, it will look for a configuration file in /etc/drachtio.conf.xml; alternatively you can specify the config file location by starting the executable with the -f option (e.g. ./drachtio -f ../drachtio.conf.xml).

The server can be run as a daemon process by running with the --daemon command line parameter.

The process can be installed as a Linux init script using the example script that can be found in drachtio-init-script

Configuration

Process configuration is supplied in an xml configuration which, as described above, by default is expected to be /etc/drachtio.conf.xml but can be specified otherwise via a command line parameter.

The configuration file includes section for the configuring the sip stack, the port to listen on for client connections, and logging.

It is all fairly self-explanatory; refer to the sample configuration file for details.

About

No description, website, or topics provided.

Resources

License

MIT, GPL-3.0 licenses found

Licenses found

MIT
LICENSE
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 88.2%
  • Shell 11.3%
  • JavaScript 0.5%