| Function: |
Dial a number, using the current line. |
|
Form: |
Dial(telNum as string, TimeoutSeconds as long, bAnalyzeRingBacktone as boolean, bTakeUnknownVoicePromptAsCRBT as boolean,bUsePolar as boolean, DigitTellMeConnected as string, DigitsToSendAfterConnected as string, WaveFileToRecordRingbacktone as string,bOfferWaveData as Boolean) | |
| Parameters: |
TelNum as
String If set true, all the unknown voice prompts will be recognized as Color Ring Back Tones. bUsePolar as boolean Determine if judge the call connection by polar. Telephones usually don't have polar feature. DigitTellMeConnected as String Some telephone company's PBX will send a digit to the caller when the call is connected. This can be used to judge the connection. This parameter usually is set an empty string. DigitsToSendAfterConnected as String Some telephone company's PBX will send a digit to the caller when the call is connected and the caller need to send a digit to the PBX immediately. This parameter usually is set an empty string. WaveFileToRecordRingBackTone as String |
|
| Description: |
Use this method to make an outgoing call from your computer. CallStatus event will occur after dialing to track the call status. VoiceAngel offer a waveform analysis process to track the call status after dialing. Voice modems do not offer outgoing call status reports. Analog voice boards themself offer call status reports, but they give CONNECTED message whenever it met a CRBT(Color Ring Back Tone) or a voice prompt like "The subscriber you dialed is busy now...". VoiceAngel overcomes the shortcoming to offer accurate status events. |
|
| Dependencies: |
None |
|
| Events Raised: |
CallStatus |
|
Sample Code In Visual Basic
The following code makes a call to telephone number 05186211691 with the first line.
Sub cmdDial_Click()
VoiceAngel1.CurrentLineIndex = 0
VoiceAngel1.dial "05186211691",40, true,false,false,"","","",false
End sub