<p><span style="font:13px/normal arial,sans-serif;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal;background-color:rgb(255,255,255)">Hello List, </span></p>
<div style="font:13px/normal arial,sans-serif;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal;background-color:rgb(255,255,255)">
<br> </div><div style="font:13px/normal arial,sans-serif;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal;background-color:rgb(255,255,255)">
I have some doubt about direct media settings. </div><div style="font:13px/normal arial,sans-serif;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal;background-color:rgb(255,255,255)">
<br></div><div style="font:13px/normal arial,sans-serif;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal;background-color:rgb(255,255,255)">
I have an asterisk 1.8.14 instance running on 172.20.255.50, a soft phone on IP 10.100.210.51 and a gateway at 10.100.210.254</div><div style="font:13px/normal arial,sans-serif;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal;background-color:rgb(255,255,255)">
<br></div><div style="font:13px/normal arial,sans-serif;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal;background-color:rgb(255,255,255)">
I have set both gateway and peer to  &quot;directmedia=yes&quot; but still on gateway I see RTP from asterisk&#39;s IP, have tried setting nat=yes/no and also specifying localnet values but not sure where I am doing wrong. Also directrtpsetup is set to yes</div>
<div style="font:13px/normal arial,sans-serif;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal;background-color:rgb(255,255,255)">
<br></div><div style="font:13px/normal arial,sans-serif;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal;background-color:rgb(255,255,255)">
A sip debug and sip show peer output is here<span class="Apple-converted-space"> </span><a style="color:rgb(17,85,204)" href="http://pastebin.com/5PwqJ1KW" target="_blank">http://pastebin.com/5PwqJ1KW</a><span class="Apple-converted-space"> </span> </div>
<div style="font:13px/normal arial,sans-serif;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal;background-color:rgb(255,255,255)">
<br></div><div style="font:13px/normal arial,sans-serif;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal;background-color:rgb(255,255,255)">
Please assist</div><div style="font:13px/normal arial,sans-serif;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal;background-color:rgb(255,255,255)">
<br></div><div style="font:13px/normal arial,sans-serif;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal;background-color:rgb(255,255,255)">
Thanks</div>