Prosody speech processing: API: sm_play_cptone_abort

Prototype Definition

int sm_play_cptone_abort(tSMChannelId channel)

Parameters

channel
The channel which is playing a call-progress tone.

Description

This call enables an application to abort a previously initiated call-progress tone generation job on the specified channel (as long as the wait_for_completion flag was not used in the previous call to sm_play_cptone()). The channel will revert to outputting silence.

Returns

0 if call completed successfully, otherwise a standard error such as:


This function is part of the Prosody speech processing API.