[reSIProcate] Method converting SipMessage to char*

Justin Matthews jmatthewsr at gmail.com
Tue Jul 3 09:44:32 CDT 2007


Something like this will work:

 

resip::SipMsg *myMsg;

resip::Data data;

resip::DataStream myStream(data);

 

myMsg->encode(myStream);

myStream.flush();

 

const char * toString = data.c_str();

          

 

  _____  

From: resiprocate-devel-bounces at list.resiprocate.org
[mailto:resiprocate-devel-bounces at list.resiprocate.org] On Behalf Of Tuan
Viet Nguyen
Sent: Tuesday, July 03, 2007 7:59 AM
To: resiprocate-devel at list.resiprocate.org
Subject: [reSIProcate] Method converting SipMessage to char*

 

Hello,

Is there a method to convert SipMessage to char* ?

Thanks,
Viet

 

  _____  

TV dinner still cooling?
Check out <http://us.rd.yahoo.com/evt=49979/*http:/tv.yahoo.com/>
"Tonight's Picks" on Yahoo! TV.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070703/8ee3b142/attachment.htm>


More information about the resiprocate-devel mailing list