No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile add certificate generation code May 15, 2018 add entrypoing and configurable external ip May 14, 2018
extensions.conf initial commit Sep 12, 2017
modules.conf initial commit Sep 12, 2017
rtp.conf add nat configuration Sep 15, 2017

Docker for asterisk + WebRTC

Use docker build -t dialog/asterisk . to create the image,

Run the container with following:

docker run -it \
    -p 5060:5060/udp \
    -p 5061:5061/tcp \
    -p 10000-10010:10000-10010/udp \
    -p 8088:8088/tcp \

where $EXTERN_IP is the external ip of the machine.

You will also need to create a certificate from inside the docker:

mkdir /etc/asterisk/keys
cd asterisk-14.6.1/contrib/scripts/
./ast_tls_cert -C -O "Dialog SIP" -d /etc/asterisk/keys