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); }
private void invokeServlet(SipResponse response) { if (_supervised) response.session().invokeServlet(response); }