Fri Jul 3 20:40:17 2009

Asterisk developer's documentation


dahdi_pvt Struct Reference

Collaboration diagram for dahdi_pvt:

Collaboration graph
[legend]

Data Fields

char accountcode [AST_MAX_ACCOUNT_CODE]
unsigned int adsi:1
int amaflags
unsigned int answeronpolarityswitch:1
char begindigit
int buf_no
int buf_policy
int busy_quietlength
int busy_tonelength
int busycount
unsigned int busydetect:1
char call_forward [AST_MAX_EXTENSION]
ast_group_t callgroup
int callingpres
int callprogress
unsigned int callreturn:1
char callwait_name [AST_MAX_EXTENSION]
char callwait_num [AST_MAX_EXTENSION]
int callwaitcas
unsigned int callwaiting:1
unsigned int callwaitingcallerid:1
int callwaitingrepeat
int callwaitrings
unsigned int cancallforward:1
unsigned int canpark:1
int channel
char cid_name [AST_MAX_EXTENSION]
char cid_num [AST_MAX_EXTENSION]
int cid_signalling
int cid_start
int cid_ton
int cidcwexpire
int cidlen
int cidpos
int cidrings
unsigned char * cidspill
unsigned int confirmanswer:1
int confno
int confusers
char context [AST_MAX_CONTEXT]
int cref
unsigned int dahditrcallerid:1
char defcontext [AST_MAX_CONTEXT]
unsigned int destroy:1
char dialdest [256]
unsigned int dialednone:1
unsigned int dialing:1
unsigned int didtdd:1
unsigned int digital:1
int distinctivering
unsigned int dnd:1
char dnid [AST_MAX_EXTENSION]
struct dahdi_dialoperation dop
struct dahdi_distRings drings
struct ast_dsp * dsp
int dsp_features
int dtmfrelax
unsigned int echobreak:1
unsigned int echocanbridged:1
int echocancel
unsigned int echocanon:1
char echorest [20]
int echotraining
char exten [AST_MAX_EXTENSION]
int fake_event
unsigned int faxhandled:1
char finaldial [64]
unsigned int firstradio:1
struct timeval flashtime
ast_group_t group
time_t guardtime
unsigned int hanguponpolarityswitch:1
unsigned int hardwaredtmf:1
unsigned int hidecallerid:1
unsigned int hidecalleridname:1
unsigned int ignoredtmf:1
unsigned int immediate:1
unsigned int inalarm:1
int inconference
char language [MAX_LANGUAGE]
char lastcid_name [AST_MAX_EXTENSION]
char lastcid_num [AST_MAX_EXTENSION]
int law
ast_mutex_t lock
char mailbox [AST_MAX_EXTENSION]
struct dahdi_pvt * master
unsigned int mate:1
char mohinterpret [MAX_MUSICCLASS]
char mohsuggest [MAX_MUSICCLASS]
int msgstate
struct dahdi_pvt * next
int onhooktime
int oprmode
struct dahdi_pvt * oprpeer
char * origcid_name
char * origcid_num
unsigned int outgoing:1
int outsigmod
unsigned int overlapdial:1
struct ast_channel * owner
unsigned int permcallwaiting:1
unsigned int permhidecallerid:1
ast_group_t pickupgroup
int polarity
struct timeval polaritydelaytv
int polarityonanswerdelay
struct dahdi_pvt * prev
unsigned int priexclusive:1
unsigned int priindication_oob:1
int propconfno
unsigned int pulse:1
unsigned int pulsedial:1
int radio
char rdnis [AST_MAX_EXTENSION]
unsigned int restartpending:1
unsigned int restrictcid:1
int ringt
int ringt_base
float rxgain
struct dahdi_confinfo saveconf
int sendcalleridafter
int sig
struct dahdi_pvt * slaves [MAX_SLAVES]
struct ast_smdi_interface * smdi_iface
int span
int stripmsd
struct dahdi_subchannel sub_unused
struct dahdi_subchannel subs [3]
struct tdd_state * tdd
unsigned int threewaycalling:1
int tonezone
unsigned int transfer:1
unsigned int transfertobusy:1
float txgain
unsigned int unknown_alarm:1
unsigned int use_callerid:1
unsigned int use_callingpres:1
unsigned int use_smdi:1
unsigned int usedistinctiveringdetection:1
int whichwink

