[reSIProcate] provideAnswer question

Glenn MacGregor gtm at highstreetnetworks.com
Mon May 8 10:38:39 CDT 2006


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 at icescape.com>:

> 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 at list.sipfoundry.org
> [mailto:resiprocate-
> > devel-bounces at list.sipfoundry.org] On Behalf Of Glenn MacGregor
> > Sent: Monday, May 08, 2006 11:11 AM
> > To: resiprocate-devel at list.sipfoundry.org
> > 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 at list.sipfoundry.org
> > https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
> 


Glenn MacGregor
HighStreet Networks

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



More information about the resiprocate-devel mailing list