Home
last modified time | relevance | path

Searched refs:sipRequest (Results 1 – 15 of 15) sorted by relevance

/external/nist-sip/java/gov/nist/javax/sip/message/
DMessageFactoryImpl.java132 SIPRequest sipRequest = new SIPRequest(); in createRequest() local
133 sipRequest.setRequestURI(requestURI); in createRequest()
134 sipRequest.setMethod(method); in createRequest()
135 sipRequest.setCallId(callId); in createRequest()
136 sipRequest.setCSeq(cSeq); in createRequest()
137 sipRequest.setFrom(from); in createRequest()
138 sipRequest.setTo(to); in createRequest()
139 sipRequest.setVia(via); in createRequest()
140 sipRequest.setMaxForwards(maxForwards); in createRequest()
141 sipRequest.setContent(content, contentType); in createRequest()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/
DDialogFilter.java108 private void sendRequestPendingResponse(SIPRequest sipRequest, in sendRequestPendingResponse() argument
110 SIPResponse sipResponse = sipRequest.createResponse(Response.REQUEST_PENDING); in sendRequestPendingResponse()
119 if (sipRequest.getMethod().equals(Request.INVITE)) { in sendRequestPendingResponse()
139 private void sendBadRequestResponse(SIPRequest sipRequest, SIPServerTransaction transaction, in sendBadRequestResponse() argument
141 SIPResponse sipResponse = sipRequest.createResponse(Response.BAD_REQUEST); in sendBadRequestResponse()
149 if (sipRequest.getMethod().equals(Request.INVITE)) { in sendBadRequestResponse()
169 private void sendCallOrTransactionDoesNotExistResponse(SIPRequest sipRequest, in sendCallOrTransactionDoesNotExistResponse() argument
172 SIPResponse sipResponse = sipRequest in sendCallOrTransactionDoesNotExistResponse()
180 if (sipRequest.getMethod().equals(Request.INVITE)) { in sendCallOrTransactionDoesNotExistResponse()
201 private void sendLoopDetectedResponse(SIPRequest sipRequest, SIPServerTransaction transaction) { in sendLoopDetectedResponse() argument
[all …]
DSipProviderImpl.java281 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()
[all …]
DEventScanner.java145 SIPRequest sipRequest = (SIPRequest) ((RequestEvent) sipEvent) in deliverEvent() local
151 + sipRequest.getFirstLine() in deliverEvent()
169 .findTransaction(sipRequest, true); in deliverEvent()
180 if (sipRequest.getMethod().equals(Request.ACK) in deliverEvent()
196 } else if (sipStack.findPendingTransaction(sipRequest) != null) { in deliverEvent()
211 sipRequest.setTransaction(eventWrapper.transaction); in deliverEvent()
219 + sipRequest.getFirstLine()); in deliverEvent()
229 + sipRequest.getFirstLine()); in deliverEvent()
DNistSipMessageFactoryImpl.java64 public ServerRequestInterface newSIPServerRequest(SIPRequest sipRequest, in newSIPServerRequest() argument
67 if (messageChannel == null || sipRequest == null) { in newSIPServerRequest()
86 + sipRequest.getFirstLine() + " " + retval in newSIPServerRequest()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPDialog.java571 SIPRequest sipRequest = (SIPRequest) transaction.getRequest(); in SIPDialog() local
572 this.callIdHeader = sipRequest.getCallId(); in SIPDialog()
573 this.earlyDialogId = sipRequest.getDialogId(false); in SIPDialog()
1065 void ackReceived(SIPRequest sipRequest) { in ackReceived() argument
1072 if (tr.getCSeq() == sipRequest.getCSeq().getSeqNumber()) { in ackReceived()
1087 this.setLastAckReceived(sipRequest); in ackReceived()
1325 public synchronized void addRoute(SIPRequest sipRequest) { in addRoute() argument
1332 && SIPRequest.isTargetRefresh(sipRequest.getMethod())) { in addRoute()
1333 this.doTargetRefresh(sipRequest); in addRoute()
1340 if ( sipRequest.getToTag()!=null ) return; in addRoute()
[all …]
DTLSMessageChannel.java450 SIPRequest sipRequest = (SIPRequest) sipMessage; in processMessage() local
467 && sipRequest.getSize() in processMessage()
468 + (sipRequest.getContentLength() == null ? 0 : sipRequest in processMessage()
471 SIPResponse sipResponse = sipRequest in processMessage()
481 sipRequest, this); in processMessage()
484 sipServerRequest.processRequest(sipRequest, this); in processMessage()
493 SIPResponse response = sipRequest in processMessage()
DSIPTransactionStack.java1043 public SIPServerTransaction findMergedTransaction(SIPRequest sipRequest) { in findMergedTransaction() argument
1044 if (! sipRequest.getMethod().equals(Request.INVITE)) { in findMergedTransaction()
1050 String mergeId = sipRequest.getMergeId(); in findMergedTransaction()
1054 …else if (mergedTransaction != null && !mergedTransaction.isMessagePartOfTransaction(sipRequest) ) { in findMergedTransaction()
1066 if ( (! serverTransaction.isMessagePartOfTransaction(sipRequest)) in findMergedTransaction()
1067 && sipRequest.getMergeId().equals(transactionRequest.getMergeId())) { in findMergedTransaction()
1112 public void putInMergeTable(SIPServerTransaction sipTransaction, SIPRequest sipRequest) { in putInMergeTable() argument
1113 String mergeKey = sipRequest.getMergeId(); in putInMergeTable()
1381 public SIPClientTransaction createClientTransaction(SIPRequest sipRequest, in createClientTransaction() argument
1384 ct.setOriginalRequest(sipRequest); in createClientTransaction()
[all …]
DDefaultRouter.java163 SIPRequest sipRequest = (SIPRequest) request; in getNextHop() local
165 RequestLine requestLine = sipRequest.getRequestLine(); in getNextHop()
173 RouteList routes = sipRequest.getRouteHeaders(); in getNextHop()
202 fixStrictRouting(sipRequest); in getNextHop()
DTCPMessageChannel.java480 SIPRequest sipRequest = (SIPRequest) sipMessage; in processMessage() local
498 && sipRequest.getSize() in processMessage()
499 + (sipRequest.getContentLength() == null ? 0 : sipRequest in processMessage()
502 SIPResponse sipResponse = sipRequest in processMessage()
510 sipRequest, this); in processMessage()
514 sipServerRequest.processRequest(sipRequest, this); in processMessage()
DServerRequestInterface.java58 SIPRequest sipRequest, in processRequest() argument
DUDPMessageChannel.java469 SIPRequest sipRequest = (SIPRequest) sipMessage; in processMessage() local
482 .newSIPServerRequest(sipRequest, this); in processMessage()
495 + sipRequest.getFirstLine() + "/" + sipServerRequest); in processMessage()
497 sipServerRequest.processRequest(sipRequest, this); in processMessage()
508 + sipRequest.getFirstLine() + "/" + sipServerRequest); in processMessage()
DStackMessageFactory.java57 SIPRequest sipRequest, in newSIPServerRequest() argument
DSIPClientTransaction.java888 SIPRequest sipRequest = this.getOriginalRequest(); in sendRequest() local
894 sipStack.getStackLogger().logDebug("sendRequest() " + sipRequest); in sendRequest()
898 sipRequest.checkHeaders(); in sendRequest()
906 && sipRequest.getHeader(ExpiresHeader.NAME) == null) { in sendRequest()
967 this.sendMessage(sipRequest); in sendRequest()
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/
DAuthenticationHelperImpl.java436 SIPRequest sipRequest = (SIPRequest) request; in setAuthenticationHeaders() local
438 String callId = sipRequest.getCallId().getCallId(); in setAuthenticationHeaders()