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

[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.