<recordCall limit name action>
recordCall initiates recording of the call. The file will be posted when the call ends. It has the following attributes:
- limit: Timeout in seconds.
- name: If this starts with http:// then it must specify the URL where FreeSWITCH will PUT the file. Your web server must be set up to handle a PUT request in order to use it this way. If omitted, FreeSWITCH will record to a temporary directory.
Example:
<document type="text/freeswitch-httapi"> <work> <recordCall action="http://localhost/newurl.php" temp-action="http://localhost/newtempurl.php" name="http://localhost/newfile.wav" limit="60"/> </work> </document>
The recordCall action is analogous to the record Dialplan application.