Codename Pineapple

Home page | Mailing list | Docs

Last updated: Sat Feb 3 05:02:01 2007

Asterisk developer's documentation :: Codename Pineapple


chan_iax2_pvt Struct Reference

Collaboration diagram for chan_iax2_pvt:

Collaboration graph
[legend]

Detailed Description

Definition at line 475 of file chan_iax2.c.

Public Member Functions

 AST_DECLARE_STRING_FIELDS (AST_STRING_FIELD(peer);AST_STRING_FIELD(context);AST_STRING_FIELD(cid_num);AST_STRING_FIELD(cid_name);AST_STRING_FIELD(ani);AST_STRING_FIELD(dnid);AST_STRING_FIELD(rdnis);AST_STRING_FIELD(exten);AST_STRING_FIELD(username);AST_STRING_FIELD(secret);AST_STRING_FIELD(challenge);AST_STRING_FIELD(inkeys);AST_STRING_FIELD(outkey);AST_STRING_FIELD(language);AST_STRING_FIELD(host);AST_STRING_FIELD(dproot);AST_STRING_FIELD(accountcode);AST_STRING_FIELD(mohinterpret);AST_STRING_FIELD(mohsuggest);)

Data Fields

sockaddr_in addr
int adsi
int amaflags
unsigned char aseqno
int authfail
int authid
int authmethods
int autoid
unsigned short bridgecallno
int calling_pres
int calling_tns
int calling_ton
unsigned short callno
int capability
aes_decrypt_ctx dcx
aes_encrypt_ctx ecx
int encmethods
int error
int expiry
unsigned int flags
int initid
unsigned char iseqno
jitterbufjb
int jbid
int lag
int lagid
unsigned int last
unsigned int lastsent
int maxtime
unsigned int nextpred
unsigned int notsilenttx:1
timeval offset
unsigned char oseqno
ast_channelowner
int peeradsicpe
unsigned short peercallno
int peercapability
int peerformat
iax2_peerpeerpoke
int pingid
unsigned int pingtime
ast_codec_pref prefs
iax2_registryreg
ast_codec_pref rprefs
unsigned char rseqno
timeval rxcore
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
int videoformat
int voiceformat


Member Function Documentation

AST_DECLARE_STRING_FIELDS AST_STRING_FIELD(peer);AST_STRING_FIELD(context);AST_STRING_FIELD(cid_num);AST_STRING_FIELD(cid_name);AST_STRING_FIELD(ani);AST_STRING_FIELD(dnid);AST_STRING_FIELD(rdnis);AST_STRING_FIELD(exten);AST_STRING_FIELD(username);AST_STRING_FIELD(secret);AST_STRING_FIELD(challenge);AST_STRING_FIELD(inkeys);AST_STRING_FIELD(outkey);AST_STRING_FIELD(language);AST_STRING_FIELD(host);AST_STRING_FIELD(dproot);AST_STRING_FIELD(accountcode);AST_STRING_FIELD(mohinterpret);AST_STRING_FIELD(mohsuggest);   ) 
 


Field Documentation

struct sockaddr_in addr
 

Peer Address

Definition at line 501 of file chan_iax2.c.

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

int adsi
 

Definition at line 594 of file chan_iax2.c.

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

int amaflags
 

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

Referenced by complete_transfer(), and iax2_send().

int authfail
 

Reason to report failure

Definition at line 617 of file chan_iax2.c.

Referenced by auth_fail().

int authid
 

Authentication rejection ID

Definition at line 616 of file chan_iax2.c.

Referenced by auth_fail(), auth_reject(), and iax2_destroy_helper().

int authmethods
 

permitted authentication methods

Definition at line 579 of file chan_iax2.c.

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

int autoid
 

Auto hangup for Dialplan requestor

Definition at line 615 of file chan_iax2.c.

Referenced by auto_hangup(), iax2_destroy_helper(), iax2_dprequest(), and iax2_provision().

unsigned short bridgecallno
 

Who we are bridged to

Definition at line 611 of file chan_iax2.c.

Referenced by iax2_bridge().

int calling_pres
 

Definition at line 621 of file chan_iax2.c.

Referenced by ast_iax2_new(), and check_access().

int calling_tns
 

Definition at line 620 of file chan_iax2.c.

Referenced by ast_iax2_new(), and check_access().

int calling_ton
 

Definition at line 619 of file chan_iax2.c.

Referenced by ast_iax2_new(), and check_access().

unsigned short callno
 

Our call number

Definition at line 507 of file chan_iax2.c.

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

int capability
 

What we are capable of sending

Definition at line 487 of file chan_iax2.c.

Referenced by ast_iax2_new(), and check_access().

aes_decrypt_ctx dcx
 

Decryption AES-128 Key

Definition at line 585 of file chan_iax2.c.

aes_encrypt_ctx ecx
 

Encryption AES-128 Key

Definition at line 583 of file chan_iax2.c.

int encmethods
 

permitted encryption methods

Definition at line 581 of file chan_iax2.c.

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

int error
 

Error, as discovered by the manager

Definition at line 525 of file chan_iax2.c.

Referenced by __attempt_transmit().

int expiry
 

Expiry (optional)

Definition at line 531 of file chan_iax2.c.

unsigned int flags
 

IAX_ flags

Definition at line 593 of file chan_iax2.c.

int initid
 

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

Definition at line 618 of file chan_iax2.c.

Referenced by __auto_congest(), iax2_call(), iax2_destroy_helper(), and socket_process().

unsigned char iseqno
 

