|Top Previous Next|
This function will play a pre-recorded voice message over the cellular module on the device. This functionality is useful for implementing voice/response systems in combination with the DTMF API.
The voice system has an queue of messages. When a new message is to be played, it is placed in this queue. The maximum number of voice messages in the queue is 32.
If the specified message does not exist, a default "beep" message will be played.
On NX32L devices (from firmware R1.30.00) it is possible to play voice messages from locations other than the project drive.
The full path to the voice file is required. For example: "B:\voice\message.wav".
* Requires runtime-firmware 1.80.00 or newer.
message : STRING
The name of the wav file to play.
pause : INT (0..25000) Default 150
0..25000 : The number of milliseconds to wait after this message is finished, before the next message starts.