Detailed Description

Definition at line 414 of file chan_dahdi.c.


Field Documentation

char accountcode[AST_MAX_ACCOUNT_CODE]

Account code

Definition at line 557 of file chan_dahdi.c.

Referenced by dahdi_new(), mkintf(), and process_dahdi().

unsigned int adsi

Definition at line 441 of file chan_dahdi.c.

Referenced by dahdi_new(), mkintf(), and process_dahdi().

int amaflags

AMA Flags

Definition at line 558 of file chan_dahdi.c.

Referenced by dahdi_new(), mkintf(), and process_dahdi().

unsigned int answeronpolarityswitch

Definition at line 442 of file chan_dahdi.c.

Referenced by dahdi_handle_event(), mkintf(), and process_dahdi().

char begindigit

Definition at line 582 of file chan_dahdi.c.

Referenced by dahdi_digit_begin(), and dahdi_digit_end().

int buf_no

Number of buffers

Definition at line 427 of file chan_dahdi.c.

Referenced by alloc_sub(), chandup(), mkintf(), and process_dahdi().

Buffer policy

Definition at line 428 of file chan_dahdi.c.

Referenced by alloc_sub(), chandup(), mkintf(), and process_dahdi().

Definition at line 549 of file chan_dahdi.c.

Referenced by dahdi_new(), mkintf(), and process_dahdi().

Definition at line 548 of file chan_dahdi.c.

Referenced by dahdi_new(), mkintf(), and process_dahdi().

int busycount

Definition at line 547 of file chan_dahdi.c.

Referenced by dahdi_new(), mkintf(), and process_dahdi().

unsigned int busydetect

Definition at line 443 of file chan_dahdi.c.

Referenced by dahdi_new(), dahdi_read(), mkintf(), and process_dahdi().

char call_forward[AST_MAX_EXTENSION]

Definition at line 560 of file chan_dahdi.c.

Referenced by dahdi_new(), and ss_thread().

Definition at line 526 of file chan_dahdi.c.

Referenced by dahdi_new(), mkintf(), and process_dahdi().

The value of callling presentation that we're going to use when placing a PRI call

Definition at line 533 of file chan_dahdi.c.

Referenced by dahdi_new().

unsigned int callreturn

Definition at line 444 of file chan_dahdi.c.

Referenced by mkintf(), process_dahdi(), and ss_thread().

char callwait_name[AST_MAX_EXTENSION]

Definition at line 518 of file chan_dahdi.c.

Referenced by dahdi_call(), and send_cwcidspill().

char callwait_num[AST_MAX_EXTENSION]

Definition at line 517 of file chan_dahdi.c.

Referenced by dahdi_call(), and send_cwcidspill().

unsigned int callwaiting

Definition at line 445 of file chan_dahdi.c.

Referenced by available(), dahdi_hangup(), mkintf(), process_dahdi(), and ss_thread().

unsigned int callwaitingcallerid

Definition at line 446 of file chan_dahdi.c.

Referenced by dahdi_callwait(), mkintf(), and process_dahdi().

How many samples to wait before repeating call waiting

Definition at line 534 of file chan_dahdi.c.

Referenced by __dahdi_exception(), dahdi_callwait(), dahdi_handle_event(), dahdi_hangup(), and dahdi_read().

Definition at line 543 of file chan_dahdi.c.

Referenced by dahdi_call(), dahdi_callwait(), and dahdi_read().

unsigned int cancallforward

Definition at line 447 of file chan_dahdi.c.

Referenced by mkintf(), process_dahdi(), and ss_thread().

unsigned int canpark

Definition at line 448 of file chan_dahdi.c.

Referenced by mkintf(), process_dahdi(), and ss_thread().

