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

RE: [reSIProcate] compile error with makeInvite


You can safely remove it - the stack now ACK's connections.

 

I will try to fix BasicCall today and check in a working copy.

 


From: Samphel Norden [mailto:samphel@xxxxxxxxxxxxx]
Sent: Wednesday, September 22, 2004 12:58 PM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [reSIProcate] compile error with makeInvite

 

Hi,
    Based on your's and Kaiduan's feedback I switched to BasicCall.cxx. However, I still get a compile error:
ackConnection is not a member of resip::ClientInviteSession for line 257 in BasicCall.cxx which is:
cis->send(cis->ackConnection()).
I noticed ackConnection has been removed in some files. Should I just comment this line out.
Thanks,
Sam

Dominique Prunier wrote:

Hi,
 
Indeed, everything seems easyer with DUM :)
Have a look to basicCall.cxx in the test folder of DUM, this a good example.
For your problem, simply remove the '&' cause makeInvite wants references,
not addresses.
 
Regards,
Dom.
 
----- Original Message ----- 
From: "Samphel Norden" <samphel@xxxxxxxxxxxxx>
To: <resiprocate-devel@xxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, September 21, 2004 11:13 PM
Subject: [reSIProcate] compile error with makeInvite
 
 
  
I have been trying to create an Invite message and I guess I have 2
options, either to use DUM and call makeInviteSession() or use
Helper::makeInvite. I have tried the latter and get the following error
for the line:
SipMessage &InviteMessage = Helper::makeInvite(&target,&from,&contact);
 
where target from and contact are of type Nameaddr. Could you please tell
me how to resolve this. The error is shown below:
-----------------------------------------------------------------------
error C2665: 'resip::Helper::makeInvite' : none of the 2 overloads can
convert parameter 1 from type 'const resip::NameAddr *__w64 '
        C:\code\resiprocate\main\sip\resiprocate\Helper.hxx(42): could be
'resip::SipMessage *resip::Helper::makeInvite(const resip::NameAddr
&,const resip::NameAddr &,const resip::NameAddr &)'
        while trying to match the argument list '(const resip::NameAddr
*__w64 , resip::NameAddr *__w64 , resip::NameAddr *__w64 )'
------------------------------------------------------------------------
 
 
 If someone has some code that uses makeInviteSession instead it would be
better since I am not clear how to initialise the SdpContents *
initialOffer variable. Thats why I switched ot using just makeInvite().
 
Thanks,
Sam
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
 
    
 
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel