I have 2 SIP peers registered to Asterisk, one of them behind NAT. When I make a call between them, Asterisk makes “Remotely bridging” instead of “Locally bridging” even though I have “directmedia = nonat”. As a result I get one-way audio. When I use “directmedia = no” audio is OK.
In some docs they say:
;directmedia=nonat ; An additional option is to allow media path redirection
; (reinvite) but only when the peer where the media is being
; sent is known to not be behind a NAT (as the RTP core can
; determine it based on the apparent IP address the media
; arrives from).
It’s not working. A bug?
Asterisk version: 220.127.116.11-1digium1~squeeze (from packages.asterisk.org)