int channel

char cid_name[AST_MAX_EXTENSION]

char cid_num[AST_MAX_EXTENSION]

CID signalling type bell202 or v23

Definition at line 531 of file chan_dahdi.c.

Referenced by mkintf(), process_dahdi(), and ss_thread().

int cid_start

CID start indicator, polarity or ring

Definition at line 532 of file chan_dahdi.c.

Referenced by handle_init_event(), mkintf(), process_dahdi(), and ss_thread().

int cid_ton

Type Of Number (TON)

Definition at line 511 of file chan_dahdi.c.

Referenced by dahdi_new(), dahdi_show_channel(), and mkintf().

When to expire our muting for CID/CW

Definition at line 535 of file chan_dahdi.c.

Referenced by __dahdi_exception(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), send_callerid(), and send_cwcidspill().

int cidlen

Definition at line 538 of file chan_dahdi.c.

Referenced by dahdi_call(), dahdi_callwait(), do_monitor(), send_callerid(), and send_cwcidspill().

int cidpos

Definition at line 537 of file chan_dahdi.c.

Referenced by dahdi_call(), dahdi_callwait(), do_monitor(), send_callerid(), and send_cwcidspill().

int cidrings

Which ring to deliver CID on

Definition at line 566 of file chan_dahdi.c.

Referenced by dahdi_call(), dahdi_handle_event(), dahdi_hangup(), and dahdi_read().

unsigned char* cidspill

unsigned int confirmanswer

Wait for '#' to confirm answer

Definition at line 449 of file chan_dahdi.c.

Referenced by dahdi_handle_dtmfup(), dahdi_handle_event(), dahdi_hangup(), and dahdi_request().

int confno

Our conference

Definition at line 523 of file chan_dahdi.c.

Referenced by check_for_conference(), conf_add(), dahdi_show_channel(), isourconf(), mkintf(), reset_conf(), and update_conf().

int confusers

Who is using our conference

Definition at line 524 of file chan_dahdi.c.

char context[AST_MAX_CONTEXT]

int cref

Call reference number

Definition at line 553 of file chan_dahdi.c.

unsigned int dahditrcallerid

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

Definition at line 485 of file chan_dahdi.c.

Referenced by dahdi_handle_event(), mkintf(), and process_dahdi().

char defcontext[AST_MAX_CONTEXT]

Definition at line 502 of file chan_dahdi.c.

Referenced by mkintf(), and ss_thread().

unsigned int destroy

Definition at line 450 of file chan_dahdi.c.

Referenced by chandup(), dahdi_hangup(), dahdi_show_channel(), and mkintf().

char dialdest[256]

Definition at line 562 of file chan_dahdi.c.

Referenced by dahdi_call(), dahdi_digit_begin(), and dahdi_handle_event().

unsigned int dialednone

Definition at line 452 of file chan_dahdi.c.

Referenced by dahdi_call(), and dahdi_handle_event().

unsigned int dialing

unsigned int didtdd

flag to say its done it once

Definition at line 451 of file chan_dahdi.c.

Referenced by dahdi_hangup(), and dahdi_setoption().

unsigned int digital

Which distinctivering to use

Definition at line 565 of file chan_dahdi.c.

Referenced by dahdi_call(), dahdi_hangup(), and dahdi_request().

unsigned int dnd

Definition at line 455 of file chan_dahdi.c.

Referenced by __action_dnd(), __action_showchannels(), available(), and ss_thread().

char dnid[AST_MAX_EXTENSION]

Definition at line 520 of file chan_dahdi.c.

Referenced by dahdi_new().

struct dahdi_dialoperation dop [read]

Definition at line 554 of file chan_dahdi.c.

Referenced by dahdi_call(), dahdi_handle_event(), dahdi_indicate(), and ss_thread().

struct dahdi_distRings drings [read]

Definition at line 499 of file chan_dahdi.c.

Referenced by mkintf(), and ss_thread().

struct ast_dsp* dsp [read]

Definition at line 581 of file chan_dahdi.c.

