Mon Mar 20 08:20:32 2006

Asterisk developer's documentation


Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

chan_iax2_pvt Struct Reference


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
char username [80]
ast_variablevars
int videoformat
int voiceformat

Field Documentation

char accountcode[AST_MAX_ACCOUNT_CODE]
 

Definition at line 585 of file chan_iax2.c.

Referenced by ast_iax2_new(), and check_access().

struct sockaddr_in addr
 

Peer Address

Definition at line 465 of file chan_iax2.c.

Referenced by complete_transfer(), find_callno(), iax2_prov_app(), iax2_send(), iax2_trunk_queue(), and match().

int amaflags
 

Definition at line 586 of file chan_iax2.c.

Referenced by ast_iax2_new(), check_access(), and find_callno().

char ani[80]
 

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

Definition at line 520 of file chan_iax2.c.

Referenced by ast_iax2_new(), and check_access().

unsigned char aseqno
 

Last incoming sequence number we have acknowledged

Definition at line 511 of file chan_iax2.c.

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

int authfail
 

Reason to report failure

Definition at line 579 of file chan_iax2.c.

Referenced by auth_fail(), and auth_reject().

int authid
 

Authentication rejection ID

Definition at line 578 of file chan_iax2.c.

Referenced by auth_fail(), auth_reject(), iax2_destroy(), iax2_predestroy(), new_iax(), and stop_stuff().

int authmethods
 

permitted authentication methods

Definition at line 530 of file chan_iax2.c.

Referenced by authenticate_request(), authenticate_verify(), check_access(), and socket_read().

int autoid
 

Auto hangup for Dialplan requestor

Definition at line 577 of file chan_iax2.c.

Referenced by auto_hangup(), iax2_destroy(), iax2_dprequest(), iax2_predestroy(), iax2_provision(), new_iax(), and stop_stuff().

unsigned short bridgecallno
 

Who we are bridged to

Definition at line 571 of file chan_iax2.c.

Referenced by ast_cli_netstats(), iax2_bridge(), iax2_show_channels(), new_iax(), send_lagrq(), send_ping(), and socket_read().

unsigned int bridgesfmt
 

Definition at line 572 of file chan_iax2.c.

struct ast_trans_pvt* bridgetrans
 

Definition at line 573 of file chan_iax2.c.

Referenced by iax2_destroy().

int calling_pres
 

Definition at line 583 of file chan_iax2.c.

Referenced by ast_iax2_new(), and check_access().

int calling_tns
 

Definition at line 582 of file chan_iax2.c.

Referenced by ast_iax2_new(), and check_access().

int calling_ton
 

Definition at line 581 of file chan_iax2.c.

Referenced by ast_iax2_new(), and check_access().

unsigned short callno
 

Our call number

Definition at line 468 of file chan_iax2.c.

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

int capability
 

What we are capable of sending

Definition at line 451 of file chan_iax2.c.

Referenced by ast_iax2_new(), cache_get_callno_locked(), check_access(), and socket_read().

char challenge[10]
 

MD5 challenge

Definition at line 534 of file chan_iax2.c.

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

char cid_name[80]
 

Definition at line 518 of file chan_iax2.c.

Referenced by ast_iax2_new(), and check_access().

char cid_num[80]
 

Caller ID if available

Definition at line 517 of file chan_iax2.c.

Referenced by ast_iax2_new(), and check_access().

char context[80]
 

Default Context

Definition at line 515 of file chan_iax2.c.

Referenced by ast_iax2_new(), check_access(), and iax2_call().

aes_decrypt_ctx dcx
 

Decryption AES-128 Key

Definition at line 542 of file chan_iax2.c.

Referenced by authenticate_reply().

char dnid[80]
 

DNID

Definition at line 522 of file chan_iax2.c.

Referenced by ast_iax2_new(), and check_access().

struct iax2_dpcache* dpentries
 

Definition at line 587 of file chan_iax2.c.

Referenced by complete_dpreply(), find_cache(), and socket_read().

char dproot[AST_MAX_EXTENSION]
 

Definition at line 584 of file chan_iax2.c.

aes_encrypt_ctx ecx
 

Encryption AES-128 Key

Definition at line 540 of file chan_iax2.c.

Referenced by authenticate_reply(), and iax2_send().

int encmethods
 

permitted encryption methods

Definition at line 532 of file chan_iax2.c.

