Hi all! This is my first post and I am fairly new to Asterisk so bear with me.
So I have an Asterisk PBX in an EC2 instance (Amazon Web Services cloud). That instance is behind a NAT.
My peer is also behind a NAT, but it’s a different one.
I’m able to connect to the server by using 4G (public IP address), but not using my home’s wireless connection, and I have no access to the router, and therefore cannot modify it.
So basically I need help with my scenario and I haven’t found an answer that worked for me.
I’ve also tried using STUN but I guess I didn’t use it right
My configuration:
[general]
context=public
allowoverlap=no
udpbindaddr=0.0.0.0
tcpenable=no
tcpbindaddr=0.0.0.0
transport=udp
srvlookup=yesx
disallow=all
allow=ulaw
externip=
localnet=10.0.0.0/255.0.0.0
nat=no
[authentication]
basic-options
dtmfmode=rfc2833
context=from-office
type=friend
natted-phone
directmedia=no
host=dynamic
public-phone
directmedia=yes
my-codecs
disallow=all
allow=ilbc
allow=g729
allow=gsm
allow=g723
allow=ulaw
ulaw-phone
disallow=all
allow=ulaw
[noel]
type=friend
context=phones
allow=ulaw,alaw
secret=seekrit
host=dynamic
nat=route
qualify=yes
icesupport=yes
stunaddr=stun.zoiper.com