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

Re: [reSIProcate] Set SDP contents using the method setContents


You're right, I've found my mistake.
I forget that the constructor of HeaderFieldValue needs const char*
I gave char* instead.

Thanks,
Viet

----- Original Message ----
From: Ryan Kereliuk <ryker@xxxxxxxxx>
To: Tuan Viet Nguyen <ntvietv@xxxxxxxxx>
Cc: resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
Sent: Monday, July 30, 2007 12:20:48 AM
Subject: Re: [reSIProcate] Set SDP contents using the method setContents

The problem is you've created your SdpContents object incorrectly.
That's as much help as we can provide given your problem description.

Thanks,
-Ryan

On 2007-07-29 at 14h58, Tuan Viet Nguyen wrote:
> When I call SipMessage::setContents(), I've got resip::ParseBuffer::Exception
>
> Thanks,
> Viet
>
> ----- Original Message ----
> From: Ryan Kereliuk <ryker@xxxxxxxxx>
> To: Tuan Viet Nguyen <ntvietv@xxxxxxxxx>
> Cc: resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
> Sent: Sunday, July 29, 2007 9:31:44 PM
> Subject: Re: [reSIProcate] Set SDP contents using the method setContents
>
> That looks correct.  Perhaps validate that sdpContents isn't NULL prior
> to the SipMessage::setContents() call.  What do you get from
> SipMessage::getContents() after attempting to add your SDP body?
>
> Thanks,
> -Ryan
>
> On 2007-07-29 at 12h12, Tuan Viet Nguyen wrote:
> >
> > Can we set the SDP content to a SIP message like below?
> >
> > msg->setContents(sdpContent);  //sdpContent is a pointer to an instance of the class SdpContents
> >
> > I tried that but it did not work.
>
>
>
>
>
>
>
>        
> ____________________________________________________________________________________
> Pinpoint customers who are looking for what you sell.
> http://searchmarketing.yahoo.com/



Boardwalk for $500? In 2007? Ha!
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.