Fri May 26 01:51:16 2006

Asterisk developer's documentation


chan_iax2_pvt Struct Reference

Collaboration diagram for chan_iax2_pvt:

Collaboration graph
[legend]

Data Fields

char accountcode [AST_MAX_ACCOUNT_CODE]
sockaddr_in addr
int amaflags
char ani [80]
unsigned char aseqno
int authfail
int authid
int authmethods
int autoid
unsigned short bridgecallno
unsigned int bridgesfmt
ast_trans_pvtbridgetrans
int calling_pres
int calling_tns
int calling_ton
unsigned short callno
int capability
char challenge [10]
char cid_name [80]
char cid_num [80]
char context [80]
aes_decrypt_ctx dcx
char dnid [80]
iax2_dpcachedpentries
char dproot [AST_MAX_EXTENSION]
aes_encrypt_ctx ecx
int encmethods
int error
int expiry
char exten [AST_MAX_EXTENSION]
unsigned int flags
int frames_dropped
int frames_received
char host [80]
int initid
char inkeys [80]
unsigned char iseqno
jitterbufjb
int jbid
int lag
int lagid
char language [MAX_LANGUAGE]
unsigned int last
unsigned int lastsent
int maxtime
int min
unsigned int nextpred
int notsilenttx
timeval offset
unsigned char oseqno
char outkey [80]
ast_channelowner
char peer [80]
int peeradsicpe
unsigned short peercallno
int peercapability
int peerformat
iax2_peerpeerpoke
int pingid
unsigned int pingtime
ast_codec_pref prefs
iax2_registryreg
iax_rr remote_rr
unsigned char rseqno
timeval rxcore
char secret [80]
unsigned char semirand [32]
int sockfd
ast_flags state
int svideoformat
int svoiceformat
aes_encrypt_ctx tdcx
sockaddr_in transfer
unsigned short transfercallno
int transferid
enum iax_transfer_state transferring
char username [80]
ast_variablevars
int videoformat
int voiceformat

Detailed Description

Definition at line 440 of file chan_iax2.c.


Field Documentation

char accountcode[AST_MAX_ACCOUNT_CODE]
 

Definition at line 586 of file chan_iax2.c.

Referenced by ast_iax2_new().

struct sockaddr_in addr
 

Peer Address

Definition at line 466 of file chan_iax2.c.

Referenced by complete_transfer(), iax2_trunk_queue(), and match().

int amaflags
 

Definition at line 587 of file chan_iax2.c.

Referenced by ast_iax2_new().

char ani[80]
 

Hidden Caller ID (i.e. ANI) if appropriate

Definition at line 521 of file chan_iax2.c.

Referenced by ast_iax2_new().

unsigned char aseqno
 

Last incoming sequence number we have acknowledged

Definition at line 512 of file chan_iax2.c.

Referenced by complete_transfer(), and iax2_send().

int authfail
 

Reason to report failure

Definition at line 580 of file chan_iax2.c.

int authid
 

Authentication rejection ID

Definition at line 579 of file chan_iax2.c.

Referenced by iax2_destroy(), and iax2_predestroy().

int authmethods
 

permitted authentication methods

Definition at line 531 of file chan_iax2.c.

Referenced by authenticate_request(), and authenticate_verify().

int autoid
 

Auto hangup for Dialplan requestor

Definition at line 578 of file chan_iax2.c.

Referenced by iax2_destroy(), and iax2_predestroy().

unsigned short bridgecallno
 

Who we are bridged to

Definition at line 572 of file chan_iax2.c.

unsigned int bridgesfmt
 

Definition at line 573 of file chan_iax2.c.

struct ast_trans_pvt* bridgetrans
 

Definition at line 574 of file chan_iax2.c.

Referenced by iax2_destroy().

int calling_pres
 

Definition at line 584 of file chan_iax2.c.

Referenced by ast_iax2_new().

int calling_tns
 

Definition at line 583 of file chan_iax2.c.

Referenced by ast_iax2_new().

int calling_ton
 

Definition at line 582 of file chan_iax2.c.

Referenced by ast_iax2_new().

unsigned short callno
 

Our call number

Definition at line 469 of file chan_iax2.c.

Referenced by ast_iax2_new(), calc_rxstamp(), calc_timestamp(), get_from_jb(), iax2_destroy(), iax2_send(), iax2_trunk_queue(), make_trunk(), match(), send_command_final(), and send_packet().

int capability
 

What we are capable of sending

Definition at line 452 of file chan_iax2.c.

Referenced by ast_iax2_new().

char challenge[10]
 

MD5 challenge

