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

README.md

Docker for asterisk + WebRTC

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

Run the container with following:

docker run -it \
    -e EXTERN_IP=$EXTERN_IP \
    -p 5060:5060/udp \
    -p 5061:5061/tcp \
    -p 10000-10010:10000-10010/udp \
    -p 8088:8088/tcp \
    dialog/asterisk

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 sip.dialog.im -O "Dialog SIP" -d /etc/asterisk/keys