[reSIProcate] compile error with makeInvite
Scott Godin
slgodin at icescape.com
Wed Sep 22 12:18:41 CDT 2004
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 at arl.wustl.edu]
Sent: Wednesday, September 22, 2004 12:58 PM
To: resiprocate-devel at list.sipfoundry.org
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" <mailto:samphel at arl.wustl.edu>
<samphel at arl.wustl.edu>
To: <mailto:resiprocate-devel at list.sipfoundry.org>
<resiprocate-devel at list.sipfoundry.org>
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 at list.sipfoundry.org
<mailto:resiprocate-devel at list.sipfoundry.org>
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
<https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel>
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel at list.sipfoundry.org
<mailto:resiprocate-devel at list.sipfoundry.org>
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
<https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20040922/9d72986b/attachment.htm>
More information about the resiprocate-devel
mailing list