Lines Matching defs:sipResponse
40 import gov.nist.javax.sip.message.SIPResponse;
187 // the unacknowledged SIPResponse
189 private SIPResponse pendingReliableResponse;
404 private void sendResponse(SIPResponse transactionResponse) throws IOException {
632 boolean isResponse = (messageToTest instanceof SIPResponse);
878 SIPResponse transactionResponse;
883 transactionResponse = (SIPResponse) messageToSend;
1216 public SIPResponse getLastResponse() {
1234 SIPResponse sipResponse = (SIPResponse) response;
1241 sipResponse.checkHeaders();
1247 if (!sipResponse.getCSeq().getMethod().equals(this.getMethod())) {
1278 if (sipResponse.getStatusCode() == 200
1279 && sipResponse.getCSeq().getMethod().equals(Request.INVITE)
1280 && sipResponse.getHeader(ContactHeader.NAME) == null)
1299 && ((SIPResponse)response).getContentTypeHeader() != null
1301 && ((SIPResponse)response).getContentTypeHeader().getContentType()
1303 && ((SIPResponse)response).getContentTypeHeader().getContentSubType()
1316 if (this.pendingReliableResponse != null && sipResponse.isFinalResponse()) {
1325 if (sipResponse.getStatusCode() / 100 == 2
1326 && sipStack.isDialogCreated(sipResponse.getCSeq().getMethod())) {
1327 if (dialog.getLocalTag() == null && sipResponse.getTo().getTag() == null) {
1332 sipResponse.getTo().setTag(Utils.getInstance().generateTag());
1333 } else if (dialog.getLocalTag() != null && sipResponse.getToTag() == null) {
1334 sipResponse.setToTag(dialog.getLocalTag());
1335 } else if (dialog.getLocalTag() != null && sipResponse.getToTag() != null
1336 && !dialog.getLocalTag().equals(sipResponse.getToTag())) {
1339 + sipResponse.getToTag());
1343 if (!sipResponse.getCallId().getCallId().equals(dialog.getCallId().getCallId())) {
1354 if (fromTag != null && sipResponse.getFromTag() != null
1355 && !sipResponse.getFromTag().equals(fromTag)) {
1358 sipResponse.getFrom().setTag(fromTag);
1369 dialog.setResponseTags(sipResponse);
1371 dialog.setLastResponse(this, (SIPResponse) response);
1386 String dialogId = ((SIPResponse) response).getDialogId(true);
1398 this.sendMessage((SIPResponse) response);
1401 dialog.startRetransmitTimer(this, (SIPResponse)response);
1546 this.pendingReliableResponse = (SIPResponse) relResponse;
1563 this.lastResponse = (SIPResponse) relResponse;
1582 public SIPResponse getReliableProvisionalResponse() {