The following table alphabetically lists errors that can occur as a direct result of an NCC API function call. All errors are 32 bits.
|
Error name |
Hex |
Decimal |
Description |
|---|---|---|---|
|
CTAERR_BAD_ARGUMENT |
0x7 |
7 |
A function argument had an invalid value, or a required pointer argument was NULL. Check all arguments for valid types and ranges. |
|
CTAERR_BAD_SIZE |
0xB |
11 |
A size argument was too small to receive a data structure, or a play or record buffer was not a multiple of the frame size for the specified encoding. Check all arguments for valid sizes. |
|
CTAERR_BOARD_ERROR |
0x3 |
3 |
An error occurred on the board when the application attempted to start a protocol. If you configured the echo canceller, verify that the DSP file was downloaded to the board. |
|
CTAERR_INVALID_CTAHD |
0x5 |
5 |
An invalid context handle was passed as an argument to a function, or the context was destroyed by another thread. |
|
CTAERR_INVALID_HANDLE |
0x20 |
32 |
An invalid handle was passed as an argument to this function. |
|
CTAERR_INVALID_STATE |
0xC |
12 |
This function is not valid in the current line state. |
|
CTAERR_SVR_COMM |
0x41 |
65 |
Server communication error. |
|
NCCERR_ADDRESS_BLOCKED |
0x001C0003 |
1835011 |
Too many calls placed to this address, or a call was placed too recently. |
|
NCCERR_INVALID_CALL_STATE |
0x001C0002 |
1835010 |
This function is not valid in the current call state. |
|
NCCERR_NO_CALLID |
0x001C0004 |
1835012 |
Call handles are not on the same line (supervised transfer), or no call identifier exists (two channel transfer). |
|
NCCERR_NOT_CAPABLE |
0x001C0001 |
1835009 |
A function or parameter is not supported by the current protocol. nccQueryCapability can be used to determine features supported by the protocol. |