Dialer SDK > Implementation details > Dialing provider API > IDialingProvider > RunAudioOperation
 
RunAudioOperation
Syntax
RunAudioOperation(SampleManagementName As String, StationPropertiesXml As String, Operation As AudioOperation, FileName As String, ExtendedParameters As String) As AudioOperationResultXml
Type
Method
Parameters
SampleManagementName
The name of the sample management DPM object used to access sample management parameters for the project.
StationPropertiesXml
The station properties as XML.
Operation
The audio operation to run; aoPlayAudio, aoStopAudio, aoStartRecording, aoStopRecording, aoPlayDTMF.
FileName
The name of the file to play or record. For DTMF playback, this is a string of DTMF tones to play. The dial pad can send digits 123456789*#.
ExtendedParameters
Extended parameters to pass to the dialer for the audio operation. Reserved for future use.
Return value
AudioOperationResultXml
Description
Depending on the Operation value, start or stop an audio playback, start or stop recording, or play a DTMF string.
It is expected that multiple audio operations are possible at one time. If your dialer does not support multiple audio operations, return aoAlreadyActive and document the limitation in your supplemental documentation.
Remarks
UNICOM Intelligence Interviewer has conventions for file names that are documented in the UNICOM Intelligence Developer Documentation Library and used within the system so it is important that Interviewer Server be able to define the FileName for recording.
See also
IDialingProvider