Click or drag to resize

SubscriptionState Enumeration

Defines states for a SIP event package subscription.

Namespace: Ozeki.VoIP
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.98
Syntax
public enum SubscriptionState
Members
Member nameValueDescription
Initialized0 The subscription object has been initialized, but no SUBSCRIBE request has been sent yet.
Neutral1 Until the first NOTIFY message arrives, the subscriber should consider the state of the subscribed resource to be in a neutral state.
Active2 The subscription has been accepted and authorized.
BadEvent3 The event-type is not supported.
Expired4 The subscription has not been refreshed and it has been expired.
Terminated5 The subscription is no longer active.
Pending6 The subscription has been received, but that policy information is insufficient to accept or deny the subscription at this time.

The SubscriptionState type exposes the following members.

Extension Methods
 NameDescription
Public Extension MethodAsString Returns the textual representation of the given subscription state.
(Defined by SubscriptionStateEx)
Public Extension MethodIsActive Returns a boolean value indicating whether the subscription is in active state (neutral, active, etc.) and notifications can be received.
(Defined by SubscriptionStateEx)
Public Extension MethodIsTerminated Returns a boolean value indicating whether the subscription is no longer active for some reason (terminated, expired, bad event, etc.)
(Defined by SubscriptionStateEx)
Top
See Also