Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
stasis_app_recording_options Struct Reference

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
int beep:1
 
const ast_string_field format
 
enum ast_record_if_exists if_exists
 
int max_duration_seconds
 
int max_silence_seconds
 
const ast_string_field name
 
const ast_string_field target
 
char terminate_on
 

Detailed Description

Definition at line 176 of file stasis_app_recording.h.

Field Documentation

int beep

If true, a beep is played at the start of recording

Definition at line 194 of file stasis_app_recording.h.

const ast_string_field format

Format to be recorded (wav, gsm, etc.)

Definition at line 181 of file stasis_app_recording.h.

Referenced by stasis_app_control_record(), and stasis_app_recording_to_json().

enum ast_record_if_exists if_exists

How to handle recording when a file already exists

Definition at line 192 of file stasis_app_recording.h.

Referenced by stasis_app_control_record().

int max_duration_seconds

Maximum recording duration. 0 for no maximum.

Definition at line 185 of file stasis_app_recording.h.

Referenced by stasis_app_control_record().

int max_silence_seconds

Number of seconds of silence before ending the recording.

Definition at line 183 of file stasis_app_recording.h.

Referenced by stasis_app_control_record().

const ast_string_field name
const ast_string_field target

URI of what is being recorded

Definition at line 181 of file stasis_app_recording.h.

Referenced by stasis_app_recording_to_json().

char terminate_on

Which DTMF to use to terminate the recording STASIS_APP_RECORDING_TERMINATE_NONE to terminate only on hangup STASIS_APP_RECORDING_TERMINATE_ANY to terminate on any DTMF

Definition at line 190 of file stasis_app_recording.h.


The documentation for this struct was generated from the following file: