javax.servlet.sip
Interface SipErrorListener

All Superinterfaces:
java.util.EventListener

public interface SipErrorListener
extends java.util.EventListener

Causes applications to be notified of various error conditions occurring during regular SIP transaction processing.


Method Summary
 void noAckReceived(SipErrorEvent ee)
          Invoked by the servlet container to notify an application that no ACK was received for a transaction for which a final response has been sent upstream.
 void noPrackReceived(SipErrorEvent ee)
          Invoked by the servlet container for applications acting as a UAS when no PRACK was received for a previously sent reliable provisional response.
 

Method Detail

noAckReceived

public void noAckReceived(SipErrorEvent ee)
Invoked by the servlet container to notify an application that no ACK was received for a transaction for which a final response has been sent upstream.

This method is invoked in UASs as well as in applications that proxied a request with record-routing and supervised flags enabled.

Parameters:
ee - the event that identifies the request

noPrackReceived

public void noPrackReceived(SipErrorEvent ee)
Invoked by the servlet container for applications acting as a UAS when no PRACK was received for a previously sent reliable provisional response. It is then up to the application to generate the 5xx response reccommended by RFC 3262 for the INVITE transaction. The original INVITE request as well as the unacknowledged reliable response is available from the SipErrorEvent argument.
Parameters:
ee - the event that identifies the original request and the reliable provisional response


SIP Servlet API 1.0