[reSIProcate] getting sipmessage into a buffer

Scott Godin slgodin at icescape.com
Mon Jul 31 08:17:05 CDT 2006


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

> -----Original Message-----
> From: resiprocate-devel-bounces at list.sipfoundry.org
> [mailto:resiprocate-devel-bounces at list.sipfoundry.org] 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 at list.sipfoundry.org
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel



More information about the resiprocate-devel mailing list