[sr-dev] [kamailio/kamailio] textops: get_body_part doesn't detect multipart headers ending (#564)

Olle E. Johansson oej at edvina.net
Mon Apr 11 13:47:50 CEST 2016


I have no example of a multipart body in my pile of cool INVITE messages. Would it be possible for
you to upload one full INVITE as an example for us to test with?

/O

> On 11 Apr 2016, at 13:20, foucse <notifications at github.com> wrote:
> 
> When I use get_body_part on a multipart body, it doesn't detect properly the ending of multipart headers:
> 
> For instance in:
> 
> --vvemeemm0wqr7ayc5h367f3v8e66mc9t
> Content-Type: application/sdp
> Content-Length: 479
> 
> v=0
> o=- 3669362310 3669362310 IN IP4 192.168.2.4
> [...]
> "Content-Length: 479" is taken into get_body_part("application/sdp", "$var(sdp)");
> 
> I will try to provide more details later.
> 
>> You are receiving this because you are subscribed to this thread.
> Reply to this email directly or view it on GitHub <https://github.com/kamailio/kamailio/issues/564>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160411/3145aac3/attachment.html>


More information about the sr-dev mailing list