Mon Aug 31 12:30:49 2015

Asterisk developer's documentation


chan_iax2_pvt Struct Reference

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);AST_STRING_FIELD(osptoken);AST_STRING_FIELD(parkinglot);)

Data Fields

struct sockaddr_in addr
int adsi
int amaflags
unsigned char aseqno
int authfail
int authid
int authmethods
int authrej
int autoid
unsigned short bridgecallno
int calling_pres
int calling_tns
int calling_ton
unsigned short callno
struct callno_entrycallno_entry
format_t capability
format_t chosenformat
ast_aes_decrypt_key dcx
ast_aes_encrypt_key ecx
int encmethods
int error
int expiry
int first_iax_message
uint64_t flags
int initid
unsigned char iseqno
jitterbufjb
int jbid
int keyrotateid
int lag
int lagid
unsigned int last
int last_iax_message
unsigned int lastsent
unsigned int lastvsent
int maxtime
ast_aes_decrypt_key mydcx
unsigned int nextpred
unsigned int notsilenttx:1
struct timeval offset
unsigned char oseqno
struct ast_channelowner
int peeradsicpe
unsigned short peercallno
format_t peercapability
format_t peerformat
struct iax2_peerpeerpoke
int pingid
unsigned int pingtime
struct ast_codec_pref prefs
struct iax2_registryreg
struct ast_codec_pref rprefs
unsigned char rseqno
struct timeval rxcore
unsigned char semirand [32]
int sockfd
struct ast_flags state
format_t svideoformat
format_t svoiceformat
ast_aes_encrypt_key tdcx
struct sockaddr_in transfer
unsigned short transfercallno
int transferid
enum iax_transfer_state transferring
format_t videoformat
format_t voiceformat

Detailed Description

Definition at line 652 of file chan_iax2.c.


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);AST_STRING_FIELD(osptoken);AST_STRING_FIELD(parkinglot);   ) 

Field Documentation

struct sockaddr_in addr [read]
int adsi

Definition at line 793 of file chan_iax2.c.

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

int amaflags

Definition at line 821 of file chan_iax2.c.

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

unsigned char aseqno

Last incoming sequence number we have acknowledged

Definition at line 728 of file chan_iax2.c.

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

int authfail

Reason to report failure

Definition at line 816 of file chan_iax2.c.

Referenced by auth_fail().

int authid

Authentication rejection ID

Definition at line 815 of file chan_iax2.c.

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

permitted authentication methods

Definition at line 773 of file chan_iax2.c.

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

int authrej

AUTHREJ all AUTHREP frames

Definition at line 771 of file chan_iax2.c.

Referenced by authenticate_verify(), and check_access().

int autoid

Auto hangup for Dialplan requestor

Definition at line 814 of file chan_iax2.c.

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

unsigned short bridgecallno

Callno of native bridge peer. (Valid if nonzero)

Definition at line 810 of file chan_iax2.c.

Referenced by iax2_bridge().

Definition at line 820 of file chan_iax2.c.

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

Definition at line 819 of file chan_iax2.c.

Referenced by ast_iax2_new(), and check_access().

Definition at line 818 of file chan_iax2.c.

Referenced by ast_iax2_new(), and check_access().

unsigned short callno
struct callno_entry* callno_entry [read]

Our callno_entry entry

Definition at line 692 of file chan_iax2.c.

Referenced by __find_callno(), make_trunk(), and pvt_destructor().

What we are capable of sending

Definition at line 664 of file chan_iax2.c.

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

Negotiated format, this is only used to remember what format was chosen for an unauthenticated call so that the channel can get created later using the right format

Definition at line 698 of file chan_iax2.c.

Referenced by socket_process().

Decryption AES-128 Key used to decrypt peer frames

Definition at line 781 of file chan_iax2.c.

Referenced by build_encryption_keys().

Encryption AES-128 Key

Definition at line 777 of file chan_iax2.c.

Referenced by build_ecx_key(), and iax2_send().

int error

Error, as discovered by the manager

Definition at line 714 of file chan_iax2.c.

Referenced by __attempt_transmit(), and socket_process().

int expiry

Expiry (optional)

Definition at line 720 of file chan_iax2.c.

Referenced by __find_callno(), and register_verify().

iax frame subclass that began iax2_pvt entry. 0x8000 bit is set on TX

Definition at line 674 of file chan_iax2.c.

Referenced by ast_cli_netstats(), iax2_send(), and socket_process().

uint64_t flags

IAX_ flags

Definition at line 792 of file chan_iax2.c.

int initid

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

Definition at line 817 of file chan_iax2.c.

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

unsigned char iseqno

Next incoming sequence number

Definition at line 726 of file chan_iax2.c.

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

int jbid

