Record Audio¶
These Steps and Step Details start and stop the Audio Recorder capability. Audio recordings can then be accessed as Execution Context Objects or Call Properties.
Whenever a recording is required on a given phone, intaQt looks up the IP address of the Raspberry Pi that is connected to the phone in the AndroidDevices
configuration. intaQt connects to the Audio Service on the configured URL (audioServiceURL
) to start, stop and eventually retrieve the recording. The recording is provided as a single channel (mono), 8-bit unsigned *.wav
file with an 8 kHz sample rate and is included as an attachment in the Reports Folder. This uncompressed, low-quality audio format is sufficient for speech channel recordings.
The recordings can be later used with:
-
Speech Channel Monitoring, which analyzes speech channel quality.
-
Audio Matching, which compares the degree of similarity between a given audio recording and the reference files.
These Steps and Step Details are members optional, which means that they can be overwritten by Custom Implementations.
Important! intaQt Audio Service only supports *.wav
files with 8-bit unsigned, mono, 8kHz sample rate.
Audio Recording Steps and Compound Step Details |
---|
Audio Recording Steps |
Start Audio Recording |
Stop Audio Recording |
Audio Recording Step Details |
Audio Recording Steps ¶
Start Audio Recording ¶
This Step starts the audio recording.
Syntax
1 | start audio recording on <recorder Identifier> |
Parameter
- recorder - The identifier for the phone performing the audio recording actions
Example
1 | And start audio recording on A |
Stop Audio Recording¶
This Step stops the audio recording. It may be deferred
, which ensures the recording will always be saved.
Syntax
1 | stop audio recording on <recorder Identifier> and save as <recordingName Identifier> |
Parameters
-
recorder - The identifier for the phone performing the audio recording actions
-
recordingName - The user-defined name of the recording
Example
1 2 | And start audio recording on A And after 5 seconds, stop audio recording on A and save as MYREC |
These steps are eligible for:
- Deferred
Audio Recording Step Details ¶
Audio Recording Step Details enable the recording of a voice call, or a portion of it. These Step Details must be nested within a Voice Call Compound Step.
Syntax
1 2 3 4 5 6 7 8 9 10 | // The caller records the entire call from when it starts dialing //until the call disconnects * caller records audio from dial to disconnect // The caller records the ringback tone * caller records audio from dial to connect // The caller records the call itself, but not the ringback tone * caller records audio from connect to disconnect // The callee records the incoming call * callee records audio from connect to disconnect |