Sat Mar 26 11:33:41 2011

Asterisk developer's documentation


ast_fax_session Struct Reference

The data required to handle a fax session. More...

#include <res_fax.h>

Collaboration diagram for ast_fax_session:

Collaboration graph
[legend]

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
struct ast_fax_tech * tech
void * tech_pvt

Detailed Description

The data required to handle a fax session.

Definition at line 173 of file res_fax.h.


Field Documentation

struct ast_channel* chan [read]

Asterisk channel using the fax session

Definition at line 195 of file res_fax.h.

Referenced by fax_session_new().

unique ID of the Asterisk channel using the fax session

Definition at line 193 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 191 of file res_fax.h.

Referenced by cli_fax_show_sessions(), debug_check_frame_for_silence(), destroy_session(), fax_session_new(), and spandsp_fax_new().

fax debugging structure

Definition at line 197 of file res_fax.h.

Referenced by debug_check_frame_for_silence(), destroy_session(), fax_session_new(), and generic_fax_exec().

int fd

session file descriptor

Definition at line 177 of file res_fax.h.

Referenced by generic_fax_exec(), spandsp_fax_destroy(), and spandsp_fax_new().

unsigned long frames_received

fax frames received

Definition at line 181 of file res_fax.h.

Referenced by generic_fax_exec().

unsigned long frames_sent

fax frames sent

Definition at line 183 of file res_fax.h.

Referenced by generic_fax_exec().

unsigned int id

struct ast_smoother* smoother [read]

used to take variable-sized frames in and output frames of an expected size to the fax stack

Definition at line 199 of file res_fax.h.

Referenced by destroy_session(), and generic_fax_exec().

struct ast_fax_tech* tech [read]

the fax technology callbacks

Definition at line 185 of file res_fax.h.

Referenced by cli_fax_show_session(), cli_fax_show_sessions(), destroy_session(), fax_session_new(), and generic_fax_exec().

void* tech_pvt


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

Generated on Sat Mar 26 11:33:45 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.9