Thu Apr 16 06:48:19 2015

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_callbackcalls
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.
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 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_channelowner
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_smdi_interfacesmdi_iface
 The SMDI interface to get SMDI messages from.
struct ast_channelss_astchan
int stripmsd
struct analog_subchannel subs [3]
unsigned int threewaycalling: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.
int whichwink

Detailed Description

Definition at line 252 of file sig_analog.h.


Field Documentation

unsigned int answeronpolarityswitch

Definition at line 270 of file sig_analog.h.

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

char call_forward[AST_MAX_EXTENSION]

Definition at line 339 of file sig_analog.h.

Referenced by __analog_ss_thread(), and analog_new_ast_channel().

struct ast_party_caller caller [read]

Definition at line 327 of file sig_analog.h.

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

unsigned int callreturn

Definition at line 271 of file sig_analog.h.

Referenced by __analog_ss_thread(), and mkintf().

struct analog_callback* calls [read]

Definition at line 258 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_decrease_ss_count(), 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_bridged_channel(), analog_get_callerid(), analog_get_event(), analog_get_orig_dialstring(), analog_get_sub_fd(), analog_handle_notify_message(), analog_hangup_polarityswitch(), analog_has_voicemail(), analog_have_progressdetect(), analog_increase_ss_count(), analog_is_dialing(), analog_is_off_hook(), analog_lock_private(), analog_lock_sub_owner(), 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().

char callwait_name[AST_MAX_EXTENSION]

Definition at line 324 of file sig_analog.h.

Referenced by analog_call(), and analog_handle_dtmf().

char callwait_num[AST_MAX_EXTENSION]

Definition at line 323 of file sig_analog.h.

Referenced by analog_call(), and analog_handle_dtmf().

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 321 of file sig_analog.h.

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

unsigned int callwaiting

TRUE if call waiting is enabled. (Active option)

Definition at line 307 of file sig_analog.h.

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

unsigned int callwaitingcallerid

TRUE if send caller ID for Call Waiting

Definition at line 284 of file sig_analog.h.

Referenced by analog_callwait(), and mkintf().

unsigned int cancallforward

Definition at line 272 of file sig_analog.h.

Referenced by __analog_ss_thread(), and mkintf().

unsigned int canpark

Definition at line 273 of file sig_analog.h.

Referenced by __analog_ss_thread(), and mkintf().

void* chan_pvt

Definition at line 256 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_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_lock_sub_owner(), 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().

int channel

char cid_name[AST_MAX_EXTENSION]

Definition at line 303 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 302 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 297 of file sig_analog.h.

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

Definition at line 300 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 328 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 274 of file sig_analog.h.

Referenced by __analog_handle_event(), and mkintf().

char dialdest[256]

Definition at line 332 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_call().

unsigned int dialednone

Definition at line 308 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 309 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 310 of file sig_analog.h.

Referenced by analog_available(), and analog_dnd().

struct analog_dialoperation dop [read]

Definition at line 263 of file sig_analog.h.

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

unsigned int echobreak

Definition at line 311 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_call().

char echorest[20]

Definition at line 329 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_call().

Definition at line 296 of file sig_analog.h.

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

char finaldial[64]

Definition at line 336 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_call().

struct timeval flashtime [read]

Last flash-hook time

Definition at line 334 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 333 of file sig_analog.h.

Referenced by analog_available(), and analog_hangup().

unsigned int hanguponpolarityswitch

unsigned int hidecallerid

Definition at line 312 of file sig_analog.h.

Referenced by __analog_ss_thread(), and analog_hangup().

unsigned int immediate

Definition at line 276 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 326 of file sig_analog.h.

Referenced by analog_call().

char lastcid_num[AST_MAX_EXTENSION]

Definition at line 325 of file sig_analog.h.

Referenced by __analog_ss_thread(), and analog_call().

char mohsuggest[MAX_MUSICCLASS]

Definition at line 301 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 267 of file sig_analog.h.

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

Definition at line 264 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 338 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_hangup().

char* origcid_num

malloced original callerid

Definition at line 337 of file sig_analog.h.

Referenced by __analog_handle_event(), and analog_hangup().

unsigned int outgoing

Definition at line 313 of file sig_analog.h.

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

Definition at line 295 of file sig_analog.h.

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

struct ast_channel* owner [read]

unsigned int permcallwaiting

TRUE if call waiting is enabled. (Configured option)

Definition at line 277 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 278 of file sig_analog.h.

Referenced by analog_hangup(), and mkintf().

int polarity

struct timeval polaritydelaytv [read]

Definition at line 331 of file sig_analog.h.

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

Definition at line 298 of file sig_analog.h.

Referenced by __analog_handle_event(), and mkintf().

unsigned int pulse

Definition at line 279 of file sig_analog.h.

Referenced by analog_call(), and mkintf().

int ringt

The SMDI interface to get SMDI messages from.

Definition at line 290 of file sig_analog.h.

Referenced by __analog_ss_thread(), and mkintf().

struct ast_channel* ss_astchan [read]

int stripmsd

Definition at line 299 of file sig_analog.h.

Referenced by analog_call(), and mkintf().

struct analog_subchannel subs[3] [read]

unsigned int threewaycalling

Definition at line 280 of file sig_analog.h.

Referenced by __analog_handle_event(), and mkintf().

unsigned int transfer

Definition at line 281 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 282 of file sig_analog.h.

Referenced by __analog_handle_event(), and mkintf().

unsigned int use_callerid

Whether or not to use caller id on this channel

Definition at line 283 of file sig_analog.h.

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

unsigned int use_smdi

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

Definition at line 288 of file sig_analog.h.

Referenced by __analog_ss_thread(), and mkintf().

int whichwink

SIG_FEATDMF_TA Which wink are we on?

Definition at line 335 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 Thu Apr 16 06:48:20 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6