# cdiStopDTMFDetector

Disables the DTMF detector.

#### Prototype

DWORD cdiStopDTMFDetector ( CTAHD ctahd)

Argument | Description
ctahd | Context handle.

#### Return values

Return value | Description
SUCCESS |
CTAERR_FUNCTION_NOT_ACTIVE | DTMF detector was already stopped, either by a previous invocation of this function or automatically by the DSP.
CTAERR_INVALID_CTAHD | Handle is invalid.

#### Details

If a board is not running in enhanced mode, use cdiStopDTMFDetector to stop DTMF detection (started using cdiStartDTMFDetector).

If the board is running in enhanced mode, the DSP automatically stops DTMF detection for a station when the station is placed on-hook (CDIEVN_ON_HOOK is returned). In this case, cdiStopDTMFDetector returns CTAERR_FUNCTION_NOT_ACTIVE.

Refer to Detecting DTMF tones for more information.