< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

RE: [reSIProcate] getting sipmessage into a buffer


You can use the stream operators or Data::from(sipMessage) to get a Data
object.

> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> Benjamin Jacob
> Sent: Monday, July 31, 2006 5:47 AM
> To: Resiprocate
> Subject: [reSIProcate] getting sipmessage into a buffer
> 
> Hello ppl,
> Is it possible to get a message(SipMessage) into a buffer, so that I
> can send the buffer across a socket to some other application??
> Version 9, did have the brief() function which returned a Data object,
> which can give you the c_str format buffer. But this has been removed
> in the current svn versions. Tho I do see this Brief class, cant make
> out wot its supposed to do(it outputs the entire block onto a stream).
> But how do I get a formatted data in a buffer??.
> I send this buffer across on a socket, n the application on the other
> side uses SipMessage.make() to create a SipMessage.
> 
> Any ideas?
> 
> Thanks.
> Benjamin Jacob.
> 
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel