public record ( string $file, string $format, string $escapeDigits, integer $maxRecordTime, integer $silence = false ) : PAGI\Client\Result\RecordResult | ||
$file | string | Target file, without the .wav (or extension chosen). |
$format | string | Format (wav, mp3, etc). |
$escapeDigits | string | Optional sequence of digits that can be used to skip the sound. |
$maxRecordTime | integer | Maximum record time (optional). |
$silence | integer | Maximum time of silence allowed (optional) |
return | PAGI\Client\Result\RecordResult |