The following table lists which NCC API calls can be made from each of the states of the line state machine.
Note: Functions marked by an asterisk can be performed in the idle line state on a call that is held, if supported by the service implementation and protocol. The NCC_CAP_HOLD_IN_ANY_STATE indicator in the capabilitymask returned by nccQueryCapability indicates if the protocol allows calls to be held or retrieved from any state.
|
NCC function |
Line state |
||||
|---|---|---|---|---|---|
|
Active |
Blocking |
Idle |
Out of service |
Uninitialized |
|
|
nccAcceptCall (*) |
X |
|
X |
|
|
|
nccAnswerCall (*) |
X |
|
X |
|
|
|
X |
|
|
|
|
|
|
X |
|
X |
X |
|
|
|
X |
|
X |
|
|
|
|
X |
|
X |
|
|
|
|
X |
|
X |
|
|
|
|
X |
X |
X |
X |
X |
|
|
X |
|
|
|
|
|
|
X |
|
X |
|
|
|
|
X |
X |
X |
X |
|
|
|
nccRejectCall (*) |
X |
|
X |
|
|
|
X |
X |
X |
X |
|
|
|
X |
|
X |
|
|
|
|
X |
|
X |
|
|
|
|
nccSendDigits (*) |
X |
|
X |
|
|
|
X |
X |
X |
X |
|
|
|
nccSetBilling (*) |
X |
|
X |
|
|
|
|
|
|
|
X |
|
|
X |
X |
X |
X |
|
|
|
X |
|
|
|
|
|
|
X |
X |
X |
X |
|
|
The following table lists the functions that are not supported by some protocols and the name of the bit in the capabilitymask returned by nccQueryCapability that indicates if the function is supported.
|
NCC function |
Capability mask |
|---|---|
|
NCC_CAP_ACCEPT_CALL |
|
|
NCC_CAP_AUTOMATIC_TRANSFER |
|
|
NCC_CAP_EXTENDED_CALL_STATUS |
|
|
NCC_CAP_HOLD_CALL |
|
|
NCC_CAP_HOLD_CALL |
|
|
NCC_CAP_SEND_CALL_MESSAGE |
|
|
NCC_CAP_OVERLAPPED_SENDING |
|
|
NCC_CAP_SEND_LINE_MESSAGE |
|
|
NCC_CAP_SET_BILLING |
|
|
NCC_CAP_SUPERVISED_TRANSFER or NCC_CAP_TWOCHANNEL_TRANSFER |
For more information, refer to Protocol capabilities.