GithubHelp home page GithubHelp logo

docker-freeswitch-hairpin's Introduction

docker-freeswitch-hairpin

A Freeswitch 1.6 image designed for use with drachtio-freeswitch-siprec-recording-server.

To run with default options:

docker run -d --rm --name FS1 --net=host davehorton/freeswitch-hairpin freeswitch 

To jump in to a running container with a freeswitch console:

docker exec -ti FS1 fs_cli

Note: you can also jump into the container with /bin/bash instead of fs_cli to get a shell prompt.

This container supports the ability to configure the various ports Freeswitch claims, in order to easily run multiple Freeswitch containers on the same host

  • --sip-port the sip port to listen on (default: 5080)
  • --tls-port the tls port to listen on (default: 5081)
  • --event-socket-port the port that Freeswitch event socket listens on (default: 8021)
  • --password the event socket password (default: ClueCon)
  • --rtp-range-start the starting UDP port for RTP traffic
  • --rtp-range-end the ending UDP port for RTP traffic

Additionally, it exposes the Freeswitch log, sounds, and recordings directory to the host.

An example of starting a container with advanced options:

docker run -d --rm --name FS1 --net=host \
-v /home/deploy/log:/usr/local/freeswitch/log  \
-v /home/deploy/sounds:/usr/local/freeswitch/sounds \
-v /home/deploy/recordings:/usr/local/freeswitch/recordings \
davehorton/freeswitch-hairpin --sip-port 5038 --tls-port 5039 --rtp-range-start 20000 --rtp-range-end 21000

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.