[SR-Users] [NATHELPER] bug in SDP parsing when dealing with multi-part bodies ?
Iñaki Baz Castillo
ibc at aliax.net
Wed May 12 17:41:53 CEST 2010
2010/5/12 Pascal Maugeri <pascal.maugeri at gmail.com>:
> It looks the Content-length within the multi-part is not accepted.
> I fixed it changing the source code of parser/sdp/sdp_helpr_funcs.c,
> in get_sdp_hdr_field() function:
> switch(hdr->type){
> case HDR_CONTENTTYPE_T:
> case HDR_CONTENTDISPOSITION_T:
> case HDR_CONTENTLENGTH_T:
>
>
> replaced with:
>
> switch(hdr->type){
> case HDR_CONTENTTYPE_T:
> case HDR_CONTENTDISPOSITION_T:
>
> (I'm using kamailio 3.0.1)
Hi, perhaps you mean exactly the opposite (the first is your
modification and the second the current code)?
I'm inspecting parser/sdp/sdp_helpr_funcs.c and I don't see "case
HDR_CONTENTLENGTH_T".
Regards.
--
Iñaki Baz Castillo
<ibc at aliax.net>
More information about the sr-users
mailing list