#include <vmodem.h>
Data Fields | |
char | cid_name [AST_MAX_EXTENSION] |
char | cid_num [AST_MAX_EXTENSION] |
char | context [AST_MAX_EXTENSION] |
char | dev [256] |
char | dialtimeout |
char | dialtype |
char | dnid [AST_MAX_EXTENSION] |
ast_dsp * | dsp |
int | dtmfmode |
int | dtmfmodegen |
char | dtmfrx |
int | escape |
FILE * | f |
int | faxhandled |
int | fd |
ast_frame | fr |
int | gotclid |
ast_group_t | group |
char | incomingmsn [AST_MAX_EXTENSION] |
char | initstr [AST_MAX_INIT_STR] |
char | language [MAX_LANGUAGE] |
time_t | lastring |
ast_modem_driver * | mc |
int | ministate |
int | mode |
char | msn [AST_MAX_EXTENSION] |
ast_modem_pvt * | next |
char | obuf [MODEM_MAX_BUF] |
int | obuflen |
char | offset [AST_FRIENDLY_OFFSET] |
char | outgoingmsn [AST_MAX_EXTENSION] |
ast_channel * | owner |
char | response [256] |
int | ringt |
int | stripmsd |
int | tail |
Definition at line 79 of file vmodem.h.
char cid_name[AST_MAX_EXTENSION] |
Caller ID if available
Definition at line 131 of file vmodem.h.
Referenced by ast_modem_new(), bestdata_handle_escape(), and modem_hangup().
char cid_num[AST_MAX_EXTENSION] |
Caller ID if available
Definition at line 133 of file vmodem.h.
Referenced by ast_modem_new(), bestdata_handle_escape(), i4l_read(), and modem_hangup().
char context[AST_MAX_EXTENSION] |
char dev[256] |
Definition at line 87 of file vmodem.h.
Referenced by aopen_read(), ast_modem_new(), bestdata_read(), do_monitor(), i4l_answer(), i4l_dialdigit(), i4l_read(), i4l_startrec(), modem_request(), modem_setup(), and stty().
char dialtimeout |
char dialtype |
Pulse or tone dialling
Definition at line 97 of file vmodem.h.
Referenced by aopen_dial(), bestdata_dial(), and i4l_dial().
char dnid[AST_MAX_EXTENSION] |
Dialed Number if available
Definition at line 141 of file vmodem.h.
Referenced by ast_modem_new(), i4l_read(), and modem_hangup().
DSP for DTMF detection
Definition at line 139 of file vmodem.h.
Referenced by i4l_answer(), i4l_hangup(), and i4l_startrec().
int dtmfmode |
DTMF-detection mode (i4l/asterisk)
Definition at line 135 of file vmodem.h.
Referenced by i4l_answer(), and i4l_startrec().
int dtmfmodegen |
DTMF-generation mode (i4l (outband) / asterisk (inband)
Definition at line 137 of file vmodem.h.
Referenced by i4l_dialdigit().
char dtmfrx |
dtmf receive state/data
Definition at line 119 of file vmodem.h.
Referenced by bestdata_handle_escape(), bestdata_hangup(), and bestdata_read().
int escape |
Is the last thing we saw an escape
Definition at line 109 of file vmodem.h.
Referenced by i4l_init(), and i4l_read().
FILE* f |
FILE * representation of device
Definition at line 83 of file vmodem.h.
Referenced by aopen_read(), ast_modem_expect(), ast_modem_read_response(), ast_modem_send(), bestdata_read(), bestdata_write(), i4l_read(), and i4l_write().
int faxhandled |
int fd |
Raw file descriptor for this device
Definition at line 81 of file vmodem.h.
Referenced by __unload_module(), ast_modem_expect(), ast_modem_new(), ast_modem_read_response(), do_monitor(), i4l_dialdigit(), i4l_hangup(), i4l_read(), i4l_write(), and stty().
Frame
Definition at line 89 of file vmodem.h.
Referenced by aopen_handle_escape(), aopen_read(), bestdata_handle_escape(), bestdata_read(), and i4l_handle_escape().
int gotclid |
flag to say if has caller*id yet
Definition at line 111 of file vmodem.h.
Referenced by bestdata_handle_escape(), and bestdata_hangup().
Group(s) we belong to if available
Definition at line 129 of file vmodem.h.
Referenced by modem_request().
char incomingmsn[AST_MAX_EXTENSION] |
Multiple Subscriber Number we listen to (; separated list)
Definition at line 125 of file vmodem.h.
Referenced by i4l_init().
char initstr[AST_MAX_INIT_STR] |
char language[MAX_LANGUAGE] |
time_t lastring |
actual time of last ring
Definition at line 117 of file vmodem.h.
Referenced by bestdata_answer(), bestdata_handle_escape(), and bestdata_hangup().
struct ast_modem_driver* mc |
Modem Capability
Definition at line 149 of file vmodem.h.
Referenced by ast_modem_new(), modem_answer(), modem_call(), modem_digit(), modem_hangup(), modem_mini_packet(), modem_read(), modem_request(), modem_setup(), and modem_write().
int ministate |
State of modem in miniature
Definition at line 105 of file vmodem.h.
Referenced by aopen_init(), aopen_read(), aopen_startrec(), bestdata_break(), bestdata_dial(), bestdata_dialdigit(), bestdata_init(), bestdata_read(), bestdata_startplay(), bestdata_startrec(), bestdata_write(), i4l_answer(), i4l_dialdigit(), i4l_init(), i4l_read(), and i4l_startrec().
int mode |
Immediate, or wait for an answer
Definition at line 103 of file vmodem.h.
Referenced by aopen_read(), and bestdata_read().
char msn[AST_MAX_EXTENSION] |
struct ast_modem_pvt* next |
Next channel in list
Definition at line 151 of file vmodem.h.
Referenced by __unload_module(), do_monitor(), load_module(), and modem_request().
char obuf[MODEM_MAX_BUF] |
Outgoing buffer
Definition at line 93 of file vmodem.h.
Referenced by aopen_read(), bestdata_read(), and i4l_read().
int obuflen |
Definition at line 101 of file vmodem.h.
Referenced by aopen_read(), bestdata_read(), and i4l_read().
char outgoingmsn[AST_MAX_EXTENSION] |
Multiple Subscriber Number we accept for outgoing calls (; separated list)
Definition at line 127 of file vmodem.h.
Referenced by i4l_dial().
struct ast_channel* owner |
Channel we belong to, possibly NULL
Definition at line 85 of file vmodem.h.
Referenced by __unload_module(), aopen_handle_escape(), ast_modem_new(), bestdata_handle_escape(), bestdata_write(), do_monitor(), i4l_dial(), i4l_handle_escape(), modem_fixup(), modem_hangup(), and modem_request().
char response[256] |
Static response buffer
Definition at line 147 of file vmodem.h.
Referenced by aopen_answer(), aopen_dialdigit(), aopen_identify(), aopen_setdev(), ast_modem_expect(), ast_modem_read_response(), bestdata_answer(), bestdata_handle_escape(), bestdata_identify(), i4l_answer(), i4l_setdev(), and modem_setup().
int ringt |
ringer timeout
Definition at line 115 of file vmodem.h.
Referenced by bestdata_answer(), bestdata_handle_escape(), bestdata_hangup(), and bestdata_read().
int stripmsd |
Digits to strip on outgoing numbers
Definition at line 107 of file vmodem.h.
Referenced by modem_call().