Asterisk - The Open Source Telephony Project GIT-master-2de1a68
Data Fields
stasis_app_recording_options Struct Reference

#include <stasis_app_recording.h>

Collaboration diagram for stasis_app_recording_options:
Collaboration graph
[legend]

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

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 181 of file stasis_app_recording.h.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

< name Name of the recording.

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

< URI of what is being recorded

Definition at line 181 of file stasis_app_recording.h.

◆ beep

int beep

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

Definition at line 194 of file stasis_app_recording.h.

Referenced by record_file().

◆ format

const ast_string_field format

◆ if_exists

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 record_file(), and stasis_app_control_record().

◆ max_duration_seconds

int max_duration_seconds

Maximum recording duration. 0 for no maximum.

Definition at line 185 of file stasis_app_recording.h.

Referenced by record_file().

◆ max_silence_seconds

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 record_file().

◆ name

const ast_string_field name

◆ target

const ast_string_field target

Definition at line 181 of file stasis_app_recording.h.

Referenced by stasis_app_recording_to_json().

◆ terminate_on

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.

Referenced by record_file().


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