/** Sends the ack when offer/answer is in 2xx/ack */ public void ackWithAnswer(String contact, String session_descriptor) { if (contact != null) setLocalContact(new NameAddress(contact)); Message ack = MessageFactory.create2xxAckRequest(this, session_descriptor); ackWithAnswer(ack); }
/** Answers at the 2xx/offer (in the ack message) */ public void ackWithAnswer(String sdp) { local_sdp = sdp; dialog.ackWithAnswer(contact_url, sdp); }