Git Product home page Git Product logo

Webitel Stack

docker swarm

Install docker swarm. On each node execute:

echo -e "[Service]\nLimitMEMLOCK=infinity" | SYSTEMD_EDITOR=tee systemctl edit docker.service
systemctl daemon-reload
systemctl restart docker
echo vm.max_map_count=262144 >> /etc/sysctl.conf
sysctl -p

On each node (change ethernet device and network range):

./bin/mkvxlan.sh

On the manager node:

./bin/mknet.sh

portainer

docker stack deploy --compose-file webitel-portainer-stack.yml swarm

consul

docker stack deploy --compose-file webitel-consul-stack.yml consul

PostgreSQL

docker node update --label-add database=true node-1
docker stack deploy --compose-file webitel-postgres-stack.yml sql

rabbitmq

docker node update --label-add rabbitmq1=true node-1
docker node update --label-add rabbitmq2=true node-2
docker stack deploy --compose-file webitel-rabbitmq-stack.yml amq

HA: https://www.rabbitmq.com/ha.html

^TAP|ACR|freeswitch|opensips|webitel|call|cdr|cc|go

FreeSWITCH

docker node update --label-add freeswitch=true node-2
docker stack deploy --compose-file webitel-freeswitch-stack.yml amq

Open Distro for Elasticsearch

docker node update --label-add elastic=true node-1
docker node update --label-add elastic=true node-2
docker stack deploy --compose-file webitel-opendistro-stack.yml esk

rtpengine

Debian 10 / buster

apt-get install -qqy --no-install-recommends gnupg2 wget lsb-release
echo "deb http://deb.webitel.com/debian `lsb_release -sc` main" > /etc/apt/sources.list.d/webitel.list
wget -qO - http://deb.webitel.com/archive.key | sudo apt-key add -
apt-get update
apt-get install -qqy --no-install-recommends ngcp-rtpengine

This only needs to be one once after system (re-) boot

modprobe xt_RTPENGINE
iptables -I INPUT -p udp -j RTPENGINE --id 0
ip6tables -I INPUT -p udp -j RTPENGINE --id 0

Ensure that the table we want to use doesn't exist - usually needed after a daemon Restart, otherwise will error

echo 'del 0' > /proc/rtpengine/control

Edit config file /etc/rtpengine/rtpengine.conf and start rtpengine:

systemctl enable ngcp-rtpengine-daemon
systemctl start ngcp-rtpengine-daemon

Webitel's Projects

acr icon acr

Advanced Call Router - route calls that match configured rules.

amqp icon amqp

RabbitMQ with add-ons for Webitel

cdr icon cdr

Call Detail Records & File Server for Webitel

core icon core

main Webitel node.js application

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.