Referenced by dahdi_new(), disable_dtmf_detect(), and enable_dtmf_detect().

int dtmfrelax

whether to run in relaxed DTMF mode

Definition at line 567 of file chan_dahdi.c.

Referenced by dahdi_hangup(), dahdi_new(), dahdi_setoption(), dahdi_show_channel(), mkintf(), process_dahdi(), and ss_thread().

unsigned int echobreak

Definition at line 456 of file chan_dahdi.c.

Referenced by dahdi_call(), and dahdi_handle_event().

unsigned int echocanbridged

Definition at line 457 of file chan_dahdi.c.

Referenced by dahdi_bridge(), dahdi_show_channel(), mkintf(), and process_dahdi().

unsigned int echocanon

char echorest[20]

Definition at line 546 of file chan_dahdi.c.

Referenced by dahdi_call(), and dahdi_handle_event().

Definition at line 545 of file chan_dahdi.c.

Referenced by dahdi_call(), dahdi_handle_event(), dahdi_train_ec(), mkintf(), and process_dahdi().

char exten[AST_MAX_EXTENSION]

unsigned int faxhandled

Has a fax tone already been handled?

Definition at line 459 of file chan_dahdi.c.

Referenced by dahdi_handle_dtmfup(), dahdi_hangup(), and dahdi_show_channel().

char finaldial[64]

Definition at line 556 of file chan_dahdi.c.

Referenced by dahdi_call(), and dahdi_handle_event().

unsigned int firstradio

Definition at line 460 of file chan_dahdi.c.

Referenced by dahdi_read(), and mkintf().

struct timeval flashtime [read]

Last flash-hook time

Definition at line 551 of file chan_dahdi.c.

Referenced by __dahdi_exception(), and dahdi_handle_event().

Definition at line 521 of file chan_dahdi.c.

Referenced by available(), mkintf(), and process_dahdi().

time_t guardtime

Must wait this much time before using for new call

Definition at line 530 of file chan_dahdi.c.

Referenced by available(), and dahdi_hangup().

unsigned int hanguponpolarityswitch

unsigned int hardwaredtmf

Definition at line 462 of file chan_dahdi.c.

Referenced by dahdi_new(), disable_dtmf_detect(), enable_dtmf_detect(), and ss_thread().

unsigned int hidecallerid

Definition at line 463 of file chan_dahdi.c.

Referenced by dahdi_call(), dahdi_hangup(), mkintf(), process_dahdi(), and ss_thread().

unsigned int hidecalleridname

Hide just the name not the number for legacy PBX use

Definition at line 464 of file chan_dahdi.c.

Referenced by dahdi_call(), and process_dahdi().

unsigned int ignoredtmf

Definition at line 465 of file chan_dahdi.c.

Referenced by dahdi_hangup(), dahdi_read(), disable_dtmf_detect(), and enable_dtmf_detect().

unsigned int immediate

Answer before getting digits?

Definition at line 466 of file chan_dahdi.c.

Referenced by handle_init_event(), mkintf(), process_dahdi(), and ss_thread().

unsigned int inalarm

If our real should be in the conference

Definition at line 425 of file chan_dahdi.c.

Referenced by dahdi_bridge(), dahdi_show_channel(), dahdi_unlink(), and update_conf().

char language[MAX_LANGUAGE]

Definition at line 504 of file chan_dahdi.c.

Referenced by dahdi_new(), dahdi_show_channels(), mkintf(), and process_dahdi().

char lastcid_name[AST_MAX_EXTENSION]

Definition at line 514 of file chan_dahdi.c.

Referenced by dahdi_call(), and dahdi_read().

char lastcid_num[AST_MAX_EXTENSION]

Definition at line 513 of file chan_dahdi.c.

Referenced by dahdi_call(), dahdi_read(), and ss_thread().

int law

char mailbox[AST_MAX_EXTENSION]

Definition at line 561 of file chan_dahdi.c.

Referenced by do_monitor(), has_voicemail(), mkintf(), and process_dahdi().

