RE: [reSIProcate] Convert NameAddr into Data
Lorenzo,
Not sure it's the best way but the Data class has a member function 'from'
that allows creation of a data object from a template. Any class with an <<
operator should be able to be used as the template parameter so
NameAddr contact;
const char* p = Data::from(contact);
should work..
Rob.
-----Original Message-----
From: Lorenzo [mailto:webmaster@xxxxxxxxxxxxx]
Sent: 24 March 2006 16:02
To: Resiprocate
Subject: [reSIProcate] Convert NameAddr into Data
Hello,
which is the best method to convert a NameAddr (or a URI ) into a Data
(and then into a string with c_str() ) ?
Thank you,
LB
_______________________________________________
resiprocate-devel mailing list resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel