assertEquals(SipServletResponse.SC_OK, response.getStatus());
}
public void testCall() throws Exception
{
SipRequest request = createRequest("INVITE", "sip:uas@cipango.org");
request.send();
SipResponse response = request.waitResponse();
assertEquals(SipServletResponse.SC_RINGING, response.getStatus());
response = request.waitResponse();
assertEquals(SipServletResponse.SC_OK, response.getStatus());
response.createAck().send();
Thread.sleep(100);
request = request.getSession().waitRequest();
request.createResponse(SipServletResponse.SC_OK).send();
}