Stops reading a pre-recorded message (
tapiPlay).
PROCEDURE CallDetection(nServiceID, nCallID, nStatus)
// Picks up the line to answer a call
tapiAnswerCall(nCallID)
// Trigger the answerphone
tapiPlay("answerphone.wav", tapiPlayLock, nCallID)
// If the star key was pressed
// the answerphone is stopped
IF Position(tapiKeyPressed(nCallID), "*") = 1 THEN
tapiStop(nCallID)
END
Syntax
tapiStop([<Call identifier>])
<Call identifier>: Optional integer
Identifier of the call to be handled. This identifier is defined in the WLanguage procedure called by tapiListen. The current call is handled if this parameter is not specified.
Remarks
Required configuration
Telephony functions use TAPI 2.0 technology and/or TAPI 3.1 technology. These technologies can be used on all systems.