Start Audio Play¶
Function: START_AUDIO_PLAY
The START_AUDIO_PLAY function plays an audio file through the MCM device's speaker. This function is useful for testing audio output quality, simulating incoming voice calls, or verifying speaker functionality.
Supported on: MCM only. The node's modem must have a sound card fitted.
Parameters¶
| Parameter Name | Description | Example Values | Required | Default Value |
|---|---|---|---|---|
| FILE_NAME | The name of the audio file to play. The file must exist in the mcm-audio-files directory. |
test.wav, ring.wav, voice_sample.wav | Yes |
Explanation of Fields¶
- FILE_NAME: The filename (with extension) of the audio file to play. The file must be pre-uploaded to the
mcm-audio-filesfolder on the agent machine.
Result: the step fails if the file is missing or if audio is already playing. Playback is not stopped automatically; end it with STOP_AUDIO_PLAY.