Package org.cipango.server

Examples of org.cipango.server.SipResponse


    }
   
    @Override
    public void startResponse(Buffer version, int status, Buffer reason) throws IOException
    {
      SipResponse response = new SipResponse();
      response.setStatus(status, reason.toString());
      _message = response;
    }
View Full Code Here


              ServerTransaction stx = request.getCallSession().getServerTransaction(txBranch);
              if (stx == null)
              {
                  if (Log.isDebugEnabled())
                      Log.debug("No transaction for cancelled branch {}", txBranch, null);
                  SipResponse unknown = (SipResponse) request.createResponse(SipServletResponse.SC_CALL_LEG_DONE);
                  transaction.send(unknown);
              }
              else
              {
                  SipResponse ok = (SipResponse) request.createResponse(SipServletResponse.SC_OK);
                  transaction.send(ok);
                 
                  stx.cancel(request);
              }
          }
View Full Code Here

TOP

Related Classes of org.cipango.server.SipResponse

Copyright © 2018 www.massapicom. 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.