| Function: |
Train a voice prompt like "The subscriber yo dialed is busy now..." so that voiceangel can recognize it later. |
|
Form: |
VoicePromptTrain(telNum as string, WaveFileToRecordRingbacktone as string) | |
| Parameters: |
TelNum as
String |
|
| Description: |
A CALLSTATUS_VOICE_PROMPT_TRAINED will occurs in CallStatus event when a voiceprompt has been recognized. VoicePromptID, VoicePromptDescription and the feature of the voice prompt will be write into knowledge.inf. Later when dial method called, it will recognize the same voice prompt. |
|
| Dependencies: |
None |
|
| Events Raised: |
CALLSTATUS_VOICE_PROMPT_TRAINED message in CallStatus event |
|
Sample Code In Visual Basic
The following code makes a call to telephone number : 0518 6211691
Sub cmdVoicePromptTrain_Click()
VoiceAngel1.CurrentLineIndex = 0
VoiceAngel1.voicePromptTrain "05186211691", 1,"CDMA Busy Prompt", "d:\cdmabusy.wav"
End sub