Definition at line 535 of file chan_iax2.c.

Referenced by authenticate_reply(), authenticate_request(), and authenticate_verify().

char cid_name[80]
 

Definition at line 519 of file chan_iax2.c.

Referenced by ast_iax2_new().

char cid_num[80]
 

Caller ID if available

Definition at line 518 of file chan_iax2.c.

Referenced by ast_iax2_new().

char context[80]
 

Default Context

Definition at line 516 of file chan_iax2.c.

Referenced by ast_iax2_new().

aes_decrypt_ctx dcx
 

Decryption AES-128 Key

Definition at line 543 of file chan_iax2.c.

char dnid[80]
 

DNID

Definition at line 523 of file chan_iax2.c.

Referenced by ast_iax2_new().

struct iax2_dpcache* dpentries
 

Definition at line 588 of file chan_iax2.c.

Referenced by complete_dpreply().

char dproot[AST_MAX_EXTENSION]
 

Definition at line 585 of file chan_iax2.c.

aes_encrypt_ctx ecx
 

Encryption AES-128 Key

Definition at line 541 of file chan_iax2.c.

int encmethods
 

permitted encryption methods

Definition at line 533 of file chan_iax2.c.

Referenced by authenticate_request(), and merge_encryption().

int error
 

Error, as discovered by the manager

Definition at line 498 of file chan_iax2.c.

Referenced by attempt_transmit().

int expiry
 

Expiry (optional)

Definition at line 504 of file chan_iax2.c.

char exten[AST_MAX_EXTENSION]
 

Requested Extension

Definition at line 525 of file chan_iax2.c.

Referenced by ast_iax2_new().

unsigned int flags
 

IAX_ flags

Definition at line 555 of file chan_iax2.c.

int frames_dropped
 

Dropped frame count: (just for stats)

Definition at line 595 of file chan_iax2.c.

Referenced by construct_rr().

int frames_received
 

received frame count: (just for stats)

Definition at line 597 of file chan_iax2.c.

Referenced by construct_rr().

char host[80]
 

Hostname/peername for naming purposes

Definition at line 549 of file chan_iax2.c.

Referenced by ast_iax2_new().

int initid
 

Initial peer auto-congest ID (based on qualified peers)

Definition at line 581 of file chan_iax2.c.

Referenced by iax2_destroy(), and iax2_predestroy().

char inkeys[80]
 

Public keys permitted keys for incoming authentication

Definition at line 537 of file chan_iax2.c.

Referenced by authenticate_verify().

unsigned char iseqno
 

Next incoming sequence number

Definition at line 510 of file chan_iax2.c.

Referenced by complete_transfer(), iax2_send(), and update_packet().

jitterbuf* jb
 

The jitterbuffer

Definition at line 482 of file chan_iax2.c.

Referenced by complete_transfer(), construct_rr(), get_from_jb(), iax2_destroy(), and update_jbsched().

int jbid
 

active jb read scheduler id

Definition at line 484 of file chan_iax2.c.

Referenced by get_from_jb(), iax2_destroy(), iax2_predestroy(), and update_jbsched().

int lag
 

LAG

Definition at line 496 of file chan_iax2.c.

Referenced by complete_transfer().

int lagid
 

Retransmit lag request

Definition at line 577 of file chan_iax2.c.

Referenced by iax2_destroy(), iax2_predestroy(), and make_trunk().

char language[MAX_LANGUAGE]
 

Preferred language

Definition at line 547 of file chan_iax2.c.

Referenced by ast_iax2_new().

unsigned int last
 

Last received timestamp

Definition at line 454 of file chan_iax2.c.

Referenced by complete_transfer(), schedule_delivery(), and unwrap_timestamp().

unsigned int lastsent
 

Last sent timestamp - never send the same timestamp twice in a single call

Definition at line 456 of file chan_iax2.c.

Referenced by calc_timestamp(), complete_transfer(), and iax2_send().

int maxtime
 

Max time for initial response

Definition at line 464 of file chan_iax2.c.

int min
 

Current base time: (just for stats)

Definition at line 593 of file chan_iax2.c.

Referenced by construct_rr().

unsigned int nextpred
 

Next outgoing timestamp if everything is good

Definition at line 458 of file chan_iax2.c.

Referenced by calc_timestamp(), and complete_transfer().

int notsilenttx
 

True if the last voice we transmitted was not silence/CNG

Definition at line 460 of file chan_iax2.c.

Referenced by calc_timestamp().

struct timeval offset
 

timeval that we base our transmission on

Definition at line 477 of file chan_iax2.c.

