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

Re: [reSIProcate] How to get BodyData from SipFrag type content?


Try Data::from(contents).

> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> Wenwei Xu
> Sent: Friday, October 27, 2006 3:47 PM
> To: 'reSIProcate List'
> Subject: [reSIProcate] How to get BodyData from SipFrag type content?
> 
> Hi, reSIP developers! I need your help. I have a NOTIFY message of
type
> SipFrag, which contain some body data. Can someone tell me how to get
> the
> body data out of the message? In the downloaded stack, the
> getBodyData()
> function seems not to be implemented(as seen below). How to implement
> this
> function? Can someone give me some idea?
> 
> Thanks very much!!!
> W. Xu
> 
> 
> Data
> Contents::getBodyData() const
> {
>    ErrLog( << "Need to implement getBodyData function for " <<
> getType() );
>    assert(0);
>    return Data::Empty;
> }
> 
> 
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel