Yes Iñaki, you're right, sorry for this mistake.<br><br><div>this is the existing code:</div><div><br></div><div>> switch(hdr->type){<br>> case HDR_CONTENTTYPE_T:<br>> case HDR_CONTENTDISPOSITION_T:<br>
</div><div><br></div><div>that I replaced with the following:</div><div><br></div><div>> switch(hdr->type){<br>> case HDR_CONTENTTYPE_T:<br>> case HDR_CONTENTDISPOSITION_T:<br>
> case HDR_CONTENTLENGTH_T:<br></div><div><br></div><div>Cheers</div><div>Pascal</div><div><br></div><div><br><div class="gmail_quote">On Wed, May 12, 2010 at 5:41 PM, Iñaki Baz Castillo <span dir="ltr"><<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">2010/5/12 Pascal Maugeri <<a href="mailto:pascal.maugeri@gmail.com">pascal.maugeri@gmail.com</a>>:<br>
<div class="im"><br>
> It looks the Content-length within the multi-part is not accepted.<br>
> I fixed it changing the source code of parser/sdp/sdp_helpr_funcs.c,<br>
> in get_sdp_hdr_field() function:<br>
> switch(hdr->type){<br>
> case HDR_CONTENTTYPE_T:<br>
> case HDR_CONTENTDISPOSITION_T:<br>
> case HDR_CONTENTLENGTH_T:<br>
><br>
><br>
> replaced with:<br>
><br>
> switch(hdr->type){<br>
> case HDR_CONTENTTYPE_T:<br>
> case HDR_CONTENTDISPOSITION_T:<br>
><br>
> (I'm using kamailio 3.0.1)<br>
<br>
</div>Hi, perhaps you mean exactly the opposite (the first is your<br>
modification and the second the current code)?<br>
I'm inspecting parser/sdp/sdp_helpr_funcs.c and I don't see "case<br>
HDR_CONTENTLENGTH_T".<br>
<br>
Regards.<br>
<font color="#888888"><br>
<br>
--<br>
Iñaki Baz Castillo<br>
<<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>><br>
</font></blockquote></div><br></div>