# NCCEVN_START_PROTOCOL_DONE

The application attempted to start a protocol on a context (line handle).

#### State transition

(If successful) to idle line state, from uninitialized state.

#### Associated function

nccStartProtocol

#### Fields

Field | Description
ctahd | Line handle.

#### Reason codes

Reason code | Description
CTA_REASON_FINISHED | Protocol started successfully. The line state changes from uninitialized to idle.
NCCREASON_OUT_OF_RESOURCES | Protocol was not started because the mediamask parameter was not set correctly. The line remains in an uninitialized state. (See your hardware documentation for details.)
NCCREASON_WRONG_CC_MODE | Protocol was not started because an invalid call control function (such as adiStartProtocol) was invoked to start the protocol. Use nccStartProtocol to start a protocol on a context if the NCC API has been opened on that context.

#### Details

NCCEVN_START_PROTOCOL_DONE acknowledges a protocol startup attempt. The event value field indicates whether the attempt was successful or not.

The event value field can also contain the error code CTAERR_BOARD_ERROR, indicating that 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.