The following table lists the line states. One or more transitional events associated with each state indicate transition into the state. An application can use nccGetLineStatus to determine the state of a line:
|
A line enters this state... |
In this way... |
|---|---|
|
Active |
|
|
Blocking |
NCCEVN_CALLS_BLOCKED event, which is solicited by nccBlockCalls. |
|
Idle |
|
|
Out of service |
NCCEVN_LINE_OUT_OF_SERVICE event, which is an unsolicited event. |
|
Uninitialized |
|
If all calls on a line are held or in disconnected call state so that all calls are inactive, the line state changes to idle. If a held call is retrieved or a new call comes in or is placed, the line state returns to active.
The following illustration shows the line states, and events indicating transitions between them:
