Version

TransactionState

Each transaction can be in one of several states that dictate the transaction's current capabilities and actions in response to different messages. These states are managed internally by the SIP stack and include:

 

_CALLING

The initial state after sending a request.

public static final int _CALLING = 0;

This constant value indicates the internal value of the "Calling" state.

CALLING

public static final TransactionState CALLING = new TransactionState(_CALLING);

This constant represents the transaction state "Calling".

 

_TRYING

State after the client has received a provisional response.

public static final int _TRYING = 1;

This constant value indicates the internal value of the "Trying" state.

TRYING

public static final TransactionState TRYING = new TransactionState(_TRYING);

This constant represents the transaction state "Trying".

 

_PROCEEDING

When the transaction has received at least one provisional response.

public static final int _PROCEEDING = 2;

This constant value indicates the internal value of the "Proceeding" state.

PROCEEDING

public static final TransactionState PROCEEDING = new TransactionState(_PROCEEDING);

This constant represents the transaction state "Proceeding".

 

_COMPLETED

After receiving a final response to a non-INVITE request or an INVITE request has been acknowledged.

public static final int _COMPLETED = 3;

This constant value indicates the internal value of the "Completed" state.

COMPLETED

public static final TransactionState COMPLETED = new TransactionState(_COMPLETED);

This constant represents the transaction state "Completed".

 

_CONFIRMED

This state is only used for INVITE requests and begins when an ACK is received. It lasts until the transaction times out.

public static final int _CONFIRMED = 4;

This constant value indicates the internal value of the "Confirmed" state.

CONFIRMED

public static final TransactionState CONFIRMED = new TransactionState(_CONFIRMED);

This constant represents the transaction state "Confirmed".

 

_TERMINATED

The final state where the transaction is no longer active.

public static final int _TERMINATED = 5;

This constant value indicates the internal value of the "Terminated" state.

TERMINATED

public static final TransactionState TERMINATED = new TransactionState(_TERMINATED);

This constant represents the transaction state "Terminated".

Start innovating with Mobius

What's next? Let's talk!

Mobius Software

As a company you'll get:

  • Get started quickly

  • Support any business model

  • Join millions of businesses

Questions? websupport@mobius.com