Tue Sep 30 01:20:09 2008

Asterisk developer's documentation


zt_pvt Struct Reference

Collaboration diagram for zt_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 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_pres
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
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]
ZT_DIAL_OPERATION dop
struct zt_distRings drings
struct ast_dspdsp
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 zt_pvtmaster
unsigned int mate:1
char mohinterpret [MAX_MUSICCLASS]
char mohsuggest [MAX_MUSICCLASS]
int msgstate
struct zt_pvtnext
int onhooktime
int oprmode
struct zt_pvtoprpeer
char * origcid_name
char * origcid_num
unsigned int outgoing:1
int outsigmod
unsigned int overlapdial:1
struct ast_channelowner
unsigned int permcallwaiting:1
unsigned int permhidecallerid:1
ast_group_t pickupgroup
int polarity
struct timeval polaritydelaytv
int polarityonanswerdelay
struct zt_pvtprev
unsigned int priexclusive:1
unsigned int priindication_oob:2
unsigned int pritransfer:2
int propconfno
unsigned int pulse:1
unsigned int pulsedial:1
int radio
char rdnis [AST_MAX_EXTENSION]
unsigned int restrictcid:1
int ringt
int ringt_base
float rxgain
struct zt_confinfo saveconf
int sendcalleridafter
int sig
struct zt_pvtslaves [MAX_SLAVES]
struct ast_smdi_interfacesmdi_iface
int span
int stripmsd
struct zt_subchannel sub_unused
struct zt_subchannel subs [3]
struct tdd_statetdd
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
unsigned int zaptrcallerid:1

Detailed Description

Definition at line 445 of file chan_zap.c.


Field Documentation

char accountcode[AST_MAX_ACCOUNT_CODE]

Account code

Definition at line 589 of file chan_zap.c.

Referenced by mkintf(), process_zap(), and zt_new().

unsigned int adsi

Definition at line 470 of file chan_zap.c.

Referenced by mkintf(), process_zap(), and zt_new().

int amaflags

AMA Flags

Definition at line 590 of file chan_zap.c.

Referenced by mkintf(), process_zap(), and zt_new().

unsigned int answeronpolarityswitch

Definition at line 471 of file chan_zap.c.

Referenced by mkintf(), process_zap(), and zt_handle_event().

char begindigit

Definition at line 619 of file chan_zap.c.

Referenced by zt_digit_begin(), and zt_digit_end().

Definition at line 581 of file chan_zap.c.

Referenced by mkintf(), process_zap(), and zt_new().

Definition at line 580 of file chan_zap.c.

Referenced by mkintf(), process_zap(), and zt_new().

int busycount

Definition at line 579 of file chan_zap.c.

Referenced by mkintf(), process_zap(), and zt_new().

unsigned int busydetect

Definition at line 472 of file chan_zap.c.

Referenced by mkintf(), process_zap(), zt_new(), and zt_read().

char call_forward[AST_MAX_EXTENSION]

Definition at line 592 of file chan_zap.c.

Referenced by ss_thread(), and zt_new().

Definition at line 558 of file chan_zap.c.

Referenced by mkintf(), process_zap(), and zt_new().

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

Definition at line 565 of file chan_zap.c.

Referenced by zt_new().

Definition at line 582 of file chan_zap.c.

Referenced by mkintf(), process_zap(), zt_handle_dtmfup(), zt_handle_event(), zt_new(), and zt_read().

unsigned int callreturn

Definition at line 473 of file chan_zap.c.

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

char callwait_name[AST_MAX_EXTENSION]

Definition at line 550 of file chan_zap.c.

Referenced by send_cwcidspill(), and zt_call().

char callwait_num[AST_MAX_EXTENSION]

Definition at line 549 of file chan_zap.c.

Referenced by send_cwcidspill(), and zt_call().

unsigned int callwaiting

Definition at line 474 of file chan_zap.c.