struct dahdi_pvt* master [read]

Master to us (we follow their conferencing)

Definition at line 424 of file chan_dahdi.c.

Referenced by check_for_conference(), dahdi_link(), dahdi_show_channel(), dahdi_unlink(), and update_conf().

unsigned int mate

flag to say its in MATE mode

Definition at line 469 of file chan_dahdi.c.

Referenced by dahdi_sendtext(), and dahdi_setoption().

char mohinterpret[MAX_MUSICCLASS]

Definition at line 505 of file chan_dahdi.c.

Referenced by dahdi_indicate(), dahdi_show_channels(), mkintf(), and process_dahdi().

char mohsuggest[MAX_MUSICCLASS]

Definition at line 506 of file chan_dahdi.c.

Referenced by dahdi_handle_event(), dahdi_hangup(), mkintf(), and process_dahdi().

int msgstate

Definition at line 564 of file chan_dahdi.c.

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

struct dahdi_pvt* next [read]

Definition at line 563 of file chan_dahdi.c.

Referenced by dahdi_handle_event(), dahdi_hangup(), do_monitor(), and mkintf().

int oprmode

"Operator Services" mode

Definition at line 432 of file chan_dahdi.c.

Referenced by __dahdi_exception(), available(), dahdi_answer(), dahdi_call(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), and dahdi_setoption().

struct dahdi_pvt* oprpeer [read]

"Operator Services" peer tech_pvt ptr

Definition at line 433 of file chan_dahdi.c.

Referenced by dahdi_handle_event(), and dahdi_setoption().

char* origcid_name

malloced original callerid

Definition at line 516 of file chan_dahdi.c.

Referenced by dahdi_handle_event(), and dahdi_hangup().

char* origcid_num

malloced original callerid

Definition at line 515 of file chan_dahdi.c.

Referenced by dahdi_handle_event(), and dahdi_hangup().

unsigned int outgoing

int outsigmod

Outbound Signalling style (modifier)

Definition at line 431 of file chan_dahdi.c.

Referenced by dahdi_call(), dahdi_handle_event(), mkintf(), and process_dahdi().

unsigned int overlapdial

Definition at line 471 of file chan_dahdi.c.

Referenced by dahdi_handle_event(), and dahdi_read().

struct ast_channel* owner [read]

unsigned int permcallwaiting

Definition at line 472 of file chan_dahdi.c.

Referenced by dahdi_hangup(), and mkintf().

unsigned int permhidecallerid

Whether to hide our outgoing caller ID or not

Definition at line 473 of file chan_dahdi.c.

Referenced by dahdi_hangup(), and mkintf().

Definition at line 527 of file chan_dahdi.c.

Referenced by dahdi_new(), mkintf(), and process_dahdi().

int polarity

struct timeval polaritydelaytv [read]

Definition at line 570 of file chan_dahdi.c.

Referenced by dahdi_answer(), and dahdi_handle_event().

Definition at line 569 of file chan_dahdi.c.

Referenced by dahdi_handle_event(), mkintf(), and process_dahdi().

struct dahdi_pvt* prev [read]

Prev channel in list

Definition at line 438 of file chan_dahdi.c.

Referenced by chandup(), dahdi_destroy_channel_bynum(), dahdi_hangup(), dahdi_request(), destroy_channel(), destroy_dahdi_pvt(), and mkintf().

unsigned int priexclusive

Definition at line 475 of file chan_dahdi.c.

Referenced by dahdi_call(), mkintf(), and process_dahdi().

unsigned int priindication_oob

Definition at line 474 of file chan_dahdi.c.

Referenced by dahdi_indicate(), mkintf(), and process_dahdi().

Propagated conference number

Definition at line 525 of file chan_dahdi.c.

Referenced by dahdi_show_channel(), and mkintf().

unsigned int pulse

Definition at line 476 of file chan_dahdi.c.

Referenced by dahdi_call(), dahdi_digit_begin(), dahdi_digit_end(), mkintf(), and process_dahdi().

unsigned int pulsedial

