Code Monkey home page Code Monkey logo

docker-asterisk's Introduction

Supported tags

  • 20.0.0-rc2, 20
  • 19.6.0, 19, latest
  • 18.14.0, 18, lts
  • 16.28.0, 16

The latest tag will always follow the latest standard release (15, 16, 17, ...). The lts tag will follow LTS-Releases (13, 16, ...). Using these tags will result in an major update from time to time. If you want to stay within the same version, use a version tag like 16, 17, ...

How to use this image

Starting an asterisk instance

Note: Keep in mind that this image does not provide any configuration! You must provide your own and make it available at /etc/asterisk.

$ docker run -v "/path/to/config:/etc/asterisk" -it azielke/asterisk

Networking considerations

As SIP and NAT might cause problems - especially if you want to use the asterisk as a server and not as a pure client - you might want to use host networking using --network host

Example docker-compose.yml

version: '2.4'
volumes:
  astdb:
  voicemail:
services:
  asterisk:
    image: azielke/asterisk
    container_name: asterisk
    restart: always
    network_mode: host
    environment:
      - TZ=Europe/Berlin
    volumes:
      - "/path/to/cfg:/etc/asterisk:ro"
      - "astdb:/var/lib/asterisk/db"
      - "voicemail:/var/spool/asterisk/voicemail"

Manual build

The hook scripts can be used manually to initiate a build process. That will build all versions as definied in the versions-File.
But as the hook scripts depend on a CI environment, some variables must be set.

export DOCKER_REPO=azielke/asterisk
export IMAGE_NAME=${DOCKER_REPO}:latest
bash -x hooks/build

If just a single version should be build, run docker build with build-arg asterisk_version:

docker build --build-arg asterisk_version=18.12.1 -t azielke/asterisk:18.12.1

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.