<p>The parse_flags method was missing the option to specify "force-relay" which is a valid ICE value in the rtpengine ng protocol.  Without the force-relay, ice candidates are all written in as host candidates.  This change has been tested against rtpengine and it does cause ICE relay candidates to be inserted into SDP.</p>

<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/etamme/opensips master</pre>
<p>Or view, comment on, or merge it at:</p>
<p>&nbsp;&nbsp;<a href='https://github.com/OpenSIPS/opensips/pull/397'>https://github.com/OpenSIPS/opensips/pull/397</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>added missing force-relay flag option for ICE</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/OpenSIPS/opensips/pull/397/files#diff-0">modules/rtpengine/rtpengine.c</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/OpenSIPS/opensips/pull/397.patch'>https://github.com/OpenSIPS/opensips/pull/397.patch</a></li>
  <li><a href='https://github.com/OpenSIPS/opensips/pull/397.diff'>https://github.com/OpenSIPS/opensips/pull/397.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/pull/397">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcifepY7fiVBTnsgMB2m-EyYwZHY12ks5nYw18gaJpZM4DKKxl.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/OpenSIPS/opensips/pull/397"></link>
    <meta itemprop="name" content="View Pull Request"></meta>
  </div>
  <meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>