SIP client behind NAT is not working. Asterisk is not behind NAT, but accessible only by dyndns.
sip.conf:
[general]
; Asterisk box at home
sipdebug=no
port=5060
bindaddr=0.0.0.0
externhost=dyndns
externrefresh=180
localnet=192.168.1.0/255.255.255.0
context=general
alwaysauthreject=yes
dtmfmode=rfc2833
;no directmedia
directmediadeny=0.0.0.0/0
directmediapermit=192.168.1.0/16
allowtransfer=yes
srtpcapable=yes
register=>0XXX
[2015]
; Client behind NAT at workplace
type=friend
externhost=dyndns
externrefresh=180
secret=passwd
context=extern
nat=yes
directmedia=no
qualify=yes
host=dynamic
dtmfmode=rfc2833
Any idea from someone who has 1.8 properly running?