Coder Social home page Coder Social logo

Comments (1)

dougbtv avatar dougbtv commented on September 22, 2024

Unfortunately, I don't have a synology to replicate the environment with.

The usual run command that I recommend is:

# Run the main asterisk container.
docker run \
    --name asterisk \
    --net=host \
    -d -t dougbtv/asterisk

However, that may not work with the --net=host on the synology. In which case, I'd recommend you specify the ports in the run command:

docker run \
    --name asterisk \
    -p 5060:5060/udp \
    -p 10000-10010:10000-10010/udp \
    -d -t dougbtv/asterisk

That's enough for 10 channels of audio with that RTP range (10000-10010). Notably, you'll also have to modify rtp.conf or you may run into issues with audio, so...

Make an rtp.conf file somewhere... let's say on your docker host (the nas) it's in the root (it could be somewhere that you prefer) /rtp.conf

[general]
;
; RTP start and RTP end configure start and end addresses
;
rtpstart=10000
rtpend=10010

and then run like this:

docker run \
    --name asterisk \
    -v /rtp.conf:/etc/asterisk/rtp.conf \
    -p 5060:5060/udp \
    -p 10000-10010:10000-10010/udp \
    -d -t dougbtv/asterisk

from docker-asterisk.

Related Issues (20)

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.