[reSIProcate] REFER with replace

Karlsson boost.regex at gmail.com
Sun Apr 13 23:18:58 CDT 2008


I have resolved this problem,  please ignore my previous emails, sorry.

On Sun, Apr 13, 2008 at 8:20 PM, Karlsson <boost.regex at gmail.com> wrote:

> I have wote these code, I can complie it, does it correctly ?
>
>  first, I make a call to A, and saved the ClientInviteSessionHandle in
> onNewSession - mClientInviteSession.
> After the call is established, the B calling me, I saved the
> ServerInviteSessionHandle in onNewSession mServerInviteSession.
> After the call is established, then I want to REFER the call with replace
> for attended refer:
>
>  InviteSession * is = static_cast<InviteSession
> *>(mServerInviteSession->second.get());
>  InviteSessionHandle ish = is->getSessionHandle();
>
> mClientInviteSession->refer(referTo, InviteSessionHandle);
>
>
>
> On Sun, Apr 13, 2008 at 4:41 PM, Karlsson <boost.regex at gmail.com> wrote:
>
> > There is my details,
> > first, I make a call to A, and saved the ClientInviteSessionHandle in
> > onNewSession - mClientInviteSession.
> > After the call is established, the B calling me, I saved the
> > ServerInviteSessionHandle in onNewSession mServerInviteSession.
> > After the call is established, then I want to REFER the call with
> > replace for atteded refer:
> >
> > mClientInviteSession->refer(referTo, mServerInviteSession);
> >
> > This is can't complie, please help me how to do it , thank you in
> > advance.
> >
> >   On Sun, Apr 13, 2008 at 4:19 PM, Karlsson <boost.regex at gmail.com>
> > wrote:
> >
> > > Hi all, I want to make the a REFER with replace, but can't complied
> > > it:
> > >
> > > ClientInviteSessionHandle mClientInviteSession;
> > > ServerInviteSessionHandle mServerInviteSession;
> > >
> > >
> > > mClientInviteSession->refer(referTo, mServerInviteSession);
> > >
> > > the complier says second parameter is error, how to do ?
> > >
> > > Thanks
> > >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20080414/0b8a9be9/attachment.htm>


More information about the resiprocate-devel mailing list