record records audio from the caller. Recorded audio files are temporarily stored on the server while this API executes.
This specifies the character to be used for terminating the recording. By default, ‘#’ character is used for terminating it.
This specifies the amount of time that the caller can remain silent while the recording is being executed before VoicePHP decides that the caller has finished recording the message. By default, this is disabled.
This specifies the maximum amount of time in seconds that VoicePHP will schedule the recording for. After the expiration of maxDuration, recording will stop automatically. By default, there is no duration set.
If successful, it returns the string with location of recorded file.
On Failure, it returns empty string.