whether a pulse dial phone is detected

Definition at line 477 of file chan_dahdi.c.

Referenced by dahdi_bridge(), dahdi_handle_event(), dahdi_hangup(), dahdi_read(), and dahdi_show_channel().

int radio

char rdnis[AST_MAX_EXTENSION]

Definition at line 519 of file chan_dahdi.c.

Referenced by dahdi_hangup(), and dahdi_new().

unsigned int restartpending

flag to ensure counted only once for restart

Definition at line 478 of file chan_dahdi.c.

Referenced by dahdi_hangup(), and dahdi_softhangup_all().

unsigned int restrictcid

Whether restrict the callerid -> only send ANI

Definition at line 479 of file chan_dahdi.c.

Referenced by mkintf(), and process_dahdi().

int ringt

Definition at line 540 of file chan_dahdi.c.

Referenced by dahdi_handle_event(), handle_init_event(), mkintf(), and ss_thread().

float rxgain

struct dahdi_confinfo saveconf [read]

Saved conference info

Definition at line 421 of file chan_dahdi.c.

Referenced by restore_conference(), and save_conference().

Definition at line 571 of file chan_dahdi.c.

Referenced by dahdi_call(), mkintf(), and process_dahdi().

int sig

struct dahdi_pvt* slaves[MAX_SLAVES] [read]

Slave to us (follows our conferencing)

Definition at line 423 of file chan_dahdi.c.

Referenced by dahdi_link(), dahdi_show_channel(), dahdi_unlink(), isslavenative(), and update_conf().

Definition at line 497 of file chan_dahdi.c.

Referenced by destroy_dahdi_pvt(), mkintf(), and ss_thread().

int span

int stripmsd

Definition at line 541 of file chan_dahdi.c.

Referenced by dahdi_call(), mkintf(), and process_dahdi().

Just a safety precaution

Definition at line 419 of file chan_dahdi.c.

struct dahdi_subchannel subs[3] [read]

struct tdd_state* tdd [read]

TDD flag

Definition at line 559 of file chan_dahdi.c.

Referenced by dahdi_read(), dahdi_sendtext(), and dahdi_setoption().

unsigned int threewaycalling

Definition at line 480 of file chan_dahdi.c.

Referenced by dahdi_handle_event(), mkintf(), and process_dahdi().

int tonezone

tone zone for this chan, or -1 for default

Definition at line 436 of file chan_dahdi.c.

Referenced by mkintf(), and process_dahdi().

unsigned int transfer

Definition at line 481 of file chan_dahdi.c.

Referenced by dahdi_bridge(), dahdi_handle_event(), mkintf(), process_dahdi(), and ss_thread().

unsigned int transfertobusy

allow flash-transfers to busy channels

Definition at line 486 of file chan_dahdi.c.

Referenced by dahdi_handle_event(), mkintf(), and process_dahdi().

float txgain

unsigned int unknown_alarm

Definition at line 468 of file chan_dahdi.c.

Referenced by dahdi_handle_event(), handle_alarms(), handle_init_event(), and mkintf().

unsigned int use_callerid

Whether or not to use caller id on this channel

Definition at line 482 of file chan_dahdi.c.

Referenced by dahdi_call(), mkintf(), process_dahdi(), and ss_thread().

unsigned int use_callingpres

Whether to use the callingpres the calling switch sends

Definition at line 483 of file chan_dahdi.c.

Referenced by dahdi_call(), mkintf(), and process_dahdi().

unsigned int use_smdi

Definition at line 496 of file chan_dahdi.c.

Referenced by destroy_dahdi_pvt(), mkintf(), process_dahdi(), and ss_thread().

Definition at line 484 of file chan_dahdi.c.

Referenced by mkintf(), process_dahdi(), and ss_thread().

int whichwink

SIG_FEATDMF_TA Which wink are we on?

Definition at line 555 of file chan_dahdi.c.

Referenced by dahdi_call(), and dahdi_handle_event().


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

Generated on Fri Jul 3 20:40:19 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.9