Lines Matching refs:sipRequest
281 SIPRequest sipRequest = (SIPRequest) request; in getNewClientTransaction() local
282 if (sipRequest.getTransaction() != null) in getNewClientTransaction()
285 if ( sipRequest.getMethod().equals(Request.ACK)) { in getNewClientTransaction()
290 if (sipRequest.getTopmostVia() == null) { in getNewClientTransaction()
298 sipRequest.checkHeaders(); in getNewClientTransaction()
307 if (sipRequest.getTopmostVia().getBranch() != null in getNewClientTransaction()
308 && sipRequest.getTopmostVia().getBranch().startsWith( in getNewClientTransaction()
329 .getDialog(), sipRequest.getDialogId(false)); in getNewClientTransaction()
358 String dialogId = sipRequest.getDialogId(false); in getNewClientTransaction()
379 if (sipRequest.getTopmostVia().getBranch() == null in getNewClientTransaction()
380 || !sipRequest.getTopmostVia().getBranch().startsWith( in getNewClientTransaction()
385 sipRequest.getTopmostVia().setBranch(branchId); in getNewClientTransaction()
387 Via topmostVia = sipRequest.getTopmostVia(); in getNewClientTransaction()
395 branchId = sipRequest.getTopmostVia().getBranch(); in getNewClientTransaction()
398 .createMessageChannel(sipRequest, listeningPoint in getNewClientTransaction()
403 ct.setOriginalRequest(sipRequest); in getNewClientTransaction()
413 ct.setDialog(dialog, sipRequest.getDialogId(false)); in getNewClientTransaction()
416 ct.setDialog(sipDialog, sipRequest.getDialogId(false)); in getNewClientTransaction()
420 ct.setDialog(dialog, sipRequest.getDialogId(false)); in getNewClientTransaction()
458 SIPRequest sipRequest = (SIPRequest) request; in getNewServerTransaction() local
460 sipRequest.checkHeaders(); in getNewServerTransaction()
473 if (sipRequest.getMethod().equals(Request.NOTIFY) in getNewServerTransaction()
474 && sipRequest.getFromTag() != null in getNewServerTransaction()
475 && sipRequest.getToTag() == null) { in getNewServerTransaction()
478 sipRequest, (ListeningPointImpl) this.getListeningPoint()); in getNewServerTransaction()
490 if (sipStack.isDialogCreated(sipRequest.getMethod())) { in getNewServerTransaction()
501 transaction.setOriginalRequest(sipRequest); in getNewServerTransaction()
513 String dialogId = sipRequest.getDialogId(true); in getNewServerTransaction()
519 transaction.setDialog(dialog, sipRequest.getDialogId(true)); in getNewServerTransaction()
520 … if (sipRequest.getMethod().equals(Request.INVITE) && this.isDialogErrorsAutomaticallyHandled()) { in getNewServerTransaction()
521 sipStack.putInMergeTable(transaction, sipRequest); in getNewServerTransaction()
523 dialog.addRoute(sipRequest); in getNewServerTransaction()
548 transaction.setOriginalRequest(sipRequest); in getNewServerTransaction()
559 String dialogId = sipRequest.getDialogId(true); in getNewServerTransaction()
563 dialog.addRoute(sipRequest); in getNewServerTransaction()
564 transaction.setDialog(dialog, sipRequest.getDialogId(true)); in getNewServerTransaction()
577 transaction.setOriginalRequest(sipRequest); in getNewServerTransaction()
583 String dialogId = sipRequest.getDialogId(true); in getNewServerTransaction()
587 dialog.addRoute(sipRequest); in getNewServerTransaction()
588 transaction.setDialog(dialog, sipRequest in getNewServerTransaction()
596 MessageChannel mc = (MessageChannel) sipRequest in getNewServerTransaction()
603 transaction.setOriginalRequest(sipRequest); in getNewServerTransaction()
608 String dialogId = sipRequest.getDialogId(true); in getNewServerTransaction()
612 dialog.addRoute(sipRequest); in getNewServerTransaction()
613 transaction.setDialog(dialog, sipRequest in getNewServerTransaction()
685 SIPRequest sipRequest = (SIPRequest) request; in sendRequest() local
688 if ((!sipRequest.isNullRequest()) && sipRequest.getTopmostVia() == null) in sendRequest()
697 if (!sipRequest.isNullRequest()) { in sendRequest()
698 Via via = sipRequest.getTopmostVia(); in sendRequest()
701 via.setBranch(sipRequest.getTransactionId()); in sendRequest()
711 messageChannel.sendMessage((SIPMessage) sipRequest,hop); in sendRequest()
847 SIPRequest sipRequest = (SIPRequest) transaction.getRequest(); in getNewDialog() local
848 String dialogId = sipRequest.getDialogId(true); in getNewDialog()
854 dialog.addRoute(sipRequest); in getNewDialog()
858 sipTransaction.setDialog(dialog, sipRequest.getDialogId(true)); in getNewDialog()
860 … if (sipRequest.getMethod().equals(Request.INVITE) && this.isDialogErrorsAutomaticallyHandled()) { in getNewDialog()
861 sipStack.putInMergeTable(st, sipRequest); in getNewDialog()