cdiStopTones

Stops tone transmission.

Prototype

DWORD cdiStopTones ( CTAHD ctahd)

Argument

Description

ctahd

Context handle.


Return values

Return value

Description

SUCCESS

 

CTAERR_FUNCTION_NOT_ACTIVE

Tone transmission 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 cdiStopTones to stop transmission of a tone to a station (started using cdiStartTones).

If the board is running in enhanced mode, the DSP automatically stops tone transmission at a station when the station is placed on-hook or a DTMF is detected. In this case, cdiStartTones returns CTAERR_FUNCTION_NOT_ACTIVE.

Refer to Transmitting tones for more information.