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 | |
struct 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 |
int | chosenformat |
aes_decrypt_ctx | dcx |
struct iax2_dpcache * | dpentries |
aes_encrypt_ctx | ecx |
int | encmethods |
int | error |
int | expiry |
unsigned int | flags |
int | frames_dropped |
int | frames_received |
int | initid |
unsigned char | iseqno |
jitterbuf * | jb |
int | jbid |
int | lag |
int | lagid |
unsigned int | last |
unsigned int | lastsent |
int | maxtime |
int | min |
unsigned int | nextpred |
int | notsilenttx |
struct timeval | offset |
unsigned char | oseqno |
struct ast_channel * | owner |
int | peeradsicpe |
unsigned short | peercallno |
int | peercapability |
int | peerformat |
struct iax2_peer * | peerpoke |
int | pingid |
unsigned int | pingtime |
struct ast_codec_pref | prefs |
struct iax2_registry * | reg |
struct iax_rr | remote_rr |
struct ast_codec_pref | rprefs |
unsigned char | rseqno |
struct timeval | rxcore |
unsigned char | semirand [32] |
int | sockfd |
struct ast_flags | state |
int | svideoformat |
int | svoiceformat |
aes_encrypt_ctx | tdcx |
struct sockaddr_in | transfer |
unsigned short | transfercallno |
int | transferid |
enum iax_transfer_state | transferring |
struct ast_variable * | vars |
int | videoformat |
int | voiceformat |
Definition at line 466 of file chan_iax2.c.
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); | ) |
struct sockaddr_in addr [read] |
Peer Address
Definition at line 492 of file chan_iax2.c.
Referenced by __attempt_transmit(), complete_transfer(), find_callno(), iax2_send(), iax2_trunk_queue(), match(), send_packet(), and socket_process().
int adsi |
Definition at line 589 of file chan_iax2.c.
Referenced by ast_iax2_new(), check_access(), and iax2_call().
int amaflags |
Definition at line 617 of file chan_iax2.c.
Referenced by ast_iax2_new(), check_access(), and find_callno().
unsigned char aseqno |
Last incoming sequence number we have acknowledged
Definition at line 534 of file chan_iax2.c.
Referenced by complete_transfer(), iax2_send(), and socket_process().
int authfail |
int authid |
Authentication rejection ID
Definition at line 611 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 574 of file chan_iax2.c.
Referenced by authenticate_request(), authenticate_verify(), check_access(), and socket_process().
int autoid |
Auto hangup for Dialplan requestor
Definition at line 610 of file chan_iax2.c.
Referenced by auto_hangup(), iax2_destroy_helper(), iax2_dprequest(), iax2_provision(), and new_iax().
unsigned short bridgecallno |
Who we are bridged to
Definition at line 606 of file chan_iax2.c.
Referenced by iax2_bridge(), and new_iax().
int calling_pres |
int calling_tns |
int calling_ton |
unsigned short callno |
Our call number
Definition at line 498 of file chan_iax2.c.
Referenced by ast_iax2_new(), calc_rxstamp(), calc_timestamp(), find_callno(), iax2_destroy(), iax2_send(), iax2_trunk_queue(), make_trunk(), match(), new_iax(), send_command_final(), socket_process(), and update_jbsched().
int capability |
What we are capable of sending
Definition at line 478 of file chan_iax2.c.
Referenced by ast_iax2_new(), cache_get_callno_locked(), check_access(), and socket_process().
int 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 504 of file chan_iax2.c.
Referenced by socket_process().
Decryption AES-128 Key
Definition at line 580 of file chan_iax2.c.
Referenced by authenticate_reply().
struct iax2_dpcache* dpentries [read] |
Encryption AES-128 Key
Definition at line 578 of file chan_iax2.c.
Referenced by authenticate_reply(), and iax2_send().
int encmethods |
permitted encryption methods
Definition at line 576 of file chan_iax2.c.
Referenced by authenticate_reply(), authenticate_request(), check_access(), iax2_call(), merge_encryption(), and socket_process().
int error |
Error, as discovered by the manager
Definition at line 520 of file chan_iax2.c.
Referenced by __attempt_transmit(), and socket_process().
int expiry |
Expiry (optional)
Definition at line 526 of file chan_iax2.c.
Referenced by find_callno(), and register_verify().
unsigned int flags |
IAX_ flags
Definition at line 588 of file chan_iax2.c.
int frames_dropped |
Dropped frame count: (just for stats)
Definition at line 625 of file chan_iax2.c.
int frames_received |
received frame count: (just for stats)
Definition at line 627 of file chan_iax2.c.
Referenced by ast_cli_netstats(), and socket_process().
int initid |
Initial peer auto-congest ID (based on qualified peers)
Definition at line 613 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 532 of file chan_iax2.c.
Referenced by complete_transfer(), iax2_send(), socket_process(), and update_packet().
The jitterbuffer
Definition at line 514 of file chan_iax2.c.
Referenced by __get_from_jb(), complete_transfer(), construct_rr(), iax2_destroy(), new_iax(), schedule_delivery(), and update_jbsched().
int jbid |
active jb read scheduler id
Definition at line 516 of file chan_iax2.c.
Referenced by __get_from_jb(), iax2_destroy_helper(), new_iax(), schedule_delivery(), and update_jbsched().
int lag |
int lagid |
Retransmit lag request
Definition at line 609 of file chan_iax2.c.
Referenced by __send_lagrq(), find_callno(), iax2_destroy_helper(), make_trunk(), and new_iax().
unsigned int last |
Last received timestamp
Definition at line 480 of file chan_iax2.c.
Referenced by complete_transfer(), socket_process(), and unwrap_timestamp().
unsigned int lastsent |
Last sent timestamp - never send the same timestamp twice in a single call
Definition at line 482 of file chan_iax2.c.
Referenced by calc_timestamp(), complete_transfer(), and iax2_send().
int maxtime |
Max time for initial response
Definition at line 490 of file chan_iax2.c.
Referenced by iax2_call(), and iax2_request().
int min |
Current base time: (just for stats)
Definition at line 623 of file chan_iax2.c.
unsigned int nextpred |
Next outgoing timestamp if everything is good
Definition at line 484 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 486 of file chan_iax2.c.
Referenced by calc_timestamp().
struct timeval offset [read] |
timeval that we base our transmission on
Definition at line 510 of file chan_iax2.c.
Referenced by calc_timestamp(), and complete_transfer().
unsigned char oseqno |
Definition at line 528 of file chan_iax2.c.
Referenced by complete_transfer(), iax2_send(), and socket_process().
struct ast_channel* owner [read] |
Owner if we have one
Definition at line 522 of file chan_iax2.c.
Referenced by __attempt_transmit(), ast_iax2_new(), iax2_destroy(), iax2_fixup(), iax2_predestroy(), schedule_delivery(), and socket_process().
int peeradsicpe |
Status of knowledge of peer ADSI capability
Definition at line 603 of file chan_iax2.c.
Referenced by ast_iax2_new(), and check_access().
unsigned short peercallno |
Peer callno
Definition at line 500 of file chan_iax2.c.
Referenced by calc_timestamp(), complete_transfer(), find_callno(), iax2_send(), match(), new_iax(), send_packet(), and socket_process().
int peercapability |
Peer capability
Definition at line 508 of file chan_iax2.c.
Referenced by check_access(), and socket_process().
int peerformat |
Peer selected format
Definition at line 506 of file chan_iax2.c.
Referenced by check_access(), and socket_process().
Associated peer for poking
Definition at line 586 of file chan_iax2.c.
Referenced by iax2_poke_peer().
int pingid |
Transmit PING request
Definition at line 608 of file chan_iax2.c.
Referenced by __send_ping(), find_callno(), iax2_destroy_helper(), make_trunk(), and new_iax().
unsigned int pingtime |
Ping time
Definition at line 488 of file chan_iax2.c.
Referenced by ast_cli_netstats(), complete_transfer(), find_callno(), iax2_call(), iax2_poke_peer(), and iax2_send().
struct ast_codec_pref prefs [read] |
Actual used codec preferences
Definition at line 494 of file chan_iax2.c.
Referenced by check_access(), new_iax(), and socket_process().
struct iax2_registry* reg [read] |
Associated registry
Definition at line 584 of file chan_iax2.c.
Referenced by __attempt_transmit(), delete_users(), iax2_ack_registry(), iax2_destroy(), iax2_do_register(), and registry_rerequest().
last received remote rr
Definition at line 621 of file chan_iax2.c.
Referenced by ast_cli_netstats(), iax2_show_channels(), and save_rr().
struct ast_codec_pref rprefs [read] |
Requested codec preferences
Definition at line 496 of file chan_iax2.c.
Referenced by socket_process().
unsigned char rseqno |
Next sequence number they have not yet acknowledged
Definition at line 530 of file chan_iax2.c.
Referenced by complete_transfer(), and socket_process().
struct timeval rxcore [read] |
timeval that we base our delivery on
Definition at line 512 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] |
int sockfd |
Socket to send/receive on for this call
Definition at line 468 of file chan_iax2.c.
Referenced by find_callno(), iax2_call(), and iax2_trunk_queue().
What's our state?
Definition at line 524 of file chan_iax2.c.
Referenced by authenticate_verify(), and socket_process().
int svideoformat |
Last sent video format
Definition at line 476 of file chan_iax2.c.
Referenced by complete_transfer(), and iax2_send().
int svoiceformat |
Last sent voice format
Definition at line 474 of file chan_iax2.c.
Referenced by complete_transfer(), and iax2_send().
Transfer decrypt AES-128 Key
Definition at line 600 of file chan_iax2.c.
struct sockaddr_in transfer [read] |
Who we are IAX transfering to
Definition at line 596 of file chan_iax2.c.
Referenced by 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 598 of file chan_iax2.c.
Referenced by complete_transfer(), iax2_send(), match(), new_iax(), and try_transfer().
int transferid |
Transferring status
Definition at line 592 of file chan_iax2.c.
Referenced by complete_transfer(), iax2_send(), iax2_start_transfer(), match(), socket_process(), and try_transfer().
struct ast_variable* vars [read] |
Definition at line 619 of file chan_iax2.c.
Referenced by ast_iax2_new(), check_access(), and iax2_destroy().
int videoformat |
Last received video format
Definition at line 472 of file chan_iax2.c.
Referenced by complete_transfer(), and socket_process().
int voiceformat |
Last received voice format
Definition at line 470 of file chan_iax2.c.
Referenced by __get_from_jb(), complete_transfer(), and socket_process().