Giter VIP home page Giter VIP logo

docker-freeswitch's Introduction

About

FreeSWITCH minimized docker image

Minimized Freeswitch container build FROM scratch using script: script/make_min_archive.sh from FreeSWITCH Repo

Size of container is ~57MB

Container has pre-built mod_bcg729 README.md loaded at start-up. Minimal Freeswitch configuration with default password changed. sngrep installed. suitable for various VoIP testing scenarios in docker/compose/swarm environments and microservices

To create your custome minimal image clone the repo and change script/make_min_archive.sh then run make this will build a debian image with freeswitch_img.tar.gz tarball in /usr/local/src folder, cp the archive to the root of repo and run docker build -t freeswitch:latest .

Installed modules:

  • freeswitch-mod-console
  • freeswitch-mod-sofia
  • freeswitch-mod-commands
  • freeswitch-mod-json-cdr
  • freeswitch-mod-db
  • freeswitch-mod-dptools
  • freeswitch-mod-hash
  • freeswitch-mod-dialplan-xml
  • freeswitch-mod-sndfile
  • freeswitch-mod-native-file
  • freeswitch-mod-tone-stream
  • freeswitch-mod-say-en
  • freeswitch-mod-event-socket
  • freeswitch-mod-loopback
  • freeswitch-mod-xml-curl
  • freeswitch-mod-expr
  • freeswitch-mod-httapi
  • freeswitch-mod-local-stream
  • freeswitch-mod-spandsp
  • freeswitch-mod-g723-1
  • freeswitch-mod-opus

Usage

Run container with host network:

docker run --net=host --name freeswitch arsperger/freeswitch:latest

Run container with bridge network:

docker run --rm -p 5060:5060/udp -p 5060:5060 --name freeswitch arsperger/freeswitch:latest

Connect to freeswitch via CLI

docker exec -it freeswitch /usr/bin/fs_cli

Run sngrep

docker exec -it freeswitch sngrep -d any

Docker-compose

make test

@arsperger

docker-freeswitch's People

Contributors

arsperger avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.