Docker and asterisk


#1

I’ve been working on getting asterisk up and running on docker with some success. I can make outbound calls with audio both ways, however if I call in to the asterisk container I only get inbound audio and am unable to talk to the incoming call.

Also you can call other extension but have no audio at all. Does anyone have any experience with docker and asterisk?


#2

How do you have docker networking configured?
Which channel driver?


#3

I’ve been running it normal so its being NAT’d the way docker does it which I believe is causing the audio issues. I’ve looked at using -net host but it does not map the ports to the host.