Hey. I was trying for several weeks to get my asterisk to work with voip with audio in both directions. I feel there must be a better way to have my configuration.
As you can see externaddr is not set and is the only way I get 2 way audio. Otherwise i get 1 one or none.
context=incoming ; Default context for incoming calls. Defaults to 'defau$
srvlookup=yes ; Enable DNS SRV lookups on outbound calls
;disallow=all ; First disallow all codecs
;allow=g729 ; Allow codecs in order of preference
;allow=ilbc ; see https://wiki.asterisk.org/wiki/display/AST/RTP+Packe$
;dtmfmode = rfc2833 ; Set default dtmfmode for sending DTMF. Default: rfc2833
register => XXXXXXXXX:XXXX@sip.flowroute.com
directmedia=no ; Asterisk by default tries to redirect the
[flowroute] ;keep this lowercase, do not change format
Any suggestions/reason why externaddr has to not be set in order for audio to work.
If your interested I can post sip traces or anything else you would like.