Thu Apr 16 06:48:41 2015

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_channelchan
char * chan_uniqueid
char * channame
struct ast_fax_debug_infodebug_info
struct ast_fax_session_detailsdetails
int fd
unsigned long frames_received
unsigned long frames_sent
unsigned int id
struct ast_smoothersmoother
enum ast_fax_state state
struct ast_fax_techtech
void * tech_pvt

Detailed Description

The data required to handle a fax session.

Definition at line 178 of file res_fax.h.


Field Documentation

struct ast_channel* chan [read]

Asterisk channel using the fax session

Definition at line 200 of file res_fax.h.

Referenced by fax_session_new().

unique ID of the Asterisk channel using the fax session

Definition at line 198 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 196 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 202 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 182 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 186 of file res_fax.h.

Referenced by generic_fax_exec().

unsigned long frames_sent

fax frames sent

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

Referenced by destroy_session(), and generic_fax_exec().

struct ast_fax_tech* tech [read]

void* tech_pvt


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

Generated on Thu Apr 16 06:48:41 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6