Next incoming sequence number

Definition at line 537 of file chan_iax2.c.

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

jitterbuf* jb
 

The jitterbuffer

Definition at line 519 of file chan_iax2.c.

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

int jbid
 

active jb read scheduler id

Definition at line 521 of file chan_iax2.c.

Referenced by __get_from_jb(), iax2_destroy_helper(), schedule_delivery(), and update_jbsched().

int lag
 

LAG

Definition at line 523 of file chan_iax2.c.

Referenced by complete_transfer().

int lagid
 

Retransmit lag request

Definition at line 614 of file chan_iax2.c.

Referenced by __send_lagrq(), iax2_destroy_helper(), and make_trunk().

unsigned int last
 

Last received timestamp

Definition at line 489 of file chan_iax2.c.

Referenced by complete_transfer(), socket_process(), socket_process_meta(), and unwrap_timestamp().

unsigned int lastsent
 

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

Definition at line 491 of file chan_iax2.c.

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

int maxtime
 

Max time for initial response

Definition at line 499 of file chan_iax2.c.

Referenced by iax2_call(), and iax2_request().

unsigned int nextpred
 

Next outgoing timestamp if everything is good

Definition at line 493 of file chan_iax2.c.

Referenced by calc_timestamp(), and complete_transfer().

unsigned int notsilenttx
 

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

Definition at line 495 of file chan_iax2.c.

Referenced by calc_timestamp().

struct timeval offset
 

timeval that we base our transmission on

Definition at line 515 of file chan_iax2.c.

Referenced by calc_timestamp(), and complete_transfer().

unsigned char oseqno
 

Next outgoing sequence number

Definition at line 533 of file chan_iax2.c.

Referenced by complete_transfer(), and iax2_send().

struct ast_channel* owner
 

Owner if we have one

Definition at line 527 of file chan_iax2.c.

Referenced by __attempt_transmit(), ast_iax2_new(), iax2_destroy(), iax2_fixup(), and iax2_predestroy().

int peeradsicpe
 

Status of knowledge of peer ADSI capability

Definition at line 608 of file chan_iax2.c.

Referenced by ast_iax2_new(), and check_access().

unsigned short peercallno
 

Peer callno

Definition at line 509 of file chan_iax2.c.

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

int peercapability
 

Peer capability

Definition at line 513 of file chan_iax2.c.

Referenced by check_access().

int peerformat
 

Peer selected format

Definition at line 511 of file chan_iax2.c.

Referenced by check_access().

struct iax2_peer* peerpoke
 

Associated peer for poking

Definition at line 591 of file chan_iax2.c.

Referenced by iax2_poke_peer().

int pingid
 

Transmit PING request

Definition at line 613 of file chan_iax2.c.

Referenced by __send_ping(), iax2_destroy_helper(), and make_trunk().

unsigned int pingtime
 

Ping time

Definition at line 497 of file chan_iax2.c.

Referenced by complete_transfer(), iax2_call(), iax2_poke_peer(), and iax2_send().

struct ast_codec_pref prefs
 

Actual used codec preferences

Definition at line 503 of file chan_iax2.c.

Referenced by check_access().

struct iax2_registry* reg
 

Associated registry

Definition at line 589 of file chan_iax2.c.

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

struct ast_codec_pref rprefs
 

Requested codec preferences

Definition at line 505 of file chan_iax2.c.

unsigned char rseqno
 

Next sequence number they have not yet acknowledged

Definition at line 535 of file chan_iax2.c.

Referenced by complete_transfer(), and socket_process().

struct timeval rxcore
 

timeval that we base our delivery on

Definition at line 517 of file chan_iax2.c.

Referenced by __get_from_jb(), calc_rxstamp(), complete_transfer(), fix_peerts(), and update_jbsched().

unsigned char semirand[32]
 

32 bytes of semi-random data

Definition at line 587 of file chan_iax2.c.

int sockfd
 

Socket to send/receive on for this call

Definition at line 477 of file chan_iax2.c.

Referenced by iax2_call(), and iax2_trunk_queue().

struct ast_flags state
 

What's our state?

Definition at line 529 of file chan_iax2.c.

Referenced by authenticate_verify().

int svideoformat
 

Last sent video format

Definition at line 485 of file chan_iax2.c.

Referenced by complete_transfer(), and iax2_send().

int svoiceformat
 

Last sent voice format

Definition at line 483 of file chan_iax2.c.

Referenced by complete_transfer(), and iax2_send().

aes_encrypt_ctx tdcx
 

Transfer decrypt AES-128 Key

Definition at line 605 of file chan_iax2.c.

struct sockaddr_in transfer
 

Who we are IAX transferring to

Definition at line 601 of file chan_iax2.c.

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

unsigned short transfercallno
 

What's the new call number for the transfer

Definition at line 603 of file chan_iax2.c.

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

int transferid
 

Transfer identifier

Definition at line 599 of file chan_iax2.c.

Referenced by try_transfer().

enum iax_transfer_state transferring
 

Transferring status

Definition at line 597 of file chan_iax2.c.

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

int videoformat
 

Last received video format

Definition at line 481 of file chan_iax2.c.

Referenced by complete_transfer(), and socket_process().

int voiceformat
 

Last received voice format

Definition at line 479 of file chan_iax2.c.

Referenced by __get_from_jb(), complete_transfer(), socket_process(), and socket_process_meta().


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

Asterisk is a trademark for Digium, inc.. | Edvina.net | Asterisk.org | This documentation was generated with Doxygen