Referenced by available(), mkintf(), process_zap(), ss_thread(), and zt_hangup().

unsigned int callwaitingcallerid

Definition at line 475 of file chan_zap.c.

Referenced by mkintf(), process_zap(), and zt_callwait().

How many samples to wait before repeating call waiting

Definition at line 566 of file chan_zap.c.

Referenced by __zt_exception(), zt_callwait(), zt_handle_event(), zt_hangup(), and zt_read().

Definition at line 575 of file chan_zap.c.

Referenced by zt_call(), zt_callwait(), and zt_read().

unsigned int cancallforward

Definition at line 476 of file chan_zap.c.

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

unsigned int canpark

Definition at line 477 of file chan_zap.c.

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

int channel

char cid_name[AST_MAX_EXTENSION]

char cid_num[AST_MAX_EXTENSION]

int cid_pres

Calling Presentation

Definition at line 543 of file chan_zap.c.

CID signalling type bell202 or v23

Definition at line 563 of file chan_zap.c.

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

int cid_start

CID start indicator, polarity or ring

Definition at line 564 of file chan_zap.c.

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

int cid_ton

Type Of Number (TON)

Definition at line 542 of file chan_zap.c.

Referenced by mkintf(), zap_show_channel(), and zt_new().

When to expire our muting for CID/CW

Definition at line 567 of file chan_zap.c.

Referenced by __zt_exception(), send_callerid(), send_cwcidspill(), zt_handle_event(), zt_hangup(), and zt_read().

int cidlen

Definition at line 570 of file chan_zap.c.

Referenced by do_monitor(), send_callerid(), send_cwcidspill(), zt_call(), and zt_callwait().

int cidpos

Definition at line 569 of file chan_zap.c.

Referenced by do_monitor(), send_callerid(), send_cwcidspill(), zt_call(), and zt_callwait().

int cidrings

Which ring to deliver CID on

Definition at line 598 of file chan_zap.c.

Referenced by zt_call(), zt_handle_event(), zt_hangup(), and zt_read().

unsigned char* cidspill

unsigned int confirmanswer

Wait for '#' to confirm answer

Definition at line 478 of file chan_zap.c.

Referenced by zt_handle_dtmfup(), zt_handle_event(), zt_hangup(), and zt_request().

int confno

Our conference

Definition at line 555 of file chan_zap.c.

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

int confusers

Who is using our conference

Definition at line 556 of file chan_zap.c.

char context[AST_MAX_CONTEXT]

int cref

Call reference number

Definition at line 585 of file chan_zap.c.

char defcontext[AST_MAX_CONTEXT]

Definition at line 533 of file chan_zap.c.

Referenced by mkintf(), and ss_thread().

unsigned int destroy

Definition at line 479 of file chan_zap.c.

Referenced by chandup(), mkintf(), zap_show_channel(), and zt_hangup().

char dialdest[256]

Definition at line 594 of file chan_zap.c.

Referenced by zt_call(), zt_digit_begin(), and zt_handle_event().

unsigned int dialednone

Definition at line 481 of file chan_zap.c.

Referenced by zt_call(), and zt_handle_event().

unsigned int dialing

unsigned int didtdd

flag to say its done it once

Definition at line 480 of file chan_zap.c.

Referenced by zt_hangup(), and zt_setoption().

unsigned int digital

Which distinctivering to use

Definition at line 597 of file chan_zap.c.

Referenced by zt_call(), zt_hangup(), and zt_request().

unsigned int dnd

char dnid[AST_MAX_EXTENSION]

Definition at line 552 of file chan_zap.c.

Referenced by zt_call(), and zt_new().

ZT_DIAL_OPERATION dop

Definition at line 586 of file chan_zap.c.

Referenced by ss_thread(), zt_call(), zt_handle_event(), and zt_indicate().

struct zt_distRings drings [read]

Definition at line 530 of file chan_zap.c.