Referenced by calc_timestamp(), and complete_transfer().

unsigned char oseqno
 

Next outgoing sequence number

Definition at line 506 of file chan_iax2.c.

Referenced by complete_transfer(), and iax2_send().

char outkey[80]
 

Private key for outgoing authentication

Definition at line 539 of file chan_iax2.c.

struct ast_channel* owner
 

Owner if we have one

Definition at line 500 of file chan_iax2.c.

Referenced by ast_iax2_new(), attempt_transmit(), iax2_destroy(), and iax2_predestroy().

char peer[80]
 

Peer name

Definition at line 514 of file chan_iax2.c.

int peeradsicpe
 

Status of knowledge of peer ADSI capability

Definition at line 569 of file chan_iax2.c.

Referenced by ast_iax2_new().

unsigned short peercallno
 

Peer callno

Definition at line 471 of file chan_iax2.c.

Referenced by complete_transfer(), iax2_send(), and match().

int peercapability
 

Peer capability

Definition at line 475 of file chan_iax2.c.

int peerformat
 

Peer selected format

Definition at line 473 of file chan_iax2.c.

struct iax2_peer* peerpoke
 

Associated peer for poking

Definition at line 553 of file chan_iax2.c.

int pingid
 

Transmit PING request

Definition at line 576 of file chan_iax2.c.

Referenced by iax2_destroy(), iax2_predestroy(), and make_trunk().

unsigned int pingtime
 

Ping time

Definition at line 462 of file chan_iax2.c.

Referenced by complete_transfer(), and iax2_send().

struct ast_codec_pref prefs
 

Definition at line 467 of file chan_iax2.c.

struct iax2_registry* reg
 

Associated registry

Definition at line 551 of file chan_iax2.c.

Referenced by iax2_destroy().

struct iax_rr remote_rr
 

last received remote rr

Definition at line 591 of file chan_iax2.c.

unsigned char rseqno
 

Next sequence number they have not yet acknowledged

Definition at line 508 of file chan_iax2.c.

Referenced by complete_transfer().

struct timeval rxcore
 

timeval that we base our delivery on

Definition at line 479 of file chan_iax2.c.

Referenced by calc_rxstamp(), complete_transfer(), get_from_jb(), schedule_delivery(), and update_jbsched().

char secret[80]
 

Expected Secret

Definition at line 529 of file chan_iax2.c.

Referenced by authenticate_verify().

unsigned char semirand[32]
 

32 bytes of semi-random data

Definition at line 545 of file chan_iax2.c.

int sockfd
 

Socket to send/receive on for this call

Definition at line 442 of file chan_iax2.c.

Referenced by iax2_trunk_queue().

struct ast_flags state
 

What's our state?

Definition at line 502 of file chan_iax2.c.

Referenced by authenticate_verify().

int svideoformat
 

Last sent video format

Definition at line 450 of file chan_iax2.c.

Referenced by complete_transfer(), and iax2_send().

int svoiceformat
 

Last sent voice format

Definition at line 448 of file chan_iax2.c.

Referenced by complete_transfer(), and iax2_send().

aes_encrypt_ctx tdcx
 

Transfer decrypt AES-128 Key

Definition at line 566 of file chan_iax2.c.

struct sockaddr_in transfer
 

Who we are IAX transfering to

Definition at line 562 of file chan_iax2.c.

Referenced by complete_transfer(), match(), and try_transfer().

unsigned short transfercallno
 

What's the new call number for the transfer

Definition at line 564 of file chan_iax2.c.

Referenced by complete_transfer(), iax2_send(), and try_transfer().

int transferid
 

Transfer identifier

Definition at line 560 of file chan_iax2.c.

Referenced by try_transfer().

enum iax_transfer_state transferring
 

Transferring status

Definition at line 558 of file chan_iax2.c.

Referenced by complete_transfer(), match(), and try_transfer().

char username[80]
 

Expected Username

Definition at line 527 of file chan_iax2.c.

Referenced by authenticate_reply(), and authenticate_request().

struct ast_variable* vars
 

Definition at line 589 of file chan_iax2.c.

Referenced by ast_iax2_new(), and iax2_destroy().

int videoformat
 

Last received video format

Definition at line 446 of file chan_iax2.c.

Referenced by complete_transfer().

int voiceformat
 

Last received voice format

Definition at line 444 of file chan_iax2.c.

Referenced by complete_transfer(), and get_from_jb().


The documentation for this struct was generated from the following file:
Generated on Fri May 26 01:51:16 2006 for Asterisk - the Open Source PBX by  doxygen 1.4.6