Hi all.
I am searching some feedbacks from whom used or using asterisk server on Docker container.
As server I mean that asterisk play as normal pbx with it’s own features like registering endpoints, make outbounds call, inbounds calls. Transferring calls. Etc.
Are there significant loosing performance or is tolerable?
In my own case I just need make calls. Not transcoding not voicemails.
Anyone?
Thanks in advance
Regards
I think the main issues are that Docker isn’t well suited to applications that use large ranges of port numbers, and all the address translating requires a good understanding.
Thanks david551
Understanding the correct translating of ports between host and container is not a problem.
What I am interested in understanding is whether, given my need, there are concrete reasons for performance loss (trivial example: calls that are badly heard. Audio delays. Poor audio quality. etc…) in using docker, instead of asterisk on a dedicated vm.
For this reason I asked if there are, in the forum, experiences of using asterisk in docker.
I doubt that any regulars use Docker.
Asterisk should run fine in a docker (or better yet, podman) container however there are a few things to consider…
- Use an appropriately configured macvlan or ipvlan network so the container has direct access to the local network.
- Make sure the container isn’t competing for resources with other containers.
- Create volumes for things like /etc/asterisk, /var/spool/asterisk, /var/log/asterisk and any other volatile directory. This way you can re-create the container without losing data.
- If you’re using a realtime database, make sure it’s datastores are also on volumes.
Thanks @gjoseph for advices.
All of that you reported I already adopted in my test environment and I can say that asterisk working well on docker environment. But the aim of my post was to know if someone is using in in production with, let’s say in a significant number of users, trunks and so on and knowing if it’s working stable and well.
In any case I really appreciate your advices.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.