Referenced by mkintf(), and ss_thread().

struct ast_dsp* dsp [read]

Definition at line 618 of file chan_zap.c.

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

int dtmfrelax

whether to run in relaxed DTMF mode

Definition at line 599 of file chan_zap.c.

Referenced by mkintf(), process_zap(), ss_thread(), zap_show_channel(), zt_hangup(), zt_new(), and zt_setoption().

unsigned int echobreak

Definition at line 485 of file chan_zap.c.

Referenced by zt_call(), and zt_handle_event().

unsigned int echocanbridged

Definition at line 486 of file chan_zap.c.

Referenced by mkintf(), process_zap(), zap_show_channel(), and zt_bridge().

unsigned int echocanon

Definition at line 487 of file chan_zap.c.

Referenced by zap_show_channel(), zt_disable_ec(), zt_enable_ec(), and zt_handle_event().

char echorest[20]

Definition at line 578 of file chan_zap.c.

Referenced by zt_call(), and zt_handle_event().

Definition at line 577 of file chan_zap.c.

Referenced by mkintf(), process_zap(), zt_call(), zt_handle_event(), and zt_train_ec().

char exten[AST_MAX_EXTENSION]

Definition at line 534 of file chan_zap.c.

Referenced by mkintf(), ss_thread(), zap_show_channel(), zap_show_channels(), zt_hangup(), and zt_new().

Definition at line 600 of file chan_zap.c.

Referenced by __zt_exception(), zap_fake_event(), zt_handle_event(), zt_new(), and zt_read().

unsigned int faxhandled

Has a fax tone already been handled? KPJ: i will abuse this flag to implement a zapata option for dialing out on a zap channel with EC to be off no matter what happens.

Definition at line 488 of file chan_zap.c.

Referenced by zap_show_channel(), zt_enable_ec(), zt_handle_dtmfup(), zt_hangup(), zt_request(), and zt_train_ec().

char finaldial[64]

Definition at line 588 of file chan_zap.c.

Referenced by zt_call(), and zt_handle_event().

unsigned int firstradio

Definition at line 491 of file chan_zap.c.

Referenced by mkintf(), and zt_read().

struct timeval flashtime [read]

Last flash-hook time

Definition at line 583 of file chan_zap.c.

Referenced by __zt_exception(), and zt_handle_event().

Definition at line 553 of file chan_zap.c.

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

time_t guardtime

Must wait this much time before using for new call

Definition at line 562 of file chan_zap.c.

Referenced by available(), and zt_hangup().

unsigned int hanguponpolarityswitch

unsigned int hardwaredtmf

Definition at line 493 of file chan_zap.c.

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

unsigned int hidecallerid

Definition at line 494 of file chan_zap.c.

Referenced by mkintf(), process_zap(), ss_thread(), zt_call(), and zt_hangup().

unsigned int hidecalleridname

Hide just the name not the number for legacy PBX use

Definition at line 495 of file chan_zap.c.

Referenced by process_zap(), and zt_call().

unsigned int ignoredtmf

Definition at line 496 of file chan_zap.c.

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

unsigned int immediate

Answer before getting digits?

Definition at line 497 of file chan_zap.c.

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

unsigned int inalarm

If our real should be in the conference

Definition at line 456 of file chan_zap.c.

Referenced by update_conf(), zap_show_channel(), zt_bridge(), and zt_unlink().

char language[MAX_LANGUAGE]

Definition at line 535 of file chan_zap.c.

Referenced by mkintf(), process_zap(), zap_show_channels(), and zt_new().

char lastcid_name[AST_MAX_EXTENSION]

Definition at line 546 of file chan_zap.c.

Referenced by zt_call(), and zt_read().

char lastcid_num[AST_MAX_EXTENSION]

Definition at line 545 of file chan_zap.c.

Referenced by ss_thread(), zt_call(), and zt_read().

int law

char mailbox[AST_MAX_EXTENSION]