Referenced by authenticate_reply(), authenticate_request(), check_access(), iax2_call(), merge_encryption(), and socket_read().

int error
 

Error, as discovered by the manager

Definition at line 497 of file chan_iax2.c.

Referenced by attempt_transmit(), iax2_hangup(), iax2_write(), send_packet(), and socket_read().

int expiry
 

Expiry (optional)

Definition at line 503 of file chan_iax2.c.

Referenced by find_callno(), and register_verify().

char exten[AST_MAX_EXTENSION]
 

Requested Extension

Definition at line 524 of file chan_iax2.c.

Referenced by ast_iax2_new(), check_access(), and new_iax().

unsigned int flags
 

IAX_ flags

Definition at line 554 of file chan_iax2.c.

int frames_dropped
 

Dropped frame count: (just for stats)

Definition at line 594 of file chan_iax2.c.

Referenced by ast_cli_netstats(), construct_rr(), and schedule_delivery().

int frames_received
 

received frame count: (just for stats)

Definition at line 596 of file chan_iax2.c.

Referenced by ast_cli_netstats(), construct_rr(), and socket_read().

char host[80]
 

Hostname/peername for naming purposes

Definition at line 548 of file chan_iax2.c.

Referenced by ast_iax2_new(), iax2_request(), and new_iax().

int initid
 

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

Definition at line 580 of file chan_iax2.c.

Referenced by auto_congest(), iax2_call(), iax2_destroy(), iax2_predestroy(), new_iax(), socket_read(), and stop_stuff().

char inkeys[80]
 

Public keys permitted keys for incoming authentication

Definition at line 536 of file chan_iax2.c.

Referenced by authenticate_verify(), check_access(), and register_verify().

unsigned char iseqno
 

Next incoming sequence number

Definition at line 509 of file chan_iax2.c.

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

jitterbuf* jb
 

The jitterbuffer

Definition at line 481 of file chan_iax2.c.

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

int jbid
 

active jb read scheduler id

Definition at line 483 of file chan_iax2.c.

Referenced by get_from_jb(), iax2_destroy(), iax2_predestroy(), new_iax(), schedule_delivery(), stop_stuff(), and update_jbsched().

int lag
 

LAG

Definition at line 495 of file chan_iax2.c.

Referenced by complete_transfer(), and socket_read().

int lagid
 

Retransmit lag request

Definition at line 576 of file chan_iax2.c.

Referenced by find_callno(), iax2_destroy(), iax2_predestroy(), make_trunk(), new_iax(), and stop_stuff().

char language[MAX_LANGUAGE]
 

Preferred language

Definition at line 546 of file chan_iax2.c.

Referenced by ast_iax2_new(), and check_access().

unsigned int last
 

Last received timestamp

Definition at line 453 of file chan_iax2.c.

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

unsigned int lastsent
 

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

Definition at line 455 of file chan_iax2.c.

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

int maxtime
 

Max time for initial response

Definition at line 463 of file chan_iax2.c.

Referenced by iax2_call(), and iax2_request().

int min
 

Current base time: (just for stats)

Definition at line 592 of file chan_iax2.c.

Referenced by construct_rr(), and schedule_delivery().

unsigned int nextpred
 

Next outgoing timestamp if everything is good

Definition at line 457 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 459 of file chan_iax2.c.

Referenced by calc_timestamp().

struct timeval offset
 

timeval that we base our transmission on

Definition at line 476 of file chan_iax2.c.

Referenced by calc_timestamp(), and complete_transfer().

unsigned char oseqno
 

Next outgoing sequence number

Definition at line 505 of file chan_iax2.c.

Referenced by complete_transfer(), iax2_send(), make_trunk(), and socket_read().

char outkey[80]
 

Private key for outgoing authentication

Definition at line 538 of file chan_iax2.c.

Referenced by cache_get_callno_locked(), and iax2_call().

struct ast_channel* owner
 

Owner if we have one

Definition at line 499 of file chan_iax2.c.

Referenced by ast_iax2_new(), attempt_transmit(), iax2_destroy(), iax2_fixup(), iax2_predestroy(), iax2_queue_frame(), schedule_delivery(), and socket_read().

char peer[80]
 

Peer name

Definition at line 513 of file chan_iax2.c.

Referenced by authenticate_reply(), iax2_request(), and register_verify().

int peeradsicpe
 

Status of knowledge of peer ADSI capability

