<div dir="ltr">RFC4566 5. SDP Specification<div><span style="color:rgb(0,0,0);font-size:13.3333px">&quot;A session description can contain domain names in the &quot;o=&quot;, &quot;u=&quot;,</span><span style="color:rgb(0,0,0);font-size:13.3333px"> &quot;e=&quot;, &quot;c=&quot;, and &quot;a=&quot; lines.&quot;</span></div><div><br></div><div>It&#39;s a detail I&#39;d expect some implementations may have skipped over though so I&#39;d expect it could lead to interop issues. Also you need to assume it will resolve to the IP you expect, not necessarily the case if it resolves to multiple IPs for example or it has changed and the TTL has not expired yet. And it might not play well with SIP ALGs. I&#39;d avoid it. That&#39;s not evidence based, purely gut instinct.</div><div><br></div><div><br></div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 August 2016 at 06:10, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have not once in my life seen someone use a hostname instead of an ip in an sdp, and I do not believe it is legal.<br>
<span><br>
&gt; On Aug 2, 2016, at 1:00 PM, Colin Morelli &lt;<a href="mailto:colin.morelli@gmail.com" target="_blank">colin.morelli@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hey all,<br>
&gt;<br>
&gt; So it looks like WebRTC has issues dealing with hostnames in the SDP instead of IP addresses. Particularly, when including a hostname in the SDP there&#39;s no audio in either direction. This is the case in both the latest Firefox + Chrome browsers.<br>
&gt;<br>
&gt; This is particularly problematic for applications that are WebRTC + mobile, now that Apple is enforcing applications to support IPv6-only networks. Using hostnames in the record-route and SDP addresses meets the requirement since the OS will synthesize an IPv6 address when a DNS query is performed, but according to the documentation they strongly urge applications to avoid using address literals in their applications.<br>
&gt;<br>
&gt; Has anyone had success with methods to switch between advertising a hostname vs IP address in the SDP? Or other methods for solving this problem?<br>
<br>
<br>
</span>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div></div>