Definition at line 593 of file chan_zap.c.

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

struct zt_pvt* master [read]

Master to us (we follow their conferencing)

Definition at line 455 of file chan_zap.c.

Referenced by check_for_conference(), mkintf(), update_conf(), zap_show_channel(), zt_link(), and zt_unlink().

unsigned int mate

flag to say its in MATE mode

Definition at line 500 of file chan_zap.c.

Referenced by zt_setoption(), and zt_tdd_sendtext().

char mohinterpret[MAX_MUSICCLASS]

Definition at line 536 of file chan_zap.c.

Referenced by mkintf(), process_zap(), zap_show_channels(), and zt_indicate().

char mohsuggest[MAX_MUSICCLASS]

Definition at line 537 of file chan_zap.c.

Referenced by mkintf(), process_zap(), zt_handle_event(), and zt_hangup().

int msgstate

Definition at line 596 of file chan_zap.c.

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

struct zt_pvt* next [read]

Definition at line 595 of file chan_zap.c.

Referenced by do_monitor(), mkintf(), zt_handle_event(), and zt_hangup().

int oprmode

"Operator Services" mode

Definition at line 461 of file chan_zap.c.

Referenced by __zt_exception(), available(), zt_answer(), zt_call(), zt_handle_event(), zt_hangup(), zt_read(), and zt_setoption().

struct zt_pvt* oprpeer [read]

"Operator Services" peer tech_pvt ptr

Definition at line 462 of file chan_zap.c.

Referenced by zt_handle_event(), and zt_setoption().

char* origcid_name

malloced original callerid

Definition at line 548 of file chan_zap.c.

Referenced by zt_handle_event(), and zt_hangup().

char* origcid_num

malloced original callerid

Definition at line 547 of file chan_zap.c.

Referenced by zt_handle_event(), and zt_hangup().

unsigned int outgoing

int outsigmod

Outbound Signalling style (modifier)

Definition at line 460 of file chan_zap.c.

Referenced by mkintf(), process_zap(), zt_call(), and zt_handle_event().

unsigned int overlapdial

Definition at line 502 of file chan_zap.c.

Referenced by zt_handle_event(), and zt_read().

struct ast_channel* owner [read]

unsigned int permcallwaiting

Definition at line 503 of file chan_zap.c.

Referenced by mkintf(), and zt_hangup().

unsigned int permhidecallerid

Whether to hide our outgoing caller ID or not

Definition at line 504 of file chan_zap.c.

Referenced by mkintf(), and zt_hangup().

Definition at line 559 of file chan_zap.c.

Referenced by mkintf(), process_zap(), and zt_new().

int polarity

Definition at line 617 of file chan_zap.c.

Referenced by handle_init_event(), ss_thread(), unalloc_sub(), zt_handle_event(), and zt_hangup().

struct timeval polaritydelaytv [read]

Definition at line 602 of file chan_zap.c.

Referenced by zt_answer(), and zt_handle_event().

Definition at line 601 of file chan_zap.c.

Referenced by mkintf(), process_zap(), and zt_handle_event().

struct zt_pvt* prev [read]

Prev channel in list

Definition at line 467 of file chan_zap.c.

Referenced by chandup(), destroy_channel(), destroy_zt_pvt(), mkintf(), zap_destroy_channel_bynum(), zt_hangup(), and zt_request().

unsigned int priexclusive

Definition at line 507 of file chan_zap.c.

Referenced by mkintf(), process_zap(), and zt_call().

unsigned int priindication_oob

Definition at line 505 of file chan_zap.c.

Referenced by mkintf(), process_zap(), and zt_indicate().

unsigned int pritransfer

Definition at line 506 of file chan_zap.c.

Referenced by mkintf(), and process_zap().

Propagated conference number

Definition at line 557 of file chan_zap.c.

Referenced by mkintf(), and zap_show_channel().

unsigned int pulse