Definition at line 568 of file chan_iax2.c.

Referenced by ast_iax2_new(), and check_access().

unsigned short peercallno
 

Peer callno

Definition at line 470 of file chan_iax2.c.

Referenced by calc_timestamp(), complete_transfer(), find_callno(), iax2_send(), match(), new_iax(), and socket_read().

int peercapability
 

Peer capability

Definition at line 474 of file chan_iax2.c.

Referenced by check_access(), and socket_read().

int peerformat
 

Peer selected format

Definition at line 472 of file chan_iax2.c.

Referenced by check_access(), and socket_read().

struct iax2_peer* peerpoke
 

Associated peer for poking

Definition at line 552 of file chan_iax2.c.

Referenced by destroy_peer(), iax2_poke_peer(), and socket_read().

int pingid
 

Transmit PING request

Definition at line 575 of file chan_iax2.c.

Referenced by find_callno(), iax2_destroy(), iax2_predestroy(), make_trunk(), new_iax(), and stop_stuff().

unsigned int pingtime
 

Ping time

Definition at line 461 of file chan_iax2.c.

Referenced by ast_cli_netstats(), complete_transfer(), find_callno(), iax2_call(), iax2_poke_peer(), iax2_send(), and socket_read().

struct ast_codec_pref prefs
 

Definition at line 466 of file chan_iax2.c.

Referenced by check_access(), new_iax(), and socket_read().

struct iax2_registry* reg
 

Associated registry

Definition at line 550 of file chan_iax2.c.

Referenced by attempt_transmit(), delete_users(), iax2_ack_registry(), iax2_destroy(), iax2_do_register(), registry_rerequest(), and socket_read().

struct iax_rr remote_rr
 

last received remote rr

Definition at line 590 of file chan_iax2.c.

Referenced by ast_cli_netstats(), iax2_show_channels(), and save_rr().

unsigned char rseqno
 

Next sequence number they have not yet acknowledged

Definition at line 507 of file chan_iax2.c.

Referenced by complete_transfer(), and socket_read().

struct timeval rxcore
 

timeval that we base our delivery on

Definition at line 478 of file chan_iax2.c.

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

char secret[80]
 

Expected Secret

Definition at line 528 of file chan_iax2.c.

Referenced by authenticate_verify(), cache_get_callno_locked(), check_access(), iax2_call(), and register_verify().

unsigned char semirand[32]
 

32 bytes of semi-random data

Definition at line 544 of file chan_iax2.c.

Referenced by iax2_send().

int sockfd
 

Socket to send/receive on for this call

Definition at line 441 of file chan_iax2.c.

Referenced by find_callno(), and iax2_trunk_queue().

struct ast_flags state
 

What's our state?

Definition at line 501 of file chan_iax2.c.

Referenced by authenticate_verify().

int svideoformat
 

Last sent video format

Definition at line 449 of file chan_iax2.c.

Referenced by complete_transfer(), and iax2_send().

int svoiceformat
 

Last sent voice format

Definition at line 447 of file chan_iax2.c.

Referenced by complete_transfer(), and iax2_send().

aes_encrypt_ctx tdcx
 

Transfer decrypt AES-128 Key

Definition at line 565 of file chan_iax2.c.

struct sockaddr_in transfer
 

Who we are IAX transfering to

Definition at line 561 of file chan_iax2.c.

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

unsigned short transfercallno
 

What's the new call number for the transfer

Definition at line 563 of file chan_iax2.c.

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

int transferid
 

Transfer identifier

Definition at line 559 of file chan_iax2.c.

Referenced by try_transfer().

char username[80]
 

Expected Username

Definition at line 526 of file chan_iax2.c.

Referenced by authenticate_reply(), authenticate_request(), check_access(), and iax2_call().

struct ast_variable* vars
 

Definition at line 588 of file chan_iax2.c.

Referenced by ast_iax2_new(), check_access(), and iax2_destroy().

int videoformat
 

Last received video format

Definition at line 445 of file chan_iax2.c.

Referenced by complete_transfer(), and socket_read().

int voiceformat
 

Last received voice format

Definition at line 443 of file chan_iax2.c.

Referenced by complete_transfer(), get_from_jb(), and socket_read().


The documentation for this struct was generated from the following file:
Generated on Mon Mar 20 08:20:32 2006 for Asterisk - the Open Source PBX by  doxygen 1.3.9.1