active jb read scheduler id

Definition at line 710 of file chan_iax2.c.

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

scheduler id associated with iax_key_rotate for encrypted calls

Definition at line 784 of file chan_iax2.c.

Referenced by iax2_destroy_helper(), iax2_key_rotate(), iax2_send(), merge_encryption(), and new_iax().

int lag

LAG

Definition at line 712 of file chan_iax2.c.

Referenced by complete_transfer().

int lagid

Retransmit lag request

Definition at line 813 of file chan_iax2.c.

Referenced by __find_callno(), __send_lagrq(), iax2_destroy_helper(), make_trunk(), new_iax(), and send_lagrq().

unsigned int last

Last received timestamp

Definition at line 666 of file chan_iax2.c.

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

Last iax frame subclass sent or received for a iax2_pvt. 0x8000 bit is set on TX

Definition at line 676 of file chan_iax2.c.

Referenced by ast_cli_netstats(), iax2_send(), and socket_process().

unsigned int lastsent

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

Definition at line 668 of file chan_iax2.c.

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

unsigned int lastvsent

Timestamp of the last video frame sent

Definition at line 670 of file chan_iax2.c.

Referenced by iax2_send().

int maxtime

Max time for initial response

Definition at line 682 of file chan_iax2.c.

Referenced by iax2_call(), and iax2_request().

Decryption AES-128 Key corresponding to ecx

Definition at line 779 of file chan_iax2.c.

Referenced by build_ecx_key(), and iax2_send().

unsigned int nextpred

Next outgoing timestamp if everything is good

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

Referenced by calc_timestamp().

struct timeval offset [read]

timeval that we base our transmission on

Definition at line 704 of file chan_iax2.c.

Referenced by calc_timestamp(), and complete_transfer().

unsigned char oseqno

Next outgoing sequence number

Definition at line 722 of file chan_iax2.c.

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

struct ast_channel* owner [read]

Status of knowledge of peer ADSI capability

Definition at line 807 of file chan_iax2.c.

Referenced by ast_iax2_new(), and check_access().

unsigned short peercallno

Peer capability

Definition at line 702 of file chan_iax2.c.

Referenced by check_access(), and socket_process().

Peer selected format

Definition at line 700 of file chan_iax2.c.

Referenced by check_access(), and socket_process().

struct iax2_peer* peerpoke [read]

Associated peer for poking

Definition at line 790 of file chan_iax2.c.

Referenced by iax2_poke_peer().

int pingid

Transmit PING request

Definition at line 812 of file chan_iax2.c.

Referenced by __find_callno(), __send_ping(), iax2_destroy_helper(), make_trunk(), new_iax(), and send_ping().

unsigned int pingtime
struct ast_codec_pref prefs [read]

Actual used codec preferences

Definition at line 686 of file chan_iax2.c.

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

struct iax2_registry* reg [read]

Associated registry

Definition at line 788 of file chan_iax2.c.

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

struct ast_codec_pref rprefs [read]

Requested codec preferences

Definition at line 688 of file chan_iax2.c.

Referenced by socket_process().

unsigned char rseqno

Next sequence number they have not yet acknowledged

Definition at line 724 of file chan_iax2.c.

Referenced by complete_transfer(), resend_with_token(), and socket_process().

struct timeval rxcore [read]

timeval that we base our delivery on

Definition at line 706 of file chan_iax2.c.

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

unsigned char semirand[32]

32 bytes of semi-random data

Definition at line 786 of file chan_iax2.c.

Referenced by build_ecx_key(), and iax2_send().

int sockfd

Socket to send/receive on for this call

Definition at line 654 of file chan_iax2.c.

Referenced by __find_callno(), iax2_call(), and iax2_trunk_queue().

struct ast_flags state [read]

What's our state?

Definition at line 718 of file chan_iax2.c.

Referenced by authenticate_verify(), socket_process(), and socket_process_meta().

Last sent video format

Definition at line 662 of file chan_iax2.c.

Referenced by complete_transfer(), and iax2_send().

Last sent voice format

Definition at line 660 of file chan_iax2.c.

Referenced by complete_transfer(), and iax2_send().

Transfer encrypt AES-128 Key

Definition at line 804 of file chan_iax2.c.

struct sockaddr_in transfer [read]

Who we are IAX transferring to

Definition at line 800 of file chan_iax2.c.

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

unsigned short transfercallno

Transfer identifier

Definition at line 798 of file chan_iax2.c.

Referenced by try_transfer().

Transferring status

Definition at line 796 of file chan_iax2.c.

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

Last received video format

Definition at line 658 of file chan_iax2.c.

Referenced by complete_transfer(), and socket_process().

Last received voice format

Definition at line 656 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:

Generated on 31 Aug 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.6.1