Asterisk - The Open Source Telephony Project GIT-master-0bf3178
Data Fields
analog_pvt Struct Reference

#include <sig_analog.h>

Collaboration diagram for analog_pvt:
Collaboration graph
[legend]

Data Fields

unsigned int ani_info_digits:8
 
unsigned int ani_timeout:16
 
unsigned int ani_wink_time:16
 
unsigned int answeronpolarityswitch:1
 
char call_forward [AST_MAX_EXTENSION]
 
unsigned int call_qualifier:1
 
unsigned int calledsubscriberheld:1
 
struct ast_party_caller caller
 
unsigned int callreturn:1
 
char callwait_name [AST_MAX_EXTENSION]
 
char callwait_num [AST_MAX_EXTENSION]
 
unsigned int callwaitcas:1
 TRUE if Call Waiting (CW) CPE Alert Signal (CAS) is being sent. More...
 
unsigned int callwaiting:1
 
unsigned int callwaitingcallerid:1
 
unsigned int cancallforward:1
 
unsigned int canpark:1
 
void * chan_pvt
 
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 cshactive:1
 
unsigned int dahditrcallerid:1
 
char dialdest [256]
 
unsigned int dialednone:1
 
unsigned int dialing:1
 
enum analog_dialmode dialmode
 
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 immediatering: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 More...
 
int onhooktime
 
char * origcid_name
 
char * origcid_num
 
unsigned int outgoing:1
 
enum analog_sigtype outsigmod
 
struct ast_channelowner
 
unsigned int permcallwaiting:1
 
unsigned int permhidecallerid:1
 
int polarity
 
struct timeval polaritydelaytv
 
int polarityonanswerdelay
 
unsigned int pulse:1
 
int redirecting_reason
 
int ringt
 
int ringt_base
 
enum analog_sigtype sig
 
struct ast_smdi_interfacesmdi_iface
 The SMDI interface to get SMDI messages from. More...
 
struct ast_channelss_astchan
 
int stripmsd
 
struct analog_subchannel subs [3]
 
unsigned int threewaycalling:1
 
unsigned int threewaysilenthold:1
 
unsigned int transfer:1
 
unsigned int transfertobusy:1
 
unsigned int use_callerid:1
 
unsigned int use_smdi:1
 TRUE if SMDI (Simplified Message Desk Interface) is enabled. More...
 
unsigned int usedistinctiveringdetection:1
 
int whichwink
 

Detailed Description

Definition at line 271 of file sig_analog.h.

Field Documentation

◆ ani_info_digits

unsigned int ani_info_digits

Definition at line 287 of file sig_analog.h.

Referenced by __analog_ss_thread(), and mkintf().

◆ ani_timeout

unsigned int ani_timeout

Definition at line 288 of file sig_analog.h.

Referenced by __analog_ss_thread(), and mkintf().

◆ ani_wink_time

unsigned int ani_wink_time

Definition at line 289 of file sig_analog.h.

Referenced by __analog_ss_thread(), and mkintf().

◆ answeronpolarityswitch

unsigned int answeronpolarityswitch

Definition at line 291 of file sig_analog.h.

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

◆ call_forward

char call_forward[AST_MAX_EXTENSION]

Definition at line 369 of file sig_analog.h.

Referenced by __analog_ss_thread(), and analog_new_ast_channel().

◆ call_qualifier

unsigned int call_qualifier

Call qualifier delivery

Definition at line 349 of file sig_analog.h.

Referenced by analog_call(), and my_send_callerid().

◆ calledsubscriberheld

unsigned int calledsubscriberheld

TRUE if a single incoming call can hold an FXS channel

Definition at line 292 of file sig_analog.h.

Referenced by __analog_handle_event(), and mkintf().

◆ caller

struct ast_party_caller caller

◆ callreturn

unsigned int callreturn

Definition at line 293 of file sig_analog.h.

Referenced by __analog_ss_thread(), and mkintf().

◆ callwait_name

char callwait_name[AST_MAX_EXTENSION]

Definition at line 352 of file sig_analog.h.

Referenced by analog_call(), and analog_handle_dtmf().

◆ callwait_num

char callwait_num[AST_MAX_EXTENSION]

Definition at line 351 of file sig_analog.h.

Referenced by analog_call(), and analog_handle_dtmf().

◆ callwaitcas

unsigned int callwaitcas

TRUE if Call Waiting (CW) CPE Alert Signal (CAS) is being sent.

Note
After CAS is sent, the call waiting caller id will be sent if the phone gives a positive reply.

Definition at line 348 of file sig_analog.h.

Referenced by __analog_handle_event(), analog_callwait(), analog_handle_dtmf(), analog_hangup(), analog_send_callerid(), and analog_stop_callwait().

◆ callwaiting

