RE: [reSIProcate] provideAnswer question
Scott,
I got the latest from SVN, remade and I am seeing the same problem. I have run
it through the debugger but my version of gdb will not allow me to print the
proposed sdp:
(gdb) p sdp.get()->getBodyData()
Could not find virtual table pointer for class "resip::SdpContents"
The incoming SDP looks good but it is just not getting set correctly for some
reason.
I will change the code to print the proposed sdp once it is set.
Any other ideas?
Thanks again.
Glenn
Quoting Glenn MacGregor <gtm@xxxxxxxxxxxxxxxxxxxxxx>:
> Scott,
>
> Thanks for the response. I will get the latest from SVN and try again. Have
> run
> in gdb and it looks fine to me.
>
> I will let you know after I get the latest and test.
>
> Thanks
>
> Glenn
>
> Quoting Scott Godin <slgodin@xxxxxxxxxxxx>:
>
> > Looking at the code in SVN head, I can't explain why you are seeing this
> > behaviour. Are you using the latest code? Try running in the debugger
> > to see where things are going wrong.
> >
> > > -----Original Message-----
> > > From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
> > [mailto:resiprocate-
> > > devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Glenn MacGregor
> > > Sent: Monday, May 08, 2006 11:11 AM
> > > To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> > > Subject: [reSIProcate] provideAnswer question
> > >
> > > Hi All,
> > >
> > > I am building a softhpone using resiprocate, I have the code to handle
> > an
> > > incoming call.
> > >
> > > I override the OnOffer to handle the SDP and send the accept.
> > >
> > > In OnOffer I call the provideAnswer on the incoming session with the
> > sdp
> > > that is
> > > passed into OnOffer.
> > >
> > > Then I do:
> > >
> > > const SdpContents &localSdp = h->getLocalSdp();
> > > const SdpContents &remoteSdp = h->getRemoteSdp();
> > >
> > > Looking at the code the provideAnswer that should set the
> > mCurrentLocal
> > > and
> > > Remote SDP correctly, but when I call encodedParsed(cout) on both the
> > > Local and
> > > Remote SDP I get:
> > >
> > > v=0
> > > o= 0 0 IN IP4 0.0.0.0
> > > s=
> > > t=0 0
> > >
> > > Which I know is not correct because I print the incoming SPD the same
> > way
> > > in
> > > OnOffer and it is valid.
> > >
> > > Please, is there something I am missing in the process to get this
> > > working?
> > >
> > > Thanks
> > >
> > > Glenn
> > >
> > > Glenn MacGregor
> > > HighStreet Networks
> > >
> > > -------------------------------------------------
> > > This mail sent through IMP: http://horde.org/imp/
> > > _______________________________________________
> > > resiprocate-devel mailing list
> > > resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> > > https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
> >
>
>
> Glenn MacGregor
> HighStreet Networks
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>
Glenn MacGregor
HighStreet Networks
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/