<div dir="ltr"><div><div>The current behaviour is that Earlymedia video isn't working when NAT's in between are involved. The source/destination IP's are correct. So the client is sending Early media video + Early media audio to the Asterisk Server "in the cloud" and the Asterisk Server "in the cloud" is sending both to the IP where the Client is located. But strangely just the Early media audio is passing the NAT to the recipent.<br><br></div>My guess is that the NAT traversal for Early media audio is fine, but the one for Early media video not yet. Can you propably comprehend something in that direction? Or can you guide me to the code part where Asterisk is doing the Port change when a NAT is detected and the Client itself is sending "fake" RTP Early media traffic to get a NAT Binding for incoming RTP Early media traffic?<br><br></div>Benjamin<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-04-11 11:50 GMT+02:00 Joshua Colp <span dir="ltr"><<a href="mailto:jcolp@digium.com" target="_blank">jcolp@digium.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Apr 11, 2018, at 4:33 AM, Benjamin Marty wrote:<br>
> I added the bind_rtp_to_media_address=yes on all endpoints but still the<br>
> same behaviour. The funny thing is that the G711 audio early media works<br>
> and doesn't have that Private IP issue. I was also able to cross check with<br>
> chan_sip on Asterisk 15, exactly the same wrong behaviour. See following<br>
> capture (PJSIP):<br>
<br>
</span>As I stated previously in order for media to go to the source IP address and port, media has to be received from the endpoint. If this doesn't happen then you'll see exactly this behavior - we'll send to the IP address and port they told us. There's nothing that Asterisk itself can do in that instance, the endpoint has to send media or place the correct IP address and port in the messages.<br>
<br>
Was any media received from it?<br>
<span class=""><br>
-- <br>
Joshua Colp<br>
Digium, Inc. | Senior Software Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>
</span>Check us out at: <a href="http://www.digium.com" rel="noreferrer" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" rel="noreferrer" target="_blank">www.asterisk.org</a><br>
<span class="HOEnZb"><font color="#888888"><br>
-- <br>
______________________________<wbr>______________________________<wbr>_________<br>
</font></span><div class="HOEnZb"><div class="h5">-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.<wbr>org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/<wbr>wiki/display/AST/Getting+<wbr>Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a><br>
</div></div></blockquote></div><br></div>