/external/nist-sip/java/gov/nist/javax/sip/message/ |
D | MessageFactoryImpl.java | 295 SIPResponse sipResponse = new SIPResponse(); in createResponse() local 302 sipResponse.setStatusLine(statusLine); in createResponse() 303 sipResponse.setCallId(callId); in createResponse() 304 sipResponse.setCSeq(cSeq); in createResponse() 305 sipResponse.setFrom(from); in createResponse() 306 sipResponse.setTo(to); in createResponse() 307 sipResponse.setVia(via); in createResponse() 308 sipResponse.setMaxForwards(maxForwards); in createResponse() 309 sipResponse.setContent(content, contentType); in createResponse() 311 sipResponse.setHeader(userAgent); in createResponse() [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/ |
D | DialogFilter.java | 110 SIPResponse sipResponse = sipRequest.createResponse(Response.REQUEST_PENDING); in sendRequestPendingResponse() local 113 sipResponse.setHeader(serverHeader); in sendRequestPendingResponse() 118 sipResponse.setHeader(retryAfter); in sendRequestPendingResponse() 122 transaction.sendResponse(sipResponse); in sendRequestPendingResponse() 141 SIPResponse sipResponse = sipRequest.createResponse(Response.BAD_REQUEST); in sendBadRequestResponse() local 143 sipResponse.setReasonPhrase(reasonPhrase); in sendBadRequestResponse() 146 sipResponse.setHeader(serverHeader); in sendBadRequestResponse() 152 transaction.sendResponse(sipResponse); in sendBadRequestResponse() 172 SIPResponse sipResponse = sipRequest in sendCallOrTransactionDoesNotExistResponse() local 177 sipResponse.setHeader(serverHeader); in sendCallOrTransactionDoesNotExistResponse() [all …]
|
D | NistSipMessageFactoryImpl.java | 101 SIPResponse sipResponse, MessageChannel messageChannel) { in newSIPServerResponse() argument 106 .findTransaction(sipResponse, false); in newSIPServerResponse() 109 "Found Transaction " + tr + " for " + sipResponse); in newSIPServerResponse() 123 && sipResponse.getStatusCode() / 100 == 1) { in newSIPServerResponse() 127 + sipResponse.getStatusCode()); in newSIPServerResponse()
|
D | EventScanner.java | 276 SIPResponse sipResponse = (SIPResponse) responseEvent in deliverEvent() local 284 + sipResponse.getFirstLine()); in deliverEvent() 301 … && (sipResponse.getStatusCode() == Response.CALL_OR_TRANSACTION_DOES_NOT_EXIST || sipResponse in deliverEvent() 327 if (sipResponse.getCSeq().getMethod() in deliverEvent() 330 && sipResponse.getStatusCode() == 200) { in deliverEvent() 338 sipDialog.doDeferredDeleteIfNoAckSent(sipResponse.getCSeq().getSeqNumber()); in deliverEvent()
|
D | SipProviderImpl.java | 743 SIPResponse sipResponse = (SIPResponse) response; in sendResponse() local 744 Via via = sipResponse.getTopmostVia(); in sendResponse() 791 messageChannel.sendMessage(sipResponse); in sendResponse()
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
D | SIPDialog.java | 601 public SIPDialog(SIPClientTransaction transaction, SIPResponse sipResponse) { in SIPDialog() argument 603 if (sipResponse == null) in SIPDialog() 605 this.setLastResponse(transaction, sipResponse); in SIPDialog() 612 public SIPDialog(SipProviderImpl sipProvider, SIPResponse sipResponse) { in SIPDialog() argument 615 this.setLastResponse(null, sipResponse); in SIPDialog() 616 this.localSequenceNumber = sipResponse.getCSeq().getSeqNumber(); in SIPDialog() 618 this.myTag = sipResponse.getFrom().getTag(); in SIPDialog() 619 this.hisTag = sipResponse.getTo().getTag(); in SIPDialog() 620 this.localParty = sipResponse.getFrom().getAddress(); in SIPDialog() 621 this.remoteParty = sipResponse.getTo().getAddress(); in SIPDialog() [all …]
|
D | TCPMessageChannel.java | 502 SIPResponse sipResponse = sipRequest in processMessage() local 504 byte[] resp = sipResponse.encodeAsBytes(this.getTransport()); in processMessage() 529 SIPResponse sipResponse = (SIPResponse) sipMessage; in processMessage() local 534 sipResponse.checkHeaders(); in processMessage() 539 + sipResponse); in processMessage() 546 && sipResponse.getSize() in processMessage() 547 + (sipResponse.getContentLength() == null ? 0 : sipResponse in processMessage() 556 sipResponse, this); in processMessage() 561 .checkFromTag(sipResponse)) { in processMessage() 565 + sipResponse); in processMessage() [all …]
|
D | TLSMessageChannel.java | 471 SIPResponse sipResponse = sipRequest in processMessage() local 473 byte[] resp = sipResponse.encodeAsBytes(this.getTransport()); in processMessage() 511 SIPResponse sipResponse = (SIPResponse) sipMessage; in processMessage() local 513 sipResponse.checkHeaders(); in processMessage() 518 + sipResponse); in processMessage() 525 && sipResponse.getSize() in processMessage() 526 + (sipResponse.getContentLength() == null ? 0 : sipResponse in processMessage() 535 sipResponse, this); in processMessage() 540 .checkFromTag(sipResponse)) { in processMessage() 544 + sipResponse); in processMessage() [all …]
|
D | SIPServerTransaction.java | 1234 SIPResponse sipResponse = (SIPResponse) response; in sendResponse() local 1241 sipResponse.checkHeaders(); in sendResponse() 1247 if (!sipResponse.getCSeq().getMethod().equals(this.getMethod())) { in sendResponse() 1278 if (sipResponse.getStatusCode() == 200 in sendResponse() 1279 && sipResponse.getCSeq().getMethod().equals(Request.INVITE) in sendResponse() 1280 && sipResponse.getHeader(ContactHeader.NAME) == null) in sendResponse() 1316 if (this.pendingReliableResponse != null && sipResponse.isFinalResponse()) { in sendResponse() 1325 if (sipResponse.getStatusCode() / 100 == 2 in sendResponse() 1326 && sipStack.isDialogCreated(sipResponse.getCSeq().getMethod())) { in sendResponse() 1327 if (dialog.getLocalTag() == null && sipResponse.getTo().getTag() == null) { in sendResponse() [all …]
|
D | ServerResponseInterface.java | 60 SIPResponse sipResponse, in processResponse() argument 73 SIPResponse sipResponse, in processResponse() argument
|
D | SIPClientTransaction.java | 1333 public boolean checkFromTag(SIPResponse sipResponse) { in checkFromTag() argument 1336 if (originalFromTag == null ^ sipResponse.getFrom().getTag() == null) { in checkFromTag() 1342 && !originalFromTag.equalsIgnoreCase(sipResponse.getFrom().getTag())) { in checkFromTag() 1358 public void processResponse(SIPResponse sipResponse, MessageChannel incomingChannel) { in processResponse() argument 1363 String method = sipResponse.getCSeq().getMethod(); in processResponse() 1364 String dialogId = sipResponse.getDialogId(false); in processResponse() 1378 int code = sipResponse.getStatusCode(); in processResponse() 1381 && (sipResponse.getToTag() != null || sipStack.isRfc2543Supported()) in processResponse() 1397 if (sipResponse.getFromTag() != null) { in processResponse() 1406 defaultDialog.setLastResponse(this, sipResponse); in processResponse() [all …]
|
D | UDPMessageChannel.java | 515 SIPResponse sipResponse = (SIPResponse) sipMessage; in processMessage() local 517 sipResponse.checkHeaders(); in processMessage() 522 + sipResponse); in processMessage() 526 .newSIPServerResponse(sipResponse, this); in processMessage() 531 .checkFromTag(sipResponse)) { in processMessage() 535 + sipResponse); in processMessage() 539 sipServerResponse.processResponse(sipResponse, this); in processMessage()
|
D | MessageChannel.java | 362 public void logResponse(SIPResponse sipResponse, long receptionTime, String status) { in logResponse() argument 364 if (peerport == 0 && sipResponse.getContactHeaders() != null) { in logResponse() 365 ContactHeader contact = (ContactHeader) sipResponse.getContactHeaders().getFirst(); in logResponse() 371 this.getSIPStack().serverLogger.logMessage(sipResponse, from, to, status, false, in logResponse()
|
D | StackMessageFactory.java | 68 SIPResponse sipResponse, in newSIPServerResponse() argument
|
D | SIPTransactionStack.java | 662 public SIPDialog createDialog(SIPClientTransaction transaction, SIPResponse sipResponse) { in createDialog() argument 667 if (sipResponse.isFinalResponse()) { in createDialog() 672 retval = new SIPDialog(transaction, sipResponse); in createDialog() 685 SIPResponse sipResponse) { in createDialog() argument 686 return new SIPDialog(sipProvider, sipResponse); in createDialog()
|