Record() — Records channel audio to a file
options]) (in Asterisk 1.0.x) Record(
options]) (in Asterisk 1.2.x)
Records audio from the channel into the given
filename. If the file already exists, it
will be overwritten.
Optional arguments include:
Specifies the format of the file type to be recorded.
Valid formats include:
Specifies the number of seconds of silence to allow before returning.
Specifies the maximum recording duration, in seconds. If
0, there is no
May contain any of the following letters:
Skip recording if the line is not yet answered.
Do not answer, but record anyway if the line is not yet answered.
Append the recording to the existing recording rather than replacing it.
Use the alternate
terminator key instead of the default
If the filename contains
these characters will be replaced with a number incremented by one
each time the file is recorded.
The user can press
terminate the recording and continue to the next priority.
-1 when the user
; record the caller's name exten => 123,1,Playback(pls-rcrd-name-at-tone) exten => 123,2,Record(/tmp/name:gsm,3,30) exten => 123,3,Playback(/tmp/name)