示例#1
0
  private void forward(SipResponse response) {

    /*
    if (_tx.getRequest().getTo().getParameter("tag") == null)
    {
        if (response.getStatus() < 300 && (response.isInvite() || response.isSubscribe()))
        {
            response.session().registerProxy(response);
        }
    }
    */
    if (response.getStatus() >= 300) response.session().updateState(response, false);
    _tx.send(response);
    response.setCommitted(true);
  }
示例#2
0
 private void invokeServlet(SipResponse response) {
   if (_supervised) response.session().invokeServlet(response);
 }