Definition at line 508 of file chan_zap.c.

Referenced by mkintf(), process_zap(), zt_call(), zt_digit_begin(), and zt_digit_end().

unsigned int pulsedial

whether a pulse dial phone is detected

Definition at line 509 of file chan_zap.c.

Referenced by zap_show_channel(), zt_bridge(), zt_handle_event(), zt_hangup(), and zt_read().

int radio

char rdnis[AST_MAX_EXTENSION]

Definition at line 551 of file chan_zap.c.

Referenced by zt_hangup(), and zt_new().

unsigned int restrictcid

Whether restrict the callerid -> only send ANI

Definition at line 510 of file chan_zap.c.

Referenced by mkintf(), and process_zap().

int ringt

Definition at line 571 of file chan_zap.c.

Referenced by handle_init_event(), ss_thread(), zt_answer(), zt_handle_event(), zt_hangup(), and zt_read().

Definition at line 572 of file chan_zap.c.

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

float rxgain

struct zt_confinfo saveconf [read]

Saved conference info

Definition at line 452 of file chan_zap.c.

Referenced by restore_conference(), and save_conference().

Definition at line 603 of file chan_zap.c.

Referenced by mkintf(), process_zap(), and zt_call().

int sig

struct zt_pvt* slaves[MAX_SLAVES] [read]

Slave to us (follows our conferencing)

Definition at line 454 of file chan_zap.c.

Referenced by isslavenative(), update_conf(), zap_show_channel(), zt_link(), and zt_unlink().

Definition at line 528 of file chan_zap.c.

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

int span

int stripmsd

Definition at line 573 of file chan_zap.c.

Referenced by mkintf(), process_zap(), and zt_call().

struct zt_subchannel sub_unused [read]

Just a safety precaution

Definition at line 450 of file chan_zap.c.

struct zt_subchannel subs[3] [read]

struct tdd_state* tdd [read]

TDD flag

Definition at line 591 of file chan_zap.c.

Referenced by zt_read(), zt_setoption(), and zt_tdd_sendtext().

unsigned int threewaycalling

Definition at line 511 of file chan_zap.c.

Referenced by mkintf(), process_zap(), and zt_handle_event().

int tonezone

tone zone for this chan, or -1 for default

Definition at line 465 of file chan_zap.c.

Referenced by mkintf(), and process_zap().

unsigned int transfer

Definition at line 512 of file chan_zap.c.

Referenced by mkintf(), process_zap(), ss_thread(), zt_bridge(), and zt_handle_event().

unsigned int transfertobusy

allow flash-transfers to busy channels

Definition at line 517 of file chan_zap.c.

Referenced by mkintf(), process_zap(), and zt_handle_event().

float txgain

unsigned int unknown_alarm

Definition at line 499 of file chan_zap.c.

Referenced by handle_init_event(), and zt_handle_event().

unsigned int use_callerid

Whether or not to use caller id on this channel

Definition at line 513 of file chan_zap.c.

Referenced by mkintf(), process_zap(), ss_thread(), and zt_call().

unsigned int use_callingpres

Whether to use the callingpres the calling switch sends

Definition at line 514 of file chan_zap.c.

Referenced by mkintf(), process_zap(), and zt_call().

unsigned int use_smdi

Definition at line 527 of file chan_zap.c.

Referenced by destroy_zt_pvt(), mkintf(), process_zap(), and ss_thread().

Definition at line 515 of file chan_zap.c.

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

int whichwink

SIG_FEATDMF_TA Which wink are we on?

Definition at line 587 of file chan_zap.c.

Referenced by zt_call(), and zt_handle_event().

unsigned int zaptrcallerid

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

Definition at line 516 of file chan_zap.c.

Referenced by mkintf(), process_zap(), and zt_handle_event().


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

Generated on Tue Sep 30 01:20:09 2008 for Asterisk - the Open Source PBX by  doxygen 1.5.6