I need to setup a docker container running an Asterisk PBX.
The problem is that I receive the wrong ip in sdp replies. In fact Asterisk is using the container internal IP.
The second problem is that I must use docker for windows and as such, I can’t use —net=host
So I tried to setup nat in asterisk, setting in sip.conf this :
nat = force_rport,comedia
localnet = 172.17.0.0/16
externaddr = 192.165.10.206
But it doesn’t seems to do anything.
What to I miss here ?
PS : I am using Asterisk 15