Data Structures | |
struct | signaling_queue |
Definition at line 652 of file chan_iax2.c.
struct ast_string_field_mgr __field_mgr |
Definition at line 769 of file chan_iax2.c.
struct ast_string_field_pool* __field_mgr_pool |
Definition at line 769 of file chan_iax2.c.
const ast_string_field accountcode |
Definition at line 769 of file chan_iax2.c.
Referenced by ast_iax2_new().
struct sockaddr_in addr |
Peer Address
Definition at line 684 of file chan_iax2.c.
Referenced by __attempt_transmit(), __find_callno(), acf_channel_read(), complete_transfer(), iax2_send(), iax2_trunk_queue(), match(), pvt_destructor(), send_packet(), and socket_process().
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().
const ast_string_field ani |
Hidden Caller ID (i.e. ANI) if appropriate
Definition at line 769 of file chan_iax2.c.
Referenced by ast_iax2_new().
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 |
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().
int authmethods |
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().
int calling_pres |
Definition at line 820 of file chan_iax2.c.
Referenced by ast_iax2_new(), check_access(), and socket_process().
int calling_tns |
Definition at line 819 of file chan_iax2.c.
Referenced by ast_iax2_new(), and check_access().
int calling_ton |
Definition at line 818 of file chan_iax2.c.
Referenced by ast_iax2_new(), and check_access().
unsigned short callno |
Our call number
Definition at line 690 of file chan_iax2.c.
Referenced by __find_callno(), acf_channel_read(), ast_iax2_new(), authenticate_reply(), calc_rxstamp(), calc_timestamp(), complete_transfer(), iax2_ami_channelupdate(), iax2_destroy_helper(), iax2_indicate(), iax2_key_rotate(), iax2_predestroy(), iax2_queryoption(), iax2_send(), iax2_setoption(), iax2_transfer(), iax2_trunk_queue(), make_trunk(), match(), pvt_destructor(), resend_with_token(), send_command(), send_command_final(), socket_process(), update_jbsched(), and wait_for_peercallno().
struct callno_entry* callno_entry |
Our callno_entry entry
Definition at line 692 of file chan_iax2.c.
Referenced by __find_callno(), make_trunk(), and pvt_destructor().
unsigned char calltoken_ie_len |
num bytes used for calltoken ie, even an empty ie should contain 2
Definition at line 836 of file chan_iax2.c.
Referenced by add_empty_calltoken_ie(), and resend_with_token().
format_t capability |
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().
const ast_string_field challenge |
MD5 challenge
Definition at line 769 of file chan_iax2.c.
Referenced by authenticate_reply(), authenticate_request(), and authenticate_verify().
format_t chosenformat |
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().
const ast_string_field cid_name |
Definition at line 769 of file chan_iax2.c.
Referenced by ast_iax2_new().
const ast_string_field cid_num |
Caller ID if available
Definition at line 769 of file chan_iax2.c.
Referenced by ast_iax2_new(), and socket_process().
const ast_string_field context |
Default Context
Definition at line 769 of file chan_iax2.c.
Referenced by ast_iax2_new(), check_access(), and 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().
const ast_string_field dnid |
struct { ... } dpentries |
Referenced by new_iax().
const ast_string_field dproot |
Definition at line 769 of file chan_iax2.c.
Encryption AES-128 Key
Definition at line 777 of file chan_iax2.c.
Referenced by build_ecx_key(), and iax2_send().
int encmethods |
permitted encryption methods
Definition at line 775 of file chan_iax2.c.
Referenced by authenticate_reply(), authenticate_request(), authenticate_verify(), check_access(), iax2_call(), iax2_send(), merge_encryption(), and socket_process().
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().
const ast_string_field exten |
Requested Extension
Definition at line 769 of file chan_iax2.c.
Referenced by ast_iax2_new(), and socket_process().
struct iax2_dpcache* first |
Definition at line 822 of file chan_iax2.c.
int first_iax_message |
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 frames_dropped |
Dropped frame count: (just for stats)
Definition at line 832 of file chan_iax2.c.
int frames_received |
received frame count: (just for stats)
Definition at line 834 of file chan_iax2.c.
Referenced by ast_cli_netstats(), pvt_cmp_cb(), socket_process(), and transfercallno_pvt_cmp_cb().
char hold_signaling |
hold all signaling frames from the pbx thread until we have a destination callno
Definition at line 838 of file chan_iax2.c.
Referenced by new_iax(), queue_signalling(), send_signaling(), and socket_process().
const ast_string_field host |
Hostname/peername for naming purposes
Definition at line 769 of file chan_iax2.c.
Referenced by ast_iax2_new().
struct ast_variable* iaxvars |
variables transmitted in a NEW packet
Definition at line 826 of file chan_iax2.c.
Referenced by ast_iax2_new(), and socket_process().
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().
const ast_string_field inkeys |
Public keys permitted keys for incoming authentication
Definition at line 769 of file chan_iax2.c.
Referenced by authenticate_verify(), 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().
jitterbuf* jb |
The jitterbuffer
Definition at line 708 of file chan_iax2.c.
Referenced by __get_from_jb(), complete_transfer(), construct_rr(), new_iax(), pvt_destructor(), schedule_delivery(), and update_jbsched().
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().
int keyrotateid |
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 |
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().
const ast_string_field language |
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().
struct iax2_dpcache* last |
Definition at line 822 of file chan_iax2.c.
int last_iax_message |
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().
int min |
Current base time: (just for stats)
Definition at line 830 of file chan_iax2.c.
const ast_string_field mohinterpret |
Definition at line 769 of file chan_iax2.c.
Referenced by iax2_indicate().
const ast_string_field mohsuggest |
Definition at line 769 of file chan_iax2.c.
Referenced by socket_process().
ast_aes_decrypt_key mydcx |
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 |
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().
const ast_string_field osptoken |
const ast_string_field outkey |
Private key for outgoing authentication
Definition at line 769 of file chan_iax2.c.
struct ast_channel* owner |
Owner if we have one
Definition at line 716 of file chan_iax2.c.
Referenced by __attempt_transmit(), ast_iax2_new(), authenticate_reply(), handle_cli_iax2_show_channels(), iax2_ami_channelupdate(), iax2_destroy(), iax2_fixup(), iax2_predestroy(), pvt_destructor(), schedule_delivery(), set_hangup_source_and_cause(), and socket_process().
const ast_string_field parkinglot |
const ast_string_field peer |
Peer name
Definition at line 769 of file chan_iax2.c.
Referenced by authenticate_reply(), and iax2_ami_channelupdate().
int peeradsicpe |
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 callno
Definition at line 694 of file chan_iax2.c.
Referenced by __find_callno(), calc_timestamp(), complete_transfer(), iax2_ami_channelupdate(), iax2_destroy(), iax2_send(), match(), pvt_hash_cb(), remove_by_peercallno(), resend_with_token(), send_packet(), socket_process(), store_by_peercallno(), and wait_for_peercallno().
format_t peercapability |
Peer capability
Definition at line 702 of file chan_iax2.c.
Referenced by check_access(), and socket_process().
format_t peerformat |
Peer selected format
Definition at line 700 of file chan_iax2.c.
Referenced by check_access(), and socket_process().
struct iax2_peer* peerpoke |
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 |
Ping time
Definition at line 680 of file chan_iax2.c.
Referenced by __find_callno(), ast_cli_netstats(), complete_transfer(), iax2_call(), iax2_poke_peer(), iax2_send(), and log_jitterstats().
struct ast_codec_pref prefs |
Actual used codec preferences
Definition at line 686 of file chan_iax2.c.
Referenced by check_access(), new_iax(), and socket_process().
const ast_string_field rdnis |
struct iax2_registry* reg |
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 iax_rr remote_rr |
last received remote rr
Definition at line 828 of file chan_iax2.c.
Referenced by ast_cli_netstats(), handle_cli_iax2_show_channels(), log_jitterstats(), and save_rr().
struct ast_codec_pref rprefs |
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 |
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().
const ast_string_field secret |
Expected Secret
Definition at line 769 of file chan_iax2.c.
Referenced by authenticate_verify(), and socket_process().
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().
Referenced by new_iax(), pvt_destructor(), queue_signalling(), and send_signaling().
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().
What's our state?
Definition at line 718 of file chan_iax2.c.
Referenced by authenticate_verify(), socket_process(), and socket_process_meta().
format_t svideoformat |
Last sent video format
Definition at line 662 of file chan_iax2.c.
Referenced by complete_transfer(), and iax2_send().
format_t svoiceformat |
Last sent voice format
Definition at line 660 of file chan_iax2.c.
Referenced by complete_transfer(), and iax2_send().
ast_aes_encrypt_key tdcx |
Transfer encrypt AES-128 Key
Definition at line 804 of file chan_iax2.c.
struct sockaddr_in transfer |
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 |
What's the new call number for the transfer
Definition at line 802 of file chan_iax2.c.
Referenced by complete_transfer(), iax2_destroy(), iax2_send(), match(), remove_by_transfercallno(), store_by_transfercallno(), transfercallno_pvt_hash_cb(), and try_transfer().
int transferid |
enum iax_transfer_state transferring |
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().
const ast_string_field username |
Expected Username
Definition at line 769 of file chan_iax2.c.
Referenced by acf_channel_read(), authenticate_reply(), authenticate_request(), authenticate_verify(), and iax2_destroy_helper().
struct ast_variable* vars |
variables inherited from the user definition
Definition at line 824 of file chan_iax2.c.
Referenced by ast_iax2_new(), check_access(), and pvt_destructor().
format_t videoformat |
Last received video format
Definition at line 658 of file chan_iax2.c.
Referenced by complete_transfer(), and socket_process().
format_t voiceformat |
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().