[OpenSIPS-Users] bogus to header in rls subscribe
    Anca Vamanu 
    anca at opensips.org
       
    Fri Jun  4 09:01:48 CEST 2010
    
    
  
Hi Juha,
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());
However, I wonder if it is possible for uri string to have lenght 0 .. 
because this is what seems to happen in your case.
Regards,
-- 
Anca Vamanu
www.voice-system.ro
Juha Heinanen wrote:
> Anca Vamanu writes:
>
>   
>> However I see that my wireshark still shows 
>> \r\n at the beginning of the boundary string...
>>     
>
> anca,
>
> don't worry about that, because it is how it should be:
>
> Note that the encapsulation boundary must occur at the beginning of a
> line, i.e., following a CRLF, and that that initial CRLF is considered
> to be part of the encapsulation boundary rather than part of the
> preceding part.
>
> it remains to fix the ;start= param value of Content-Type header:
>
> Content-Type: multipart/related;type="application/rlmi+xml";start="<127532956\r\n\r\n
>
> -- juha
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   
    
    
More information about the Users
mailing list