Sat Mar 26 11:31:15 2011

Asterisk developer's documentation


analog_pvt Struct Reference

#include <sig_analog.h>

Collaboration diagram for analog_pvt:

Collaboration graph
[legend]

Data Fields

unsigned int answeronpolarityswitch:1
char call_forward [AST_MAX_EXTENSION]
struct ast_party_caller caller
unsigned int callreturn:1
struct analog_callback * calls
char callwait_name [AST_MAX_EXTENSION]
char callwait_num [AST_MAX_EXTENSION]
int callwaitcas
unsigned int callwaiting:1
unsigned int callwaitingcallerid:1
unsigned int cancallforward:1
unsigned int canpark:1
void * chan_pvt
struct ast_channel_tech * chan_tech
int channel
char cid_name [AST_MAX_EXTENSION]
char cid_num [AST_MAX_EXTENSION]
int cid_signalling
enum analog_cid_start cid_start
int cidrings
unsigned int dahditrcallerid:1
char dialdest [256]
unsigned int dialednone:1
unsigned int dialing:1
unsigned int dnd:1
struct analog_dialoperation dop
unsigned int echobreak:1
char echorest [20]
int echotraining
char finaldial [64]
struct timeval flashtime
int fxsoffhookstate
time_t guardtime
unsigned int hanguponpolarityswitch:1
unsigned int hidecallerid:1
unsigned int immediate:1
unsigned int inalarm:1
char lastcid_name [AST_MAX_EXTENSION]
char lastcid_num [AST_MAX_EXTENSION]
char mohsuggest [MAX_MUSICCLASS]
int msgstate
 -1 = unknown, 0 = no messages, 1 = new messages available
int onhooktime
char * origcid_name
char * origcid_num
unsigned int outgoing:1
enum analog_sigtype outsigmod
struct ast_channel * owner
unsigned int permcallwaiting:1
unsigned int permhidecallerid:1
int polarity
struct timeval polaritydelaytv
int polarityonanswerdelay
unsigned int pulse:1
int ringt
int ringt_base
enum analog_sigtype sig
struct ast_channel * ss_astchan
int stripmsd
struct analog_subchannel subs [3]
unsigned int threewaycalling:1
unsigned int transfer:1
unsigned int transfertobusy:1
unsigned int unknown_alarm:1
unsigned int use_callerid:1
unsigned int usedistinctiveringdetection:1
 TRUE if distinctive rings are to be detected.
int whichwink

Detailed Description

Definition at line 245 of file sig_analog.h.


Field Documentation

unsigned int answeronpolarityswitch

Definition at line 263 of file sig_analog.h.

Referenced by __analog_handle_event(), analog_call(), and mkintf().

char call_forward[AST_MAX_EXTENSION]

Definition at line 324 of file sig_analog.h.

Referenced by __analog_ss_thread(), and analog_new_ast_channel().

struct ast_party_caller caller [read]

Definition at line 312 of file sig_analog.h.

Referenced by __analog_handle_event(), analog_call(), and analog_handle_dtmfup().

unsigned int callreturn

Definition at line 264 of file sig_analog.h.

Referenced by __analog_ss_thread(), and mkintf().

struct analog_callback* calls [read]

char callwait_name[AST_MAX_EXTENSION]

Definition at line 309 of file sig_analog.h.

Referenced by analog_call(), and analog_handle_dtmfup().

char callwait_num[AST_MAX_EXTENSION]

Definition at line 308 of file sig_analog.h.

Referenced by analog_call(), and analog_handle_dtmfup().

unsigned int callwaiting

unsigned int callwaitingcallerid

Definition at line 277 of file sig_analog.h.

Referenced by analog_callwait(), analog_stop_callwait(), and mkintf().

unsigned int cancallforward

Definition at line 265 of file sig_analog.h.

Referenced by __analog_ss_thread(), and mkintf().

unsigned int canpark

Definition at line 266 of file sig_analog.h.

Referenced by __analog_ss_thread(), and mkintf().

void* chan_pvt

struct ast_channel_tech* chan_tech [read]

Definition at line 278 of file sig_analog.h.

Referenced by __analog_ss_thread(), and mkintf().

int channel

char cid_name[AST_MAX_EXTENSION]

Definition at line 296 of file sig_analog.h.

Referenced by __analog_handle_event(), __analog_ss_thread(), analog_hangup(), and mkintf().

char cid_num[AST_MAX_EXTENSION]

Definition at line 295 of file sig_analog.h.

Referenced by __analog_handle_event(), __analog_ss_thread(), analog_hangup(), and mkintf().

Asterisk callerid type we're using

Definition at line 290 of file sig_analog.h.

Referenced by __analog_ss_thread(), analog_new(), and mkintf().

Definition at line 293 of file sig_analog.h.

Referenced by __analog_ss_thread(), analog_handle_init_event(), analog_new(), and mkintf().

int cidrings

Which ring to deliver CID on

Definition at line 313 of file sig_analog.h.

