Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
The data communicated between the high level applications and the generic fax function. More...
#include <res_fax.h>
The data communicated between the high level applications and the generic fax function.
struct ast_string_field_mgr __field_mgr |
struct ast_string_field_pool* __field_mgr_pool |
resolution negotiated during the fax session. This is stored in the FAXRESOLUTION channel variable when the fax session completes
transfer rate negotiated during the fax session. This is stored in the FAXBITRATE channel variable when the fax session completes
local station identification. This is set from the LOCALSTATIONID channel variable before the fax session starts
remote station identification. This is stored in the REMOTESTATIONID channel variable after the fax session completes
headerinfo variable is set from the LOCALHEADERINFO channel variable before the fax session starts
the result of the fax session
a more descriptive result string of the fax session
the error reason of the fax session
uint32_t allow_audio |
allow audio mode FAX on T.38-capable channels
Definition at line 157 of file res_fax.h.
Referenced by receivefax_t38_init(), and sendfax_t38_init().
enum ast_fax_capabilities caps |
fax session capability requirements. The caps field is used to select the proper fax technology module before the session starts
Definition at line 113 of file res_fax.h.
Referenced by ast_fax_session_operation_str(), destroy_session(), fax_gateway_new(), fax_session_new(), fax_session_reserve(), fax_session_type(), fax_v21_session_new(), generic_fax_exec(), receivefax_t38_init(), report_fax_status(), sendfax_t38_init(), set_fax_t38_caps(), set_file(), spandsp_fax_cancel(), spandsp_fax_cli_show_session(), spandsp_fax_destroy(), spandsp_fax_new(), spandsp_fax_start(), spandsp_fax_write(), t30_phase_e_handler(), and t38_tx_packet_handler().
uint32_t debug |
flag to send debug manager events
Definition at line 151 of file res_fax.h.
Referenced by fax_gateway_attach(), fax_session_new(), and set_logging().
struct ast_fax_documents documents |
document(s) to be sent/received
Definition at line 119 of file res_fax.h.
Referenced by acf_faxopt_read(), generate_filenames_json(), generate_filenames_string(), and set_file().
uint32_t ecm |
flag indicating the use of Error Correction Mode (ECM)
Definition at line 153 of file res_fax.h.
Referenced by acf_faxopt_read(), acf_faxopt_write(), set_ecm(), spandsp_fax_gateway_cleanup(), and spandsp_fax_gateway_start().
const ast_string_field error |
Definition at line 142 of file res_fax.h.
Referenced by acf_faxopt_read(), and set_channel_variables().
int faxdetect_flags |
flags used for fax detection
Definition at line 189 of file res_fax.h.
Referenced by fax_detect_attach(), and fixup_callback().
int faxdetect_id |
the id of the faxdetect framehook for this channel
Definition at line 185 of file res_fax.h.
Referenced by acf_faxopt_read(), acf_faxopt_write(), fax_detect_attach(), fax_detect_framehook(), and fixup_callback().
int faxdetect_timeout |
The timeout for this fax detect in ms
Definition at line 187 of file res_fax.h.
Referenced by fax_detect_attach(), fax_detect_framehook(), and fixup_callback().
int gateway_id |
the id of the t.38 gateway framehook for this channel
Definition at line 181 of file res_fax.h.
Referenced by acf_faxopt_read(), acf_faxopt_write(), fax_gateway_detect_t38(), and fixup_callback().
int gateway_timeout |
The timeout for this gateway in ms
Definition at line 183 of file res_fax.h.
Referenced by acf_faxopt_write(), fax_gateway_detect_t38(), fax_gateway_new(), and fax_gateway_request_t38().
const ast_string_field headerinfo |
Definition at line 142 of file res_fax.h.
Referenced by acf_faxopt_read(), acf_faxopt_write(), generic_fax_exec(), and set_local_info().
unsigned int id |
session id
Definition at line 117 of file res_fax.h.
Referenced by Section::__cmp__(), Section::__eq__(), Section::__ge__(), Section::__gt__(), Section::__le__(), Section::__lt__(), acf_faxopt_read(), fax_session_new(), and Model::load().
int is_t38_negotiated |
Non-zero if T.38 is negotiated
Definition at line 191 of file res_fax.h.
Referenced by fax_gateway_attach(), fax_gateway_detect_t38(), fax_gateway_request_t38(), fax_gateway_start(), fixup_callback(), generic_fax_exec(), and set_channel_variables().
const ast_string_field localstationid |
Definition at line 142 of file res_fax.h.
Referenced by acf_faxopt_read(), acf_faxopt_write(), generic_fax_exec(), report_fax_status(), set_channel_variables(), and set_local_info().
unsigned int maxrate |
override the maximum transmission rate with a channel varialbe
Definition at line 173 of file res_fax.h.
Referenced by acf_faxopt_read(), and acf_faxopt_write().
unsigned int minrate |
override the minimum transmission rate with a channel variable
Definition at line 171 of file res_fax.h.
Referenced by acf_faxopt_read(), and acf_faxopt_write().
enum ast_fax_modems modems |
modem requirement for the session
Definition at line 115 of file res_fax.h.
Referenced by acf_faxopt_read(), acf_faxopt_write(), and spandsp_modems().
int negotiate_both |
Upon v21 detection the gateway sends negotiation requests to both T.38 endpoints, and do not wait on the "other" side to initiate
Definition at line 194 of file res_fax.h.
Referenced by acf_faxopt_read(), acf_faxopt_write(), and fax_gateway_detect_v21().
union { ... } option |
session details flags for options
Referenced by acf_faxopt_read(), acf_faxopt_write(), fax_gateway_attach(), fax_gateway_detect_v21(), fax_session_new(), receivefax_t38_init(), report_fax_status(), sendfax_t38_init(), set_ecm(), set_logging(), spandsp_fax_gateway_cleanup(), spandsp_fax_gateway_start(), spandsp_fax_switch_to_t38(), and spandsp_v21_detect().
struct ast_fax_t38_parameters our_t38_parameters |
our T.38 session parameters, if any
Definition at line 175 of file res_fax.h.
Referenced by fax_gateway_detect_t38(), fax_gateway_request_t38(), find_or_create_details(), generic_fax_exec(), receivefax_t38_init(), sendfax_t38_init(), and spandsp_fax_gateway_start().
unsigned int pages_transferred |
the number of pages sent/received during a fax session
Definition at line 144 of file res_fax.h.
Referenced by acf_faxopt_read(), set_channel_variables(), spandsp_fax_gateway_cleanup(), and t30_phase_e_handler().
const ast_string_field remotestationid |
Definition at line 142 of file res_fax.h.
Referenced by acf_faxopt_read(), and set_channel_variables().
uint32_t request_t38 |
const ast_string_field resolution |
Definition at line 142 of file res_fax.h.
Referenced by acf_faxopt_read(), and set_channel_variables().
const ast_string_field result |
Definition at line 142 of file res_fax.h.
Referenced by acf_faxopt_read(), generic_fax_exec(), set_channel_variables(), and t30_phase_e_handler().
const ast_string_field resultstr |
Definition at line 142 of file res_fax.h.
Referenced by acf_faxopt_read(), fax_gateway_detect_t38(), set_channel_variables(), and t30_phase_e_handler().
uint32_t send_ced |
uint32_t send_cng |
uint32_t statusevents |
flag indicating the sending of status manager events
Definition at line 155 of file res_fax.h.
Referenced by report_fax_status().
uint32_t switch_to_t38 |
indicating the session switched to T38
Definition at line 159 of file res_fax.h.
Referenced by spandsp_fax_switch_to_t38().
unsigned int t38timeout |
T.38 negotiation in ms
Definition at line 179 of file res_fax.h.
Referenced by acf_faxopt_read(), acf_faxopt_write(), and receivefax_t38_init().
struct ast_fax_t38_parameters their_t38_parameters |
the other endpoint's T.38 session parameters, if any
Definition at line 177 of file res_fax.h.
Referenced by fax_gateway_detect_t38(), find_or_create_details(), generic_fax_exec(), receivefax_t38_init(), sendfax_t38_init(), spandsp_fax_gateway_start(), and spandsp_fax_start().
const ast_string_field transfer_rate |
Definition at line 142 of file res_fax.h.
Referenced by acf_faxopt_read(), and set_channel_variables().
uint32_t v21_detected |
a V.21 preamble was detected
Definition at line 167 of file res_fax.h.
Referenced by fax_gateway_detect_v21(), and spandsp_v21_detect().