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

RE: [reSIProcate] how to hold a call


You should use InviteSession::provideOffer to send a re-invite.

> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:resiprocate-
> devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of maodonghu
> Sent: Friday, November 11, 2005 2:39 AM
> To: resiprocate-devel
> Subject: [reSIProcate] how to hold a call
> 
> 
> why my code seems invalid, from ethereal I cannot find re-invite message
> sent.
> 
>       SipMessage& im = call->mDum.makeInviteSession( call->is-
> >peerAddr(),&call->is->getLocalSdp(), NULL );
>       im = call->inviteMsg;
>       SdpContents *sdp = (SdpContents*)im.getContents();
>       sdp->session().clearAttribute( Data( "a=sendrecv" ) );
>       sdp->session().addAttribute( Data("a=sendonly") );
>       call->mDum.send( im );
> 
> 
>         maodonghu
>         hhmmdd@xxxxxxx
>           2005-11-11