[reSIProcate] how to hold a call
- From: "maodonghu" <hhmmdd@xxxxxxx>
- Date: Fri, 11 Nov 2005 15:38:41 +0800
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