Package org.cipango.client

Examples of org.cipango.client.SipRequest.send()


  }
 
  public void testMessage() throws Exception
  {
    SipRequest request = createRequest("MESSAGE", "sip:bob@cipango.org");
    request.send();
   
    SipResponse response = request.waitResponse();
    assertEquals(SipServletResponse.SC_OK, response.getStatus());
  }
 
View Full Code Here


  }
 
  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());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.