Asterisk - The Open Source Telephony Project  21.4.1
Data Structures | Data Fields
chan_iax2_pvt Struct Reference

Data Structures

struct  signaling_queue
 

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
const ast_string_field accountcode
 
struct ast_sockaddr addr
 
int adsi
 
int amaflags
 
const ast_string_field ani
 
unsigned char aseqno
 
int authfail
 
int authid
 
int authmethods
 
int authrej
 
int autoid
 
unsigned short bridgecallno
 
ast_callid callid
 
int calling_ani2
 
int calling_pres
 
int calling_tns
 
int calling_ton
 
unsigned short callno
 
callno_entry callno_entry
 
unsigned char calltoken_ie_len
 
iax2_format capability
 
const ast_string_field challenge
 
iax2_format chosenformat
 
const ast_string_field cid_name
 
const ast_string_field cid_num
 
const ast_string_field context
 
ast_aes_decrypt_key dcx
 
int destroy_initiated
 
const ast_string_field dnid
 
struct {
   struct iax2_dpcache *   first
 
   struct iax2_dpcache *   last
 
dpentries
 
const ast_string_field dproot
 
ast_aes_encrypt_key ecx
 
int eff_auth_method
 
int encmethods
 
int error
 
int expiry
 
const ast_string_field exten
 
int first_iax_message
 
uint64_t flags
 
int frames_dropped
 
int frames_received
 
char hold_signaling
 
const ast_string_field host
 
struct ast_variableiaxvars
 
int initid
 
const ast_string_field inkeys
 
unsigned char iseqno
 
jitterbufjb
 
int jbid
 
int keyrotateid
 
int lag
 
int lagid
 
const ast_string_field language
 
unsigned int last
 
int last_iax_message
 
unsigned int lastsent
 
unsigned int lastvsent
 
int maxtime
 
int min
 
const ast_string_field mohinterpret
 
const ast_string_field mohsuggest
 
ast_aes_decrypt_key mydcx
 
unsigned int nextpred
 
unsigned int notsilenttx:1
 
struct timeval offset
 
unsigned char oseqno
 
const ast_string_field osptoken
 
const ast_string_field outkey
 
struct ast_channelowner
 
const ast_string_field parkinglot
 
const ast_string_field peer
 
int peeradsicpe
 
unsigned short peercallno
 
iax2_format peercapability
 
iax2_format peerformat
 
struct iax2_peerpeerpoke
 
int pingid
 
unsigned int pingtime
 
struct iax2_codec_pref prefs
 
const ast_string_field rdnis
 
struct iax2_registryreg
 
struct iax_rr remote_rr
 
struct iax2_codec_pref rprefs
 
unsigned char rseqno
 
struct timeval rxcore
 
const ast_string_field secret
 
unsigned char semirand [32]
 
struct chan_iax2_pvt::signaling_queue signaling_queue
 
int sockfd
 
struct ast_flags state
 
iax2_format svideoformat
 
iax2_format svoiceformat
 
ast_aes_encrypt_key tdcx
 
struct ast_sockaddr transfer
 
unsigned short transfercallno
 
int transferid
 
enum iax_transfer_state transferring
 
const ast_string_field username
 
struct ast_variablevars
 
iax2_format videoformat
 
iax2_format voiceformat
 

Detailed Description

Definition at line 742 of file chan_iax2.c.

Field Documentation

struct ast_sockaddr addr

Peer Address

Definition at line 776 of file chan_iax2.c.

Referenced by __find_callno().

const ast_string_field ani

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

Definition at line 861 of file chan_iax2.c.

Referenced by ast_iax2_new().

unsigned char aseqno

Last incoming sequence number we have acknowledged

Definition at line 820 of file chan_iax2.c.

int authfail

Reason to report failure

Definition at line 910 of file chan_iax2.c.

int authid

Authentication rejection ID

Definition at line 909 of file chan_iax2.c.

Referenced by iax2_destroy_helper().

int authmethods

permitted authentication methods

Definition at line 865 of file chan_iax2.c.

Referenced by authenticate_request().

int authrej

AUTHREJ all AUTHREP frames

Definition at line 863 of file chan_iax2.c.

int autoid

Auto hangup for Dialplan requestor

Definition at line 908 of file chan_iax2.c.

Referenced by iax2_destroy_helper().

unsigned short bridgecallno

Callno of native bridge peer. (Valid if nonzero)

Definition at line 904 of file chan_iax2.c.

ast_callid callid

ast_callid bound to dialog

Definition at line 746 of file chan_iax2.c.

unsigned short callno
callno_entry callno_entry

Our callno_entry entry

Definition at line 784 of file chan_iax2.c.

Referenced by __find_callno(), and make_trunk().

unsigned char calltoken_ie_len

num bytes used for calltoken ie, even an empty ie should contain 2

Definition at line 933 of file chan_iax2.c.

iax2_format capability

What we are capable of sending

Definition at line 756 of file chan_iax2.c.

Referenced by ast_iax2_new().

const ast_string_field challenge

MD5 challenge

Definition at line 861 of file chan_iax2.c.

Referenced by authenticate_reply(), and authenticate_request().

iax2_format 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 790 of file chan_iax2.c.

const ast_string_field cid_num

Caller ID if available

Definition at line 861 of file chan_iax2.c.

Referenced by ast_iax2_new().

const ast_string_field context

Default Context

Definition at line 861 of file chan_iax2.c.

Referenced by ast_iax2_new().

Decryption AES-128 Key used to decrypt peer frames

Definition at line 875 of file chan_iax2.c.

Referenced by authenticate_reply().

int destroy_initiated

Destroying this call initiated.

Definition at line 931 of file chan_iax2.c.

Referenced by iax2_destroy_helper().

const ast_string_field dnid

DNID

Definition at line 861 of file chan_iax2.c.

Referenced by ast_iax2_new().

Encryption AES-128 Key

Definition at line 871 of file chan_iax2.c.

Referenced by authenticate_reply().

int eff_auth_method

effective authentication method

Definition at line 867 of file chan_iax2.c.

int encmethods

permitted encryption methods

Definition at line 869 of file chan_iax2.c.

Referenced by authenticate_reply(), and authenticate_request().

int error

Error, as discovered by the manager

Definition at line 806 of file chan_iax2.c.

int expiry

Expiry (optional)

Definition at line 812 of file chan_iax2.c.

Referenced by __find_callno(), Registration::parse_host_part(), register_verify(), and Registration::write().

const ast_string_field exten

Requested Extension

Definition at line 861 of file chan_iax2.c.

Referenced by ast_iax2_new().

int first_iax_message

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

Definition at line 766 of file chan_iax2.c.

uint64_t flags

IAX_ flags

Definition at line 886 of file chan_iax2.c.

int frames_dropped

Dropped frame count: (just for stats)

Definition at line 927 of file chan_iax2.c.

int frames_received

received frame count: (just for stats)

Definition at line 929 of file chan_iax2.c.

char hold_signaling

hold all signaling frames from the pbx thread until we have a destination callno

Definition at line 935 of file chan_iax2.c.

Referenced by queue_signalling(), and send_signaling().

const ast_string_field host

Hostname/peername for naming purposes

Definition at line 861 of file chan_iax2.c.

Referenced by ast_iax2_new(), Registration::parse_host_part(), and Registration::write().

struct ast_variable* iaxvars

variables transmitted in a NEW packet

Definition at line 921 of file chan_iax2.c.

Referenced by ast_iax2_new().

int initid

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

Definition at line 911 of file chan_iax2.c.

Referenced by iax2_destroy_helper().

const ast_string_field inkeys

Public keys permitted keys for incoming authentication

Definition at line 861 of file chan_iax2.c.

unsigned char iseqno

Next incoming sequence number

Definition at line 818 of file chan_iax2.c.

jitterbuf* jb

The jitterbuffer

Definition at line 800 of file chan_iax2.c.

Referenced by schedule_delivery().

int jbid

active jb read scheduler id

Definition at line 802 of file chan_iax2.c.

Referenced by iax2_destroy_helper().

int keyrotateid

scheduler id associated with iax_key_rotate for encrypted calls

Definition at line 878 of file chan_iax2.c.

Referenced by iax2_destroy_helper().

int lag

LAG

Definition at line 804 of file chan_iax2.c.

int lagid

Retransmit lag request

Definition at line 907 of file chan_iax2.c.

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

const ast_string_field language

Preferred language

Definition at line 861 of file chan_iax2.c.

Referenced by ast_iax2_new().

unsigned int last

Last received timestamp

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

unsigned int lastsent

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

Definition at line 760 of file chan_iax2.c.

unsigned int lastvsent

Timestamp of the last video frame sent

Definition at line 762 of file chan_iax2.c.

int maxtime

Max time for initial response

Definition at line 774 of file chan_iax2.c.

int min

Current base time: (just for stats)

Definition at line 925 of file chan_iax2.c.

Decryption AES-128 Key corresponding to ecx

Definition at line 873 of file chan_iax2.c.

unsigned int nextpred

Next outgoing timestamp if everything is good

Definition at line 764 of file chan_iax2.c.

unsigned int notsilenttx

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

Definition at line 770 of file chan_iax2.c.

struct timeval offset

timeval that we base our transmission on

Definition at line 796 of file chan_iax2.c.

unsigned char oseqno

Next outgoing sequence number

Definition at line 814 of file chan_iax2.c.

const ast_string_field osptoken

received OSP token

Definition at line 861 of file chan_iax2.c.

const ast_string_field outkey

Private key for outgoing authentication

Definition at line 861 of file chan_iax2.c.

struct ast_channel* owner

Owner if we have one

Definition at line 808 of file chan_iax2.c.

Referenced by ast_iax2_new(), authenticate_reply(), and iax2_predestroy().

const ast_string_field parkinglot

Default parkinglot

Definition at line 861 of file chan_iax2.c.

Referenced by __find_callno(), and ast_iax2_new().

const ast_string_field peer

Peer name

Definition at line 861 of file chan_iax2.c.

Referenced by ast_iax2_new(), authenticate_reply(), and Registration::parse_user_part().

int peeradsicpe

Status of knowledge of peer ADSI capability

Definition at line 901 of file chan_iax2.c.

Referenced by ast_iax2_new().

unsigned short peercallno

Peer callno

Definition at line 786 of file chan_iax2.c.

Referenced by __find_callno(), and wait_for_peercallno().

iax2_format peercapability

Peer capability

Definition at line 794 of file chan_iax2.c.

iax2_format peerformat

Peer selected format

Definition at line 792 of file chan_iax2.c.

struct iax2_peer* peerpoke

Associated peer for poking

Definition at line 884 of file chan_iax2.c.

int pingid

Transmit PING request

Definition at line 906 of file chan_iax2.c.

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

unsigned int pingtime

Ping time

Definition at line 772 of file chan_iax2.c.

Referenced by __find_callno().

struct iax2_codec_pref prefs

Actual used codec preferences

Definition at line 778 of file chan_iax2.c.

const ast_string_field rdnis

RDNIS

Definition at line 861 of file chan_iax2.c.

Referenced by ast_iax2_new().

struct iax2_registry* reg

Associated registry

Definition at line 882 of file chan_iax2.c.

Referenced by iax2_ack_registry().

struct iax_rr remote_rr

last received remote rr

Definition at line 923 of file chan_iax2.c.

struct iax2_codec_pref rprefs

Requested codec preferences

Definition at line 780 of file chan_iax2.c.

unsigned char rseqno

Next sequence number they have not yet acknowledged

Definition at line 816 of file chan_iax2.c.

struct timeval rxcore

timeval that we base our delivery on

Definition at line 798 of file chan_iax2.c.

Referenced by schedule_delivery().

const ast_string_field secret

Expected Secret

Definition at line 861 of file chan_iax2.c.

Referenced by authenticate_reply(), Registration::parse_user_part(), and Registration::write().

unsigned char semirand[32]

32 bytes of semi-random data

Definition at line 880 of file chan_iax2.c.

int sockfd

Socket to send/receive on for this call

Definition at line 744 of file chan_iax2.c.

Referenced by __find_callno().

struct ast_flags state

What's our state?

Definition at line 810 of file chan_iax2.c.

iax2_format svideoformat

Last sent video format

Definition at line 754 of file chan_iax2.c.

iax2_format svoiceformat

Last sent voice format

Definition at line 752 of file chan_iax2.c.

Transfer encrypt AES-128 Key

Definition at line 898 of file chan_iax2.c.

struct ast_sockaddr transfer

Who we are IAX transferring to

Definition at line 894 of file chan_iax2.c.

Referenced by __find_callno().

unsigned short transfercallno

What's the new call number for the transfer

Definition at line 896 of file chan_iax2.c.

int transferid

Transfer identifier

Definition at line 892 of file chan_iax2.c.

enum iax_transfer_state transferring

Transferring status

Definition at line 890 of file chan_iax2.c.

const ast_string_field username

Expected Username

Definition at line 861 of file chan_iax2.c.

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

struct ast_variable* vars

variables inherited from the user definition

Definition at line 919 of file chan_iax2.c.

Referenced by ast_iax2_new().

iax2_format videoformat

Last received video format

Definition at line 750 of file chan_iax2.c.

iax2_format voiceformat

Last received voice format

Definition at line 748 of file chan_iax2.c.


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