Referenced by __analog_handle_event(), analog_hangup(), and analog_set_cadence().

unsigned int dahditrcallerid

should we use the callerid from incoming call on dahdi transfer or not

Definition at line 267 of file sig_analog.h.

Referenced by __analog_handle_event(), and mkintf().

char dialdest[256]

Definition at line 317 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_call().

unsigned int dialednone

Definition at line 301 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_call().

unsigned int dialing

TRUE if in the process of dialing digits or sending something

Definition at line 302 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_set_dialing().

unsigned int dnd

TRUE if Do-Not-Disturb is enabled.

Definition at line 303 of file sig_analog.h.

Referenced by __analog_ss_thread(), analog_available(), and analog_dnd().

struct analog_dialoperation dop [read]

Definition at line 256 of file sig_analog.h.

Referenced by __analog_handle_event(), __analog_ss_thread(), and analog_call().

unsigned int echobreak

Definition at line 304 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_call().

char echorest[20]

Definition at line 314 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_call().

Definition at line 289 of file sig_analog.h.

Referenced by __analog_handle_event(), analog_call(), and mkintf().

char finaldial[64]

Definition at line 321 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_call().

struct timeval flashtime [read]

Last flash-hook time

Definition at line 319 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_exception().

time_t guardtime

Must wait this much time before using for new call

Definition at line 318 of file sig_analog.h.

Referenced by analog_available(), and analog_hangup().

unsigned int hanguponpolarityswitch

unsigned int hidecallerid

Definition at line 305 of file sig_analog.h.

Referenced by __analog_ss_thread(), and analog_hangup().

unsigned int immediate

Definition at line 269 of file sig_analog.h.

Referenced by __analog_ss_thread(), analog_handle_init_event(), and mkintf().

unsigned int inalarm

char lastcid_name[AST_MAX_EXTENSION]

Definition at line 311 of file sig_analog.h.

Referenced by analog_call().

char lastcid_num[AST_MAX_EXTENSION]

Definition at line 310 of file sig_analog.h.

Referenced by __analog_ss_thread(), and analog_call().

char mohsuggest[MAX_MUSICCLASS]

Definition at line 294 of file sig_analog.h.

Referenced by __analog_handle_event(), analog_hangup(), and mkintf().

int msgstate

-1 = unknown, 0 = no messages, 1 = new messages available

Definition at line 260 of file sig_analog.h.

Referenced by __analog_handle_event(), do_monitor(), and mkintf().

Definition at line 257 of file sig_analog.h.

Referenced by __analog_handle_event(), analog_hangup(), do_monitor(), and mkintf().

char* origcid_name

malloced original callerid

Definition at line 323 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_hangup().

char* origcid_num

malloced original callerid

Definition at line 322 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_hangup().

unsigned int outgoing

Definition at line 288 of file sig_analog.h.

Referenced by __analog_handle_event(), analog_call(), analog_new(), and mkintf().

struct ast_channel* owner [read]

unsigned int permcallwaiting

Definition at line 270 of file sig_analog.h.

Referenced by analog_config_complete(), analog_hangup(), and mkintf().

unsigned int permhidecallerid

Whether to hide our outgoing caller ID or not

Definition at line 271 of file sig_analog.h.

Referenced by analog_hangup(), and mkintf().

int polarity

struct timeval polaritydelaytv [read]

Definition at line 316 of file sig_analog.h.

Referenced by __analog_handle_event(), analog_answer(), and analog_call().

Definition at line 291 of file sig_analog.h.

Referenced by __analog_handle_event(), and mkintf().

unsigned int pulse

Definition at line 272 of file sig_analog.h.

Referenced by analog_call(), and mkintf().

int ringt

struct ast_channel* ss_astchan [read]

int stripmsd

Definition at line 292 of file sig_analog.h.

Referenced by analog_call(), and mkintf().

struct analog_subchannel subs[3] [read]

unsigned int threewaycalling

Definition at line 273 of file sig_analog.h.

Referenced by __analog_handle_event(), and mkintf().

unsigned int transfer

Definition at line 274 of file sig_analog.h.

Referenced by __analog_handle_event(), __analog_ss_thread(), and mkintf().

unsigned int transfertobusy

allow flash-transfers to busy channels

Definition at line 275 of file sig_analog.h.

Referenced by __analog_handle_event(), and mkintf().

unsigned int unknown_alarm

Definition at line 331 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_handle_init_event().

unsigned int use_callerid

Whether or not to use caller id on this channel

Definition at line 276 of file sig_analog.h.

Referenced by __analog_ss_thread(), analog_call(), and mkintf().

TRUE if distinctive rings are to be detected.

Note:
For FXO lines

Set indirectly from the "usedistinctiveringdetection" value read in from chan_dahdi.conf

Definition at line 284 of file sig_analog.h.

Referenced by mkintf().

int whichwink

SIG_FEATDMF_TA Which wink are we on?

Definition at line 320 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_call().


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

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