VoiceResource Methods |
The VoiceResource type exposes the following members.
Name | Description | |
---|---|---|
BeepDetectionRestart |
Restarts the Beep Detector. This feature greatly improve call progress accuracy.
| |
BeepDetectionStart |
Starts the Beep Detector. This feature greatly improves call progress accuracy.
| |
BeepDetectionStop |
Stops the Beep Detector. This feature greatly improves call progress accuracy.
| |
Dispose |
This method forces a dispose of the Voice Resource object.
(Overrides ClientObject.Dispose(Boolean).) | |
GetDigits |
Waits for a user input as Digit(s) using all current settings for the Voice Resource, and therefore has no parameters.
| |
GetDigits(Int32, Int32, String) |
Waits for a user input as Digit(s) specifying three current settings for the Voice Resource: Maximum Digits, Maximum Time and Termination Digit.
| |
GetDigits(Int32, Int32, String, Int32) |
Waits for a user input as Digit(s) specifying four settings for the Voice Resource: Maximum Digits, Maximum Time, Termination Digit and Inter Digit Timeout.
| |
GetDigits(Int32, Int32, String, Int32, Boolean) |
Waits for a user input as Digit(s) specifying all settings for the Voice Resource: Maximum Digits, Maximum Time, Termination Digit, Inter Digit Timeout and Clear Digit Buffer Flag.
| |
GetResponse |
Waits for a user response as Digit(s) or Speech using all current settings for the Voice Resource, and therefore has no parameters.
| |
GetResponse(Int32, Int32, String) |
Waits for a user response as Digit(s) or Speech specifying three current settings for the Voice Resource: Maximum Digits, Maximum Time and Termination Digit.
| |
GetResponse(Int32, Int32, String, Int32) |
Waits for a user response as Digit(s) or Speech specifying four settings for the Voice Resource: Maximum Digits, Maximum Time, Termination Digit and Inter Digit Timeout.
| |
GetResponse(Int32, Int32, String, Int32, Boolean) |
Waits for a user response as Digit(s) or Speech specifying all settings for the Voice Resource: Maximum Digits, Maximum Time, Termination Digit, Inter Digit Timeout and Clear Digit Buffer Flag.
| |
GetSilence |
Waits for a specified period of silence before returning to your code. This is useful when waiting for an answering machine to finish playing it's greeting.
| |
GetToneDigit |
Gets the first occurance of any registered tone that has been triggered and is in the digit buffer. If no tones have been triggered, this function returns -1.
| |
IcecastStream | ||
IsToneComplete |
Returns 1 if the specified Tone is Off. Otherwise a 0. This function also returns -1 if the tone is not found.
| |
Play(Byte) |
Plays the specified byte array of audio using the current Audio Codec of the Voice Resource.
| |
Play(String) |
Plays the specified file path and name.
| |
Play(String) |
Plays a sequence of files, provided each file plays to completion.
| |
PlayDate | ||
PlayNumber |
Plays the specified string as a number using the specified Format Spoken and the voice resource's VAP file.
| |
PlayTone(Int32, Int32, Int32) |
Plays a single tone at the desired frequency and amplitude for the requested duration.
| |
PlayTone(Int32, Int32, Int32, Int32, Int32) |
Plays two mixed tones at the two specified frequencies and amplitudes for the requested duration.
| |
PlayTouchTones |
Plays DTMF or touch tones corresponding to the string specified.
| |
PlayTTS(String) |
Plays the text specified using the Text-To-Speech engine using the default voice.
| |
PlayTTS(String, String) |
Plays the text specified using the Text-To-Speech engine and using the voice selected.
| |
PlayVap(Int32) |
Plays a single segment of the current VAP File.
| |
PlayVap(Int32) |
Plays an array of segments of the current VAP File.
| |
PlayVap(String) |
Plays a single segment of the current VAP File using the Vap Map entry specified.
| |
PlayVap(String) |
Plays multiple segments of the current VAP File using the VapMap entries specified.
| |
Record(String) |
Records audio on the Voice Resource to the given file name and path.
| |
Record(Int32, Byte) |
Records to a memory buffer.
| |
RecordAndFollowConversation(String, RoutableResource) |
Follows a resource's route and records both the resource and what it is routed to.
| |
RecordAndFollowConversation(Int32, Byte, RoutableResource) |
Follows a resource's route and records both the resource and what it is routed to.
| |
RecordConversation(String, RoutableResource, RoutableResource) |
Records two routable resources, summing them together into the same file. You can specify channels and/or a voice resources.
| |
RecordConversation(Int32, Byte, RoutableResource, RoutableResource) |
Records two routable resources, summing them together into a buffer. You can specify channels and/or a voice resources.
| |
RecordConverstation(String, RoutableResource, RoutableResource) | Obsolete.
Records two Routable Resources, summing their audio together into the designated file. You can specify Channels and/or Voice Resources.
| |
RecordConverstation(Int32, Byte, RoutableResource, RoutableResource) | Obsolete.
Records two Routable Resources, summing their audio together into a buffer. You can specify Channels and/or Voice Resources.
| |
RouteFull(TelephonyLinkInfo) |
This overload is for Voice Elements Internal Use Only! To correctly route, use the
Full Route Method.
(Inherited from RoutableResource.) | |
RouteFull(RoutableResource) |
Completes a full route between two Routable Resources. Both channels then listen to each other.
(Inherited from RoutableResource.) | |
RouteHalf(TelephonyLinkInfo) | This overload is for Voice Elements Internal Use Only! To correctly route, use the
Half Route Method. (Inherited from RoutableResource.) | |
RouteHalf(RoutableResource) |
Completes a half route between two Routable Resources. The channel calling this method listens to the one in the parameter, the second cannot hear.
(Inherited from RoutableResource.) | |
SetConferenceAGCLevels |
Sets the levels for the AGC in conferencing. If all values are set to negatives, then the system wide AGC applies.
(Inherited from RoutableResource.) | |
SetConferenceECTailDelay |
Sets the Echo Tail Delay in conferencing.
(Inherited from RoutableResource.) | |
SetConferenceFEGLevel |
Sets the front end gain in conferencing. If set to 0, front end gain is turned off.
(Inherited from RoutableResource.) | |
SetMonitorStream | ||
Stop | ||
StopAllListeners |
Forces all Routable Resources currently listening to this resource to stop.
(Inherited from RoutableResource.) | |
StopListener |
Forces a apecific Routable Resource currently listening to this resource to stop.
(Inherited from RoutableResource.) | |
StopListening |
Forces this resource to stop listening to all Routable Resources.
(Inherited from RoutableResource.) | |
TddDetectionStart |
Starts the detection of a TDD device for the hearing impaired.
| |
TddDetectionStop |
Starts the detection of a TDD device for the hearing impaired.
| |
TerminationCodeFlag |
A Termination Code flag indicating how the last voice function (i.e. Play) ended. Typically, you will use this to determine what to do next.
| |
WipeDigitBuffer |
Forcibly clears all digits in the buffer from previous inputs. This is useful to ensure the buffer is clean before doing a Get Response
or Get Digits.
|