<p>More information:</p>

<p>rtpengine methods seem to mess wrongly with data types at the moment.  Probably a kamailio-&gt;opensips unfinished port.</p>

<p>For instance, look at this function call:</p>

<pre><code>static int
rtpengine_delete1_f(struct sip_msg* msg, char* str1, char* str2)
{
   str flags;
   if (set_rtpengine_set_from_avp(msg) == -1)
      return -1;

   flags.s = NULL;
   if (str1)
      fixup_get_svalue(msg, (gparam_p)str1, &amp;flags);
....
</code></pre>

<p>Incoming <code>str1</code> is not of type <code>gparam_p</code>.  It's just a plain old <code>char *</code>.  If it was a <code>str</code> type, it would work right.</p>

<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/issues/433#issuecomment-83211783">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciXKPMrRUOTXOy9ggraIG-Bnt2Wruks5n2fUtgaJpZM4Dwxdd.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/issues/433#issuecomment-83211783"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>