unsigned int callwaiting

TRUE if call waiting is enabled. (Active option)

Definition at line 333 of file sig_analog.h.

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

◆ callwaitingcallerid

unsigned int callwaitingcallerid

TRUE if send caller ID for Call Waiting

Definition at line 309 of file sig_analog.h.

Referenced by analog_callwait(), and mkintf().

◆ cancallforward

unsigned int cancallforward

Definition at line 294 of file sig_analog.h.

Referenced by __analog_ss_thread(), and mkintf().

◆ canpark

unsigned int canpark

Definition at line 295 of file sig_analog.h.

Referenced by __analog_ss_thread(), and mkintf().

◆ chan_pvt

void* chan_pvt

Definition at line 275 of file sig_analog.h.

Referenced by analog_all_subchannels_hungup(), analog_alloc_sub(), analog_answer_polarityswitch(), analog_callwait(), analog_cancel_cidspill(), analog_cb_handle_dtmf(), analog_check_confirmanswer(), analog_check_for_conference(), analog_check_waitingfordt(), analog_confmute(), analog_deadlock_avoidance_private(), analog_dial_digits(), analog_distinctive_ring(), analog_dsp_reset_and_flush_digits(), analog_dsp_set_digitmode(), analog_flash(), analog_get_and_handle_alarms(), analog_get_callerid(), analog_get_event(), analog_get_orig_dialstring(), analog_get_sub_fd(), analog_handle_init_event(), analog_handle_notify_message(), analog_hangup_polarityswitch(), analog_has_voicemail(), analog_have_progressdetect(), analog_is_dialing(), analog_is_off_hook(), analog_lock_private(), analog_new(), analog_new_ast_channel(), analog_off_hook(), analog_on_hook(), analog_play_tone(), analog_ring(), analog_send_callerid(), analog_set_alarm(), analog_set_cadence(), analog_set_callwaiting(), analog_set_confirmanswer(), analog_set_dialing(), analog_set_echocanceller(), analog_set_inthreeway(), analog_set_linear_mode(), analog_set_needringing(), analog_set_new_owner(), analog_set_outgoing(), analog_set_pulsedial(), analog_set_ringtimeout(), analog_set_waitingfordt(), analog_start(), analog_start_cid_detect(), analog_start_polarityswitch(), analog_stop_callwait(), analog_stop_cid_detect(), analog_swap_subs(), analog_train_echocanceller(), analog_unalloc_sub(), analog_unlock_private(), analog_update_conf(), analog_wait_event(), and analog_wink().

◆ channel

int channel

◆ cid_name

char cid_name[AST_MAX_EXTENSION]

Definition at line 329 of file sig_analog.h.

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

◆ cid_num

char cid_num[AST_MAX_EXTENSION]

Definition at line 328 of file sig_analog.h.

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

◆ cid_signalling

int cid_signalling

Asterisk callerid type we're using

Definition at line 323 of file sig_analog.h.

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

◆ cid_start

enum analog_cid_start cid_start

Definition at line 326 of file sig_analog.h.

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

◆ cidrings

int cidrings

Which ring to deliver CID on

Definition at line 358 of file sig_analog.h.

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

◆ cshactive

unsigned int cshactive

TRUE if FXS channel is currently held by an incoming call

Definition at line 334 of file sig_analog.h.

Referenced by __analog_handle_event(), analog_available(), analog_handle_init_event(), and analog_hangup().

◆ dahditrcallerid

unsigned int dahditrcallerid

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

Definition at line 296 of file sig_analog.h.

Referenced by __analog_handle_event(), and mkintf().

◆ dialdest

char dialdest[256]

Definition at line 362 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_call().

◆ dialednone

unsigned int dialednone

Definition at line 335 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_call().

◆ dialing

unsigned int dialing

TRUE if in the process of dialing digits or sending something

Definition at line 336 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_set_dialing().

◆ dialmode

enum analog_dialmode dialmode

Which of pulse and/or tone dialing to support

Definition at line 321 of file sig_analog.h.

Referenced by __analog_handle_event(), dahdi_func_read(), dahdi_func_write(), and mkintf().

◆ dnd

unsigned int dnd

TRUE if Do-Not-Disturb is enabled.

Definition at line 337 of file sig_analog.h.

Referenced by analog_available(), and analog_dnd().

◆ dop

Definition at line 280 of file sig_analog.h.

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

◆ echobreak

unsigned int echobreak

Definition at line 338 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_call().

◆ echorest

char echorest[20]

Definition at line 359 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_call().

◆ echotraining

int echotraining

Definition at line 322 of file sig_analog.h.

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

◆ finaldial

char finaldial[64]

Definition at line 366 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_call().

◆ flashtime

struct timeval flashtime

Last flash-hook time

Definition at line 364 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_exception().

