Git Product home page Git Product logo

drachtio-experiments's Introduction

drachtio-experiments

Overview

A repo preserving our tests with the drachtio platform.

Setup

Built drachio server on my Ubuntu 20.04 Desktop

cd work/src/git
git clone --depth=50 --branch=develop git://github.com/davehorton/drachtio-server.git && cd drachtio-server
git submodule update --init --recursive
./autogen.sh
mkdir build && cd $_
../configure CPPFLAGS='-DNDEBUG'
make
sudo make install

preserving commit id:

takeshi:drachtio-server$ git log |head -n 5
commit ef92cfcd80f8ab4b19046933f6f745f7053ec2fc
Author: Dave Horton <[email protected]>
Date:   Thu Dec 3 08:57:30 2020 -0500

    remove assertion for case that typically is a result of an application error

created this file

takeshi:build$ cat /etc/drachtio.conf.xml
<drachtio>
  <admin port="9022" secret="cymru">127.0.0.1</admin>
  <sip>
    <contacts>
      <contact>sip:127.0.0.1:6060;transport=udp,tcp</contact>
    </contacts>
  </sip>
</drachtio>

Running drachtio server

drachtio

The above will start drachtio using /etc/drachtio.conf.xml (default location)

But we can specify the file like this

drachtio -f drachtio.conf.xml 

and so we can start and run multiple instances simultaneously.

Running the test:

npm install
node tests/register_subscribe/test.js

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.