<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I have no example of a multipart body in my pile of cool INVITE messages. Would it be possible for<div class="">you to upload one full INVITE as an example for us to test with?</div><div class=""><br class=""></div><div class="">/O</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 11 Apr 2016, at 13:20, foucse <<a href="mailto:notifications@github.com" class="">notifications@github.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><p class="">When I use get_body_part on a multipart body, it doesn't detect properly the ending of multipart headers:</p><p class="">For instance in:</p>

<pre class=""><code class="">--vvemeemm0wqr7ayc5h367f3v8e66mc9t
Content-Type: application/sdp
Content-Length: 479

v=0
o=- 3669362310 3669362310 IN IP4 192.168.2.4
[...]
</code></pre><p class="">"Content-Length: 479" is taken into get_body_part("application/sdp", "$var(sdp)");</p><p class="">I will try to provide more details later.</p><p style="font-size:small;-webkit-text-size-adjust:none;color:#666;" class="">—<br class="">You are receiving this because you are subscribed to this thread.<br class="">Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/564" class="">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZcV3lNWRIwsy4CZRmB-LQ8HX_cMHks5p2i6YgaJpZM4IESnF.gif" width="1" class=""></p>
<div itemscope="" itemtype="http://schema.org/EmailMessage" class="">
<div itemprop="action" itemscope="" itemtype="http://schema.org/ViewAction" class="">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/564" class="">
  <meta itemprop="name" content="View Issue" class="">
</div>
<meta itemprop="description" content="View this Issue on GitHub" class="">
</div>
_______________________________________________<br class="">sr-dev mailing list<br class=""><a href="mailto:sr-dev@lists.sip-router.org" class="">sr-dev@lists.sip-router.org</a><br class="">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev<br class=""></div></blockquote></div><br class=""></div></body></html>