SipApplicationRoutingRegionType
The SipApplicationRoutingRegionType enum defines the possible routing regions used during the application selection process. These regions categorize applications based on their role in handling SIP requests and responses, ensuring proper routing behavior for originating, terminating, or neutral scenarios.
Enum Constants:
ORIGINATING
public static final SipApplicationRoutingRegionType ORIGINATING
The ORIGINATING region type is used for applications that service the caller. This type applies to the source of the SIP request, typically for handling outgoing calls or requests initiated by the user.
TERMINATING
public static final SipApplicationRoutingRegionType TERMINATING
The TERMINATING region type is used for applications that service the callee. This type applies to the destination of the SIP request, typically for handling incoming calls or requests directed toward the user.
NEUTRAL
public static final SipApplicationRoutingRegionType NEUTRAL
The NEUTRAL region type is used for applications that are not specific to the caller or callee. This type applies to system-wide services or tasks that do not involve specific subscribers.
Methods:
values
public static final SipApplicationRoutingRegionType[] values()
The method returns an array containing all constants of the SipApplicationRoutingRegionType enum in the order they are declared. This method is useful for iterating over all possible region types or generating lists dynamically.
Returns:
An array containing all constants of the enum in the order they are declared.
valueOf
public static SipApplicationRoutingRegionType valueOf(java.lang.String name)
The method converts a string into the corresponding SipApplicationRoutingRegionType enum constant. The name parameter must exactly match the name of one of the enum constants.
Parameters:
name: The name of the enum constant to retrieve. It must match exactly.
Returns:
The enum constant corresponding to the specified name.
Exceptions:
IllegalArgumentException: Thrown if no constant with the specified name exists in the enum.
NullPointerException: Thrown if the name parameter is null.
Methods inherited from class java.lang.Enum:
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf.
Methods inherited from class java.lang.Object:
finalize, getClass, notify, notifyAll, wait, wait, wait.
These methods are not overridden in this implementation.
Start innovating with Mobius
What's next? Let's talk!