Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
iax2_peer Struct Reference

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
struct ast_acl_listacl
 
struct ast_sockaddr addr
 
int adsi
 
int authmethods
 
int callno
 
enum calltoken_peer_enum calltoken_required
 
iax2_format capability
 
const ast_string_field cid_name
 
const ast_string_field cid_num
 
const ast_string_field context
 
const ast_string_field dbsecret
 
struct ast_sockaddr defaddr
 
const ast_string_field description
 
struct ast_dnsmgr_entrydnsmgr
 
int encmethods
 
struct ast_endpointendpoint
 
int expire
 
int expiry
 
uint64_t flags
 
int formats
 
int historicms
 
const ast_string_field inkeys
 
int lastms
 
const ast_string_field mailbox
 
struct ast_sockaddr mask
 
uint16_t maxcallno
 
int maxms
 
const ast_string_field mohinterpret
 
const ast_string_field mohsuggest
 
struct ast_mwi_subscribermwi_event_sub
 
const ast_string_field name
 
const ast_string_field outkey
 
const ast_string_field parkinglot
 
const ast_string_field peercontext
 
int pokeexpire
 
int pokefreqnotok
 
int pokefreqok
 
struct iax2_codec_pref prefs
 
const ast_string_field regexten
 
const ast_string_field secret
 
int smoothing
 
int sockfd
 
const ast_string_field username
 
const ast_string_field zonetag
 

Detailed Description

Definition at line 578 of file chan_iax2.c.

Field Documentation

int authmethods

Authentication methods (IAX_AUTH_*)

Definition at line 611 of file chan_iax2.c.

Referenced by build_peer(), and register_verify().

int callno

Call number of POKE request

Definition at line 619 of file chan_iax2.c.

enum calltoken_peer_enum calltoken_required

Is calltoken validation required or not, can be YES, NO, or AUTO

Definition at line 633 of file chan_iax2.c.

Referenced by build_peer(), and handle_cli_iax2_show_peer().

iax2_format capability

Capability

Definition at line 616 of file chan_iax2.c.

Referenced by build_peer(), and handle_cli_iax2_show_peer().

const ast_string_field cid_name

Default context (for transfer really)

Definition at line 599 of file chan_iax2.c.

Referenced by handle_cli_iax2_show_peer(), and update_registry().

const ast_string_field cid_num

Default context (for transfer really)

Definition at line 599 of file chan_iax2.c.

Referenced by handle_cli_iax2_show_peer(), and update_registry().

const ast_string_field context

For transfers only

Definition at line 599 of file chan_iax2.c.

Referenced by handle_cli_iax2_show_peer().

struct ast_sockaddr defaddr

Default address if there is one

Definition at line 610 of file chan_iax2.c.

Referenced by build_peer(), handle_cli_iax2_show_peer(), and iax2_devicestate().

const ast_string_field description

Description of the peer

Definition at line 599 of file chan_iax2.c.

Referenced by handle_cli_iax2_show_peer().

struct ast_dnsmgr_entry* dnsmgr

DNS refresh manager

Definition at line 601 of file chan_iax2.c.

Referenced by build_peer().

int encmethods

Encryption methods (IAX_ENCRYPT_*)

Definition at line 612 of file chan_iax2.c.

Referenced by build_peer(), and handle_cli_iax2_show_peer().

struct ast_endpoint* endpoint

Endpoint structure for this peer

Definition at line 635 of file chan_iax2.c.

Referenced by ast_iax2_new(), build_peer(), and update_registry().

int expire

Schedule entry for expiry

Definition at line 614 of file chan_iax2.c.

Referenced by build_peer(), handle_cli_iax2_show_peer(), realtime_peer(), and update_registry().

int expiry

How soon to expire

Definition at line 615 of file chan_iax2.c.

Referenced by build_peer(), Registration::parse_host_part(), update_registry(), and Registration::write().

int historicms

How long recent average responses took

Definition at line 626 of file chan_iax2.c.

Referenced by iax2_devicestate().

const ast_string_field inkeys

Key(s) this peer can use to authenticate to us

Definition at line 599 of file chan_iax2.c.

Referenced by register_verify().

int lastms

How long last response took (in ms), or -1 for no response

Definition at line 621 of file chan_iax2.c.

Referenced by iax2_devicestate(), and peer_status().

const ast_string_field mailbox

Mailbox

Definition at line 599 of file chan_iax2.c.

Referenced by build_peer(), handle_cli_iax2_show_peer(), and update_registry().

uint16_t maxcallno

Max call number limit for this peer. Set on registration

Definition at line 628 of file chan_iax2.c.

Referenced by build_peer(), handle_cli_iax2_show_peer(), and update_registry().

int maxms

Max ms we will accept for the host to be up, 0 to not monitor

Definition at line 622 of file chan_iax2.c.

Referenced by build_peer(), iax2_devicestate(), and peer_status().

struct ast_mwi_subscriber* mwi_event_sub

This subscription lets pollmailboxes know which mailboxes need to be polled

Definition at line 630 of file chan_iax2.c.

Referenced by build_peer().

const ast_string_field outkey

What key we use to talk to this peer

Definition at line 599 of file chan_iax2.c.

Referenced by authenticate_reply().

const ast_string_field parkinglot

Default parkinglot for device

Definition at line 599 of file chan_iax2.c.

Referenced by handle_cli_iax2_show_peer().

const ast_string_field peercontext

Context to pass to peer

Definition at line 599 of file chan_iax2.c.

int pokeexpire

Scheduled qualification-related task (ie iax2_poke_peer_s or iax2_poke_noanswer)

Definition at line 620 of file chan_iax2.c.

Referenced by build_peer().

int pokefreqnotok

How often to check when the host has been determined to be down

Definition at line 625 of file chan_iax2.c.

Referenced by build_peer(), and handle_cli_iax2_show_peer().

int pokefreqok

How often to check if the host is up

Definition at line 624 of file chan_iax2.c.

Referenced by build_peer(), and handle_cli_iax2_show_peer().

const ast_string_field regexten

Extension to register (if regcontext is used)

Definition at line 599 of file chan_iax2.c.

int smoothing

Sample over how many units to determine historic ms

Definition at line 627 of file chan_iax2.c.

Referenced by build_peer(), and handle_cli_iax2_show_peer().

int sockfd

Socket to use for transmission

Definition at line 604 of file chan_iax2.c.

Referenced by build_peer(), peer_set_srcaddr(), and update_registry().

const ast_string_field zonetag

Time Zone

Definition at line 599 of file chan_iax2.c.

Referenced by update_registry().


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