[OpenSIPS-Users] bogus to header in rls subscribe

Anca Vamanu anca at opensips.org
Fri Jun 4 09:33:24 CEST 2010


Juha Heinanen wrote:
> Anca Vamanu writes:
>   
>> I don't think there is a '\r\n' in the middle for the start string - it 
>> is a dot '.'
>> Here is where the string is generated:
>>
>>     sprintf(cid, "%d.%.*s.%d", (int)time(NULL), uri_len, uri, rand());
>>     
>
> anca,
>
> perhaps there is a misunderstanding.  i don't know if there is \r\n in
> start parameter value, but start parameter does not terminate with "
> like it should:
>
>   
>>> Content-Type: multipart/related;type="application/rlmi+xml";start="<127532956\r\n\r\n
>>>       
>
> i guess there should also be a closing > before " and both of them are
> missing.  you can see it from the binary file (packet 23 in enclosed
> dump).
>
> -- juha
>
>   
>   
Ok, now I see that the problem is in the body corresponding to an entry 
of type list. I will test and check this later today.

Regards,
Anca




More information about the Users mailing list