Home | History | Annotate | Download | only in stack

Lines Matching refs:ACK

279      * This task waits till a pending ACK has been recorded and then sends out a re-INVITE. This
282 * ACK while it does mid call codec renegotiation. In the meanwhile, it cannot send an intervening
284 * condition. Hence we wait till the ACK for the previous re-INVITE has been sent before
342 * If we had to wait for ACK then wait for the ACK to actually get to the other
343 * side. Wait for any ACK retransmissions to finish. Then send out the request.
397 // If I ACK has not been seen on Dialog,
408 * seconds without receiving an ACK, the dialog is confirmed, but the session SHOULD
423 // Retransmit to 200 until ack receivedialog.
454 // confirmed state or ack seen if retransmit filter on.
493 * Did not send ACK so we need to delete the dialog.
500 sipStack.getStackLogger().logError("ACK Was not sent. killing dialog");
508 sipStack.getStackLogger().logError("ACK Was not sent. Sending BYE");
525 reasonHeader.setText("Timed out waiting to send ACK");
676 * Raise a dialog timeout if an ACK has not been sent or received
702 // Errors always terminate a dialog except if a timeout has occured because an ACK was not sent or received, then it is the responsibility of the app to terminate
922 * Sends ACK Request to the remote party of this Dialogue.
925 * @param request the new ACK Request message to send.
928 * @param releaseAckSem - release ack semaphore.
929 * @throws SipException if implementation cannot send the ACK Request for any other reason
938 if (!ackRequest.getMethod().equals(Request.ACK))
939 throw new SipException("Bad request method -- should be ACK");
960 "setting from tag For outgoing ACK= " + this.getLocalTag());
962 "setting To tag for outgoing ACK = " + this.getRemoteTag());
963 sipStack.getStackLogger().logDebug("ack = " + ackRequest);
996 // Sent atleast one ACK.
1004 sipStack.getStackLogger().logDebug("Not releasing ack sem for " + this + " isAckSent " + releaseAckSem );
1009 throw new SipException("Could not send ack", ex);
1063 * Mark that the dialog has seen an ACK.
1175 if (dialogRequest.getMethod().equals(Request.ACK))
1190 * timer task. If the timer task expires before an ACK is sent then the dialog is cancelled
1199 // Delete the transaction after the max ack timeout.
1252 * Return true if the dialog has already seen the ack.
1254 * @return flag that records if the ack has been seen.
1261 * Get the last ACK for this transaction.
1268 * Return true if ACK was sent ( for client tx ). For server tx, this is a NO-OP ( we dont
1269 * send ACK).
1854 if (method.equals(Request.ACK) || method.equals(Request.PRACK)) {
2032 if (dialogRequest.getMethod().equals(Request.ACK)
2231 * Resend the last ack.
2369 * (non-Javadoc) The UAC core MUST generate an ACK request for each 2xx received from the
2370 * transaction layer. The header fields of the ACK are constructed in the same way as for any
2373 * same as the INVITE being acknowledged, but the CSeq method MUST be ACK. The ACK MUST
2375 * rules above), the ACK MUST carry an answer in its body. If the offer in the 2xx response is
2376 * not acceptable, the UAC core MUST generate a valid answer in the ACK and then send a BYE
2388 // then send INVITE+ACK later on
2398 throw new SipException("Cannot create ACK - no remote Target!");
2405 // MUST ack in the same order that the OKs were received. This traps
2406 // out of order ACK sending. Old ACKs seqno's can always be ACKed.
2410 "WARNING : Attempt to crete ACK without OK " + this);
2444 "Cannot create ACK - no ListeningPoint for transport towards next hop found:"
2448 sipRequest.setMethod(Request.ACK);
2451 sipRequest.setCSeq(new CSeq(cseqno, Request.ACK));
2455 // so use the via header extracted from the response for the ACK =>
2575 // This is handy for late arriving OK's that we want to ACK.
2779 * We put the dialog into the table. We must wait for ACK before re-INVITE is
2788 * ACK is received.
3107 * Do the necessary processing to handle an ACK directed at this Dialog.
3109 * @param ackTransaction -- the ACK transaction that was directed at this dialog.
3110 * @return -- true if the ACK was successfully consumed by the Dialog and resulted in the
3120 "ACK already seen by dialog -- dropping Ack" + " retransmission");
3134 sipStack.getStackLogger().logDebug("Dialog is terminated -- dropping ACK");
3140 * This could be a re-invite processing. check to see if the ack matches with the last
3148 // Idiot check for sending ACK from the wrong side!
3158 * record that we already saw an ACK for this dialog.
3163 sipStack.getStackLogger().logDebug("ACK for 2XX response --- sending to TU ");
3168 * This happens when the ACK is re-transmitted and arrives too late to be
3174 " INVITE transaction not found -- Discarding ACK");
3189 * Release the semaphore for ACK processing so the next re-INVITE may proceed.
3208 sipStack.getStackLogger().logError("Cannot aquire ACK semaphore");
3225 sipStack.getStackLogger().logError("Cannot aquire ACK semaphore");
3255 * @return true if an ack was ever sent for this Dialog
3271 // Delete the transaction after the max ack timeout.