[reSIProcate] How do I extract an "sdp" record into a string.

Patel Parag papatel at varaha.com
Mon Oct 31 03:35:37 CST 2005


hi john draper,
using following code u r able to get whole Sdp in form of char*.

sdp = new SdpContents(hfv, type);

char *mysdpAsString = (char*) Data::from(*sdp).c_str();

regards,
parag patel

-----Original Message-----
From: resiprocate-devel-bounces at list.sipfoundry.org
[mailto:resiprocate-devel-bounces at list.sipfoundry.org]On Behalf Of John
Draper
Sent: Monday, October 31, 2005 2:46 PM
To: resiprocate-devel at list.sipfoundry.org
Subject: [reSIProcate] How do I extract an "sdp" record into a string.


Hi,

I have a pointer to a "SdpContents" object,  like so:

   sdp = new SdpContents(hfv, type);

Now I want to put this into a string,  how do I do it?

  char *mysdpAsString = <what do I do here?>

John
_______________________________________________
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