| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 
#include <sig_analog.h>

| 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. | |
| unsigned int | callwaiting:1 | 
| unsigned int | callwaitingcallerid:1 | 
| unsigned int | callwaitingdeluxe:1 | 
| unsigned int | callwaitingdeluxepending:1 | 
| TRUE if a Call Waiting Deluxe action is currently pending. | |
| 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 | lastexten [AST_MAX_EXTENSION] | 
| unsigned int | lastnumredial:1 | 
| 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 | 
| enum analog_dialmode | permdialmode | 
| 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_interface * | smdi_iface | 
| The SMDI interface to get SMDI messages from. | |
| struct ast_channel * | ss_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. | |
| unsigned int | usedistinctiveringdetection:1 | 
| int | whichwink | 
Definition at line 271 of file sig_analog.h.
| unsigned int ani_info_digits | 
Definition at line 287 of file sig_analog.h.
Referenced by __analog_ss_thread(), and mkintf().
| unsigned int ani_timeout | 
Definition at line 288 of file sig_analog.h.
Referenced by __analog_ss_thread(), and mkintf().
| unsigned int ani_wink_time | 
Definition at line 289 of file sig_analog.h.
Referenced by __analog_ss_thread(), and mkintf().
| unsigned int answeronpolarityswitch | 
Definition at line 291 of file sig_analog.h.
Referenced by __analog_handle_event(), analog_call(), and mkintf().
| char call_forward[AST_MAX_EXTENSION] | 
Definition at line 379 of file sig_analog.h.
Referenced by __analog_ss_thread(), analog_new_ast_channel(), dahdichan_read_property(), and dahdichan_write_property().
| unsigned int call_qualifier | 
Call qualifier delivery
Definition at line 358 of file sig_analog.h.
Referenced by analog_call(), and my_send_callerid().
| 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().
| struct ast_party_caller caller | 
Definition at line 365 of file sig_analog.h.
Referenced by __analog_handle_event(), analog_call(), analog_handle_dtmf(), and my_send_callerid().
| unsigned int callreturn | 
Definition at line 293 of file sig_analog.h.
Referenced by __analog_ss_thread(), and mkintf().
| char callwait_name[AST_MAX_EXTENSION] | 
Definition at line 361 of file sig_analog.h.
Referenced by analog_call(), and analog_handle_dtmf().
| char callwait_num[AST_MAX_EXTENSION] | 
Definition at line 360 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.
Definition at line 351 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 336 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 312 of file sig_analog.h.
Referenced by analog_callwait(), and mkintf().
| unsigned int callwaitingdeluxe | 
TRUE if Call Waiting Deluxe options are available
Definition at line 302 of file sig_analog.h.
Referenced by __analog_handle_event(), and mkintf().
| unsigned int callwaitingdeluxepending | 
TRUE if a Call Waiting Deluxe action is currently pending.
Definition at line 356 of file sig_analog.h.
Referenced by __analog_handle_event(), analog_handle_dtmf(), analog_handle_init_event(), and dahdi_write().
| unsigned int cancallforward | 
Definition at line 294 of file sig_analog.h.
Referenced by __analog_ss_thread(), and mkintf().
| unsigned int canpark | 
Definition at line 295 of file sig_analog.h.
Referenced by __analog_ss_thread(), and mkintf().
| 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().
| int channel | 
Channel Number
Definition at line 321 of file sig_analog.h.
Referenced by __analog_handle_event(), __analog_ss_thread(), _analog_get_index(), analog_answer(), analog_available(), analog_callwaiting_deluxe(), analog_dnd(), analog_exception(), analog_fixup(), analog_handle_init_event(), analog_hangup(), analog_publish_dnd_state(), analog_request(), analog_send_callerid(), analog_update_conf(), and mkintf().
| char cid_name[AST_MAX_EXTENSION] | 
Definition at line 332 of file sig_analog.h.
Referenced by __analog_handle_event(), analog_hangup(), and mkintf().
| char cid_num[AST_MAX_EXTENSION] | 
Definition at line 331 of file sig_analog.h.
Referenced by __analog_handle_event(), __analog_ss_thread(), analog_hangup(), and mkintf().
| int cid_signalling | 
Asterisk callerid type we're using
Definition at line 326 of file sig_analog.h.
Referenced by __analog_ss_thread(), analog_new(), and mkintf().
| enum analog_cid_start cid_start | 
Definition at line 329 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 368 of file sig_analog.h.
Referenced by __analog_handle_event(), analog_hangup(), and analog_set_cadence().
| unsigned int cshactive | 
TRUE if FXS channel is currently held by an incoming call
Definition at line 337 of file sig_analog.h.
Referenced by __analog_handle_event(), analog_available(), analog_handle_init_event(), and analog_hangup().
| 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().
| char dialdest[256] | 
Definition at line 372 of file sig_analog.h.
Referenced by __analog_handle_event(), and analog_call().
| unsigned int dialednone | 
Definition at line 338 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 339 of file sig_analog.h.
Referenced by __analog_handle_event(), and analog_set_dialing().
| enum analog_dialmode dialmode | 
Which of pulse and/or tone dialing to support
Definition at line 324 of file sig_analog.h.
Referenced by __analog_handle_event(), __analog_ss_thread(), analog_stop_callwait(), dahdi_func_read(), dahdi_func_write(), dahdi_hangup(), and dahdi_read().
| unsigned int dnd | 
TRUE if Do-Not-Disturb is enabled.
Definition at line 340 of file sig_analog.h.
Referenced by analog_available(), analog_dnd(), dahdichan_read_property(), and dahdichan_write_property().
| struct analog_dialoperation dop | 
Definition at line 280 of file sig_analog.h.
Referenced by __analog_handle_event(), __analog_ss_thread(), and analog_call().
| unsigned int echobreak | 
Definition at line 341 of file sig_analog.h.
Referenced by __analog_handle_event(), and analog_call().
| char echorest[20] | 
Definition at line 369 of file sig_analog.h.
Referenced by __analog_handle_event(), and analog_call().
| int echotraining | 
Definition at line 325 of file sig_analog.h.
Referenced by __analog_handle_event(), analog_call(), and mkintf().
| char finaldial[64] | 
Definition at line 376 of file sig_analog.h.
Referenced by __analog_handle_event(), and analog_call().
| struct timeval flashtime | 
Last flash-hook time
Definition at line 374 of file sig_analog.h.
Referenced by __analog_handle_event(), analog_exception(), analog_handle_dtmf(), and dahdi_write().
| int fxsoffhookstate | 
Definition at line 282 of file sig_analog.h.
Referenced by __analog_handle_event(), analog_handle_init_event(), dahdi_hangup(), do_monitor(), and mkintf().
| time_t guardtime | 
Must wait this much time before using for new call
Definition at line 373 of file sig_analog.h.
Referenced by analog_available(), and analog_hangup().
| unsigned int hanguponpolarityswitch | 
Definition at line 297 of file sig_analog.h.
Referenced by __analog_handle_event(), __analog_ss_thread(), analog_answer(), analog_call(), analog_handle_init_event(), and mkintf().
| unsigned int hidecallerid | 
Definition at line 342 of file sig_analog.h.
Referenced by __analog_ss_thread(), and analog_hangup().
| unsigned int immediate | 
Definition at line 298 of file sig_analog.h.
Referenced by __analog_ss_thread(), analog_handle_init_event(), and mkintf().
| 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().
| unsigned int inalarm | 
Definition at line 344 of file sig_analog.h.
Referenced by __analog_handle_event(), analog_handle_init_event(), analog_set_alarm(), mkintf(), mwi_thread(), and my_distinctive_ring().
| char lastcid_name[AST_MAX_EXTENSION] | 
Definition at line 363 of file sig_analog.h.
Referenced by analog_call().
| char lastcid_num[AST_MAX_EXTENSION] | 
Definition at line 362 of file sig_analog.h.
Referenced by __analog_ss_thread(), and analog_call().
| char lastexten[AST_MAX_EXTENSION] | 
Last number dialed
Definition at line 364 of file sig_analog.h.
Referenced by __analog_ss_thread(), dahdichan_read_property(), and dahdichan_write_property().
| unsigned int lastnumredial | 
TRUE if last number redial allowed
Definition at line 300 of file sig_analog.h.
Referenced by __analog_ss_thread(), and mkintf().
| char mohsuggest[MAX_MUSICCLASS] | 
Definition at line 330 of file sig_analog.h.
Referenced by __analog_handle_event(), analog_callwaiting_deluxe(), analog_hangup(), and mkintf().
| 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().
| int onhooktime | 
Definition at line 281 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 378 of file sig_analog.h.
Referenced by __analog_handle_event(), and analog_hangup().
| char* origcid_num | 
malloced original callerid
Definition at line 377 of file sig_analog.h.
Referenced by __analog_handle_event(), and analog_hangup().
| unsigned int outgoing | 
Definition at line 343 of file sig_analog.h.
Referenced by __analog_handle_event(), analog_available(), and analog_set_outgoing().
| enum analog_sigtype outsigmod | 
Definition at line 323 of file sig_analog.h.
Referenced by __analog_handle_event(), analog_call(), analog_new(), and mkintf().
| struct ast_channel* owner | 
Our current active owner (if applicable)
Definition at line 277 of file sig_analog.h.
Referenced by __analog_handle_event(), analog_available(), analog_call(), analog_callwaiting_deluxe(), analog_exception(), analog_fixup(), analog_hangup(), analog_new_ast_channel(), analog_request(), analog_set_new_owner(), and do_monitor().
| unsigned int permcallwaiting | 
TRUE if call waiting is enabled. (Configured option)
Definition at line 301 of file sig_analog.h.
Referenced by analog_config_complete(), analog_hangup(), and mkintf().
| enum analog_dialmode permdialmode | 
Which of pulse and/or tone dialing to support
Definition at line 304 of file sig_analog.h.
Referenced by __analog_ss_thread(), analog_stop_callwait(), dahdi_hangup(), and mkintf().
| unsigned int permhidecallerid | 
Whether to hide our outgoing caller ID or not
Definition at line 303 of file sig_analog.h.
Referenced by __analog_ss_thread(), analog_hangup(), and mkintf().
| int polarity | 
Definition at line 370 of file sig_analog.h.
Referenced by __analog_handle_event(), __analog_ss_thread(), analog_handle_init_event(), analog_hangup(), and dahdichan_write_property().
| struct timeval polaritydelaytv | 
Definition at line 371 of file sig_analog.h.
Referenced by __analog_handle_event(), analog_answer(), and analog_call().
| int polarityonanswerdelay | 
Definition at line 327 of file sig_analog.h.
Referenced by __analog_handle_event(), and mkintf().
| unsigned int pulse | 
Definition at line 305 of file sig_analog.h.
Referenced by analog_call(), and mkintf().
| int redirecting_reason | 
Redirecting reason
Definition at line 366 of file sig_analog.h.
Referenced by analog_call(), and my_send_callerid().
| int ringt | 
Definition at line 385 of file sig_analog.h.
Referenced by __analog_ss_thread(), analog_set_ringtimeout(), mkintf(), my_distinctive_ring(), and my_get_callerid().
| int ringt_base | 
Definition at line 386 of file sig_analog.h.
Referenced by __analog_handle_event(), __analog_ss_thread(), analog_handle_init_event(), mkintf(), and my_distinctive_ring().
| enum analog_sigtype sig | 
Definition at line 273 of file sig_analog.h.
Referenced by __analog_handle_event(), __analog_ss_thread(), analog_answer(), analog_available(), analog_call(), analog_config_complete(), analog_handle_init_event(), analog_hangup(), and analog_new().
| struct ast_smdi_interface* smdi_iface | 
The SMDI interface to get SMDI messages from.
Definition at line 318 of file sig_analog.h.
Referenced by __analog_ss_thread(), and mkintf().
| struct ast_channel* ss_astchan | 
Definition at line 382 of file sig_analog.h.
Referenced by __analog_handle_event(), __analog_ss_thread(), analog_handle_init_event(), analog_ss_thread_start(), and my_get_callerid().
| int stripmsd | 
Definition at line 328 of file sig_analog.h.
Referenced by analog_call(), and mkintf().
| struct analog_subchannel subs[3] | 
Sub-channels
Definition at line 279 of file sig_analog.h.
Referenced by __analog_handle_event(), __analog_ss_thread(), _analog_get_index(), analog_alloc_sub(), analog_answer(), analog_attempt_transfer(), analog_available(), analog_call(), analog_callwaiting_deluxe(), analog_exception(), analog_fixup(), analog_handle_dtmf(), analog_hangup(), analog_lock_sub_owner(), analog_new(), analog_new_ast_channel(), analog_set_inthreeway(), analog_swap_subs(), analog_unalloc_sub(), analog_update_conf(), and do_monitor().
| unsigned int threewaycalling | 
Definition at line 306 of file sig_analog.h.
Referenced by __analog_handle_event(), and mkintf().
| unsigned int threewaysilenthold | 
Whether to time out a three-way dial tone to silence
Definition at line 307 of file sig_analog.h.
Referenced by __analog_ss_thread().
| unsigned int transfer | 
Definition at line 308 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 309 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 310 of file sig_analog.h.
Referenced by __analog_ss_thread(), analog_call(), analog_handle_init_event(), analog_send_callerid(), and mkintf().
| unsigned int use_smdi | 
TRUE if SMDI (Simplified Message Desk Interface) is enabled.
Definition at line 316 of file sig_analog.h.
Referenced by __analog_ss_thread(), and mkintf().
| unsigned int usedistinctiveringdetection | 
Definition at line 311 of file sig_analog.h.
Referenced by __analog_ss_thread(), analog_distinctive_ring(), analog_handle_init_event(), and mkintf().
| int whichwink | 
SIG_FEATDMF_TA Which wink are we on?
Definition at line 375 of file sig_analog.h.
Referenced by __analog_handle_event(), and analog_call().