Cant get asterisk work again behind nat

I lost my VM’s (bad backups) and have trouble reset my asterisk environment.

My voip phones and line out are working. Only i have trouble getting a connection with audio from the internet. (The server is behind nat ofc)

[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0
local_net=192.168.5.0/24
external_media_address=myhostname
external_signaling_address=myhostname

[6001]
type=endpoint
context=users
disallow=all
allow=ulaw
transport=transport-udp
auth=6001
aors=6001
directmedia=no

[6001]
type=auth
auth_type=userpass
password=funkeymonkey
username=6001

[6001]
type=aor
max_contacts=5

External address should be your router’s (public) hostname, not that of the machine running Asterisk.

It is my main sun domain hostname. Not the sub sub hostnames I have 14 of

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.