| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 
The data required to handle a fax session. More...
#include <res_fax.h>

| Data Fields | |
| struct ast_channel * | chan | 
| char * | chan_uniqueid | 
| char * | channame | 
| struct ast_fax_debug_info * | debug_info | 
| struct ast_fax_session_details * | details | 
| int | fd | 
| unsigned long | frames_received | 
| unsigned long | frames_sent | 
| unsigned int | id | 
| struct ast_smoother * | smoother | 
| enum ast_fax_state | state | 
| const struct ast_fax_tech * | tech | 
| void * | tech_pvt | 
| struct ast_channel* chan | 
Asterisk channel using the fax session
Definition at line 224 of file res_fax.h.
Referenced by fax_gateway_detect_v21(), fax_gateway_start(), fax_session_new(), fax_v21_session_new(), spandsp_fax_gateway_start(), and t38_tx_packet_handler().
| char* chan_uniqueid | 
unique ID of the Asterisk channel using the fax session
Definition at line 222 of file res_fax.h.
Referenced by destroy_session(), and fax_session_new().
| char* channame | 
name of the Asterisk channel using the fax session
Definition at line 220 of file res_fax.h.
Referenced by cli_fax_show_session(), cli_fax_show_sessions(), debug_check_frame_for_silence(), destroy_session(), fax_session_new(), and spandsp_fax_new().
| struct ast_fax_debug_info* debug_info | 
fax debugging structure
Definition at line 226 of file res_fax.h.
Referenced by debug_check_frame_for_silence(), destroy_session(), fax_session_new(), and generic_fax_exec().
| struct ast_fax_session_details* details | 
fax session details structure
Definition at line 208 of file res_fax.h.
Referenced by ast_fax_session_operation_str(), cli_fax_show_sessions(), destroy_session(), fax_gateway_detect_v21(), fax_gateway_framehook(), fax_gateway_start(), fax_session_new(), fax_session_reserve(), fax_session_type(), spandsp_fax_cancel(), spandsp_fax_cli_show_session(), spandsp_fax_destroy(), spandsp_fax_gateway_cleanup(), spandsp_fax_gateway_start(), spandsp_fax_new(), spandsp_fax_start(), spandsp_fax_switch_to_t38(), spandsp_fax_write(), spandsp_v21_detect(), t30_phase_e_handler(), and t38_tx_packet_handler().
| int fd | 
session file descriptor
Definition at line 206 of file res_fax.h.
Referenced by generic_fax_exec(), spandsp_fax_destroy(), and spandsp_fax_new().
| unsigned long frames_received | 
| unsigned long frames_sent | 
| unsigned int id | 
session id
Definition at line 204 of file res_fax.h.
Referenced by Section::__cmp__(), Section::__eq__(), Section::__ge__(), Section::__gt__(), Section::__le__(), Section::__lt__(), cli_fax_show_session(), cli_fax_show_sessions(), debug_check_frame_for_silence(), fax_session_new(), fax_session_tab_complete(), generic_fax_exec(), session_cmp_cb(), session_hash_cb(), spandsp_fax_cli_show_session(), spandsp_fax_new(), spandsp_fax_read(), spandsp_fax_start(), spandsp_fax_write(), and t30_phase_e_handler().
| struct ast_smoother* smoother | 
used to take variable-sized frames in and output frames of an expected size to the fax stack
Definition at line 228 of file res_fax.h.
Referenced by destroy_session(), and generic_fax_exec().
| enum ast_fax_state state | 
fax state
Definition at line 218 of file res_fax.h.
Referenced by cli_fax_show_sessions(), destroy_session(), fax_gateway_framehook_destroy(), fax_gateway_start(), fax_session_new(), fax_session_release(), fax_session_reserve(), spandsp_fax_cli_show_session(), spandsp_fax_gateway_start(), spandsp_fax_new(), spandsp_fax_read(), spandsp_fax_start(), and spandsp_fax_write().
| const struct ast_fax_tech* tech | 
the fax technology callbacks
Definition at line 214 of file res_fax.h.
Referenced by cli_fax_show_session(), cli_fax_show_sessions(), destroy_session(), fax_gateway_detect_v21(), fax_gateway_framehook(), fax_gateway_framehook_destroy(), fax_gateway_start(), fax_session_new(), fax_session_release(), fax_session_reserve(), and generic_fax_exec().
| void* tech_pvt | 
private implementation pointer
Definition at line 216 of file res_fax.h.
Referenced by destroy_session(), fax_gateway_framehook(), fax_session_new(), spandsp_fax_cancel(), spandsp_fax_cli_show_session(), spandsp_fax_destroy(), spandsp_fax_gateway_cleanup(), spandsp_fax_gateway_process(), spandsp_fax_gateway_start(), spandsp_fax_gw_t30_gen(), spandsp_fax_read(), spandsp_fax_start(), spandsp_fax_switch_to_t38(), spandsp_fax_write(), spandsp_v21_cleanup(), spandsp_v21_detect(), t30_phase_e_handler(), and t38_tx_packet_handler().