[reSIProcate] how to hold a call

maodonghu hhmmdd at tom.com
Fri Nov 11 01:38:41 CST 2005


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 at tom.com
          2005-11-11


More information about the resiprocate-devel mailing list