◆ fxsoffhookstate

int fxsoffhookstate

◆ guardtime

time_t guardtime

Must wait this much time before using for new call

Definition at line 363 of file sig_analog.h.

Referenced by analog_available(), and analog_hangup().

◆ hanguponpolarityswitch

unsigned int hanguponpolarityswitch

◆ hidecallerid

unsigned int hidecallerid

Definition at line 339 of file sig_analog.h.

Referenced by __analog_ss_thread(), and analog_hangup().

◆ immediate

unsigned int immediate

Definition at line 298 of file sig_analog.h.

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

◆ immediatering

unsigned int immediatering

TRUE if ringing should be provided for immediate execution

Definition at line 299 of file sig_analog.h.

Referenced by analog_handle_init_event(), and mkintf().

◆ inalarm

unsigned int inalarm

◆ lastcid_name

char lastcid_name[AST_MAX_EXTENSION]

Definition at line 354 of file sig_analog.h.

Referenced by analog_call().

◆ lastcid_num

char lastcid_num[AST_MAX_EXTENSION]

Definition at line 353 of file sig_analog.h.

Referenced by __analog_ss_thread(), and analog_call().

◆ mohsuggest

char mohsuggest[MAX_MUSICCLASS]

Definition at line 327 of file sig_analog.h.

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

◆ msgstate

int msgstate

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

Definition at line 284 of file sig_analog.h.

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

◆ onhooktime

int onhooktime

Definition at line 281 of file sig_analog.h.

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

◆ origcid_name

char* origcid_name

malloced original callerid

Definition at line 368 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_hangup().

◆ origcid_num

char* origcid_num

malloced original callerid

Definition at line 367 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_hangup().

◆ outgoing

unsigned int outgoing

Definition at line 340 of file sig_analog.h.

Referenced by __analog_handle_event(), analog_available(), and analog_set_outgoing().

◆ outsigmod

enum analog_sigtype outsigmod

Definition at line 320 of file sig_analog.h.

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

◆ owner

struct ast_channel* owner

◆ permcallwaiting

unsigned int permcallwaiting

TRUE if call waiting is enabled. (Configured option)

Definition at line 300 of file sig_analog.h.

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

◆ permhidecallerid

unsigned int permhidecallerid

Whether to hide our outgoing caller ID or not

Definition at line 301 of file sig_analog.h.

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

◆ polarity

int polarity

◆ polaritydelaytv

struct timeval polaritydelaytv

Definition at line 361 of file sig_analog.h.

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

◆ polarityonanswerdelay

int polarityonanswerdelay

Definition at line 324 of file sig_analog.h.

Referenced by __analog_handle_event(), and mkintf().

◆ pulse

unsigned int pulse

Definition at line 302 of file sig_analog.h.

Referenced by analog_call(), and mkintf().

◆ redirecting_reason

int redirecting_reason

Redirecting reason

Definition at line 356 of file sig_analog.h.

Referenced by analog_call(), and my_send_callerid().

◆ ringt

int ringt

◆ ringt_base

int ringt_base

◆ sig

enum analog_sigtype sig

◆ smdi_iface

struct ast_smdi_interface* smdi_iface

The SMDI interface to get SMDI messages from.

Definition at line 315 of file sig_analog.h.

Referenced by __analog_ss_thread(), and mkintf().

◆ ss_astchan

struct ast_channel* ss_astchan

◆ stripmsd

int stripmsd

Definition at line 325 of file sig_analog.h.

Referenced by analog_call(), and mkintf().

◆ subs

struct analog_subchannel subs[3]

◆ threewaycalling

unsigned int threewaycalling

Definition at line 303 of file sig_analog.h.

Referenced by __analog_handle_event(), and mkintf().

◆ threewaysilenthold

unsigned int threewaysilenthold

Whether to time out a three-way dial tone to silence

Definition at line 304 of file sig_analog.h.

Referenced by __analog_ss_thread().

◆ transfer

unsigned int transfer

Definition at line 305 of file sig_analog.h.

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

◆ transfertobusy

unsigned int transfertobusy

allow flash-transfers to busy channels

Definition at line 306 of file sig_analog.h.

Referenced by __analog_handle_event(), and mkintf().

◆ use_callerid

unsigned int use_callerid

Whether or not to use caller id on this channel

Definition at line 307 of file sig_analog.h.

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

◆ use_smdi

unsigned int use_smdi

TRUE if SMDI (Simplified Message Desk Interface) is enabled.

Definition at line 313 of file sig_analog.h.

Referenced by __analog_ss_thread(), and mkintf().

◆ usedistinctiveringdetection

unsigned int usedistinctiveringdetection

◆ whichwink

int whichwink

SIG_FEATDMF_TA Which wink are we on?

Definition at line 365 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_call().


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