<p>I've been playing about with SIP-T and the sipt module and it looks like search_boundary() in parser/parse_body.c fails for binary content like SIP-I or SIP-T if the content is split in multipart mode as in the case of a INVITE which contains SDP content and ISUP (binary) content.</p>

<p>I commented out the following lines in search_boundary() and it seems to work ok now</p>

<p>//  /* go to the next line <em>/<br>
//  while ((c < buf_end) && (</em>c != '\n')) c++;</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/83">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZW2rntgAxmV6NsiXGZ2DubMKGr6sks5nrJf7gaJpZM4DfgHr.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/kamailio/kamailio/issues/83"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>