Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
iax2_peer Struct Reference
Collaboration diagram for iax2_peer:
Collaboration graph
[legend]

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

Field Documentation

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 554 of file chan_iax2.c.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

Definition at line 554 of file chan_iax2.c.

◆ acl

struct ast_acl_list* acl

◆ addr

struct ast_sockaddr addr

◆ adsi

int adsi

Definition at line 561 of file chan_iax2.c.

Referenced by build_peer(), and create_addr().

◆ authmethods

int authmethods

Authentication methods (IAX_AUTH_*)

Definition at line 566 of file chan_iax2.c.

Referenced by authenticate_reply(), build_peer(), create_addr(), register_verify(), and registry_authrequest().

◆ callno

int callno

Call number of POKE request

Definition at line 574 of file chan_iax2.c.

Referenced by __iax2_poke_noanswer(), function_iaxpeer(), iax2_poke_peer(), peer_destructor(), registry_authrequest(), and socket_process_helper().

◆ calltoken_required

enum calltoken_peer_enum calltoken_required

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

Definition at line 588 of file chan_iax2.c.

Referenced by build_peer(), calltoken_required(), handle_cli_iax2_show_peer(), and requirecalltoken_mark_auto().

◆ capability

iax2_format capability

Capability

Definition at line 571 of file chan_iax2.c.

Referenced by build_peer(), create_addr(), function_iaxpeer(), and handle_cli_iax2_show_peer().

◆ cid_name

const ast_string_field cid_name

Default context (for transfer really)

Definition at line 554 of file chan_iax2.c.

Referenced by create_addr(), function_iaxpeer(), handle_cli_iax2_show_peer(), and update_registry().

◆ cid_num

const ast_string_field cid_num

Default context (for transfer really)

Definition at line 554 of file chan_iax2.c.

Referenced by create_addr(), function_iaxpeer(), handle_cli_iax2_show_peer(), and update_registry().

◆ context

const ast_string_field context

For transfers only

Definition at line 554 of file chan_iax2.c.

Referenced by create_addr(), function_iaxpeer(), and handle_cli_iax2_show_peer().

◆ dbsecret

const ast_string_field dbsecret

Definition at line 554 of file chan_iax2.c.

Referenced by create_addr().

◆ defaddr

struct ast_sockaddr defaddr

Default address if there is one

Definition at line 565 of file chan_iax2.c.

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

◆ description

const ast_string_field description

◆ dnsmgr

struct ast_dnsmgr_entry* dnsmgr

DNS refresh manager

Definition at line 556 of file chan_iax2.c.

Referenced by build_peer(), iax2_poke_peer(), and peer_destructor().

◆ encmethods

int encmethods

Encryption methods (IAX_ENCRYPT_*)

Definition at line 567 of file chan_iax2.c.

Referenced by _iax2_show_peers_one(), build_peer(), create_addr(), and handle_cli_iax2_show_peer().

◆ endpoint

struct ast_endpoint* endpoint

Endpoint structure for this peer

Definition at line 590 of file chan_iax2.c.

Referenced by __expire_registry(), __iax2_poke_noanswer(), ast_iax2_new(), build_peer(), peer_destructor(), socket_process_helper(), and update_registry().

◆ expire

int expire

◆ expiry

int expiry

How soon to expire

Definition at line 570 of file chan_iax2.c.

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

◆ flags

uint64_t flags

Definition at line 562 of file chan_iax2.c.

◆ formats

int formats

Definition at line 558 of file chan_iax2.c.

◆ historicms

int historicms

How long recent average responses took

Definition at line 581 of file chan_iax2.c.

Referenced by iax2_devicestate(), iax2_poke_peer(), and socket_process_helper().

◆ inkeys

const ast_string_field inkeys

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

Definition at line 554 of file chan_iax2.c.

Referenced by register_verify().

◆ lastms

int lastms

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

Definition at line 576 of file chan_iax2.c.

Referenced by __iax2_poke_noanswer(), create_addr(), iax2_devicestate(), iax2_poke_peer(), peer_status(), and socket_process_helper().

◆ mailbox

const ast_string_field mailbox

Mailbox

Definition at line 554 of file chan_iax2.c.

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

◆ mask

struct ast_sockaddr mask

Definition at line 560 of file chan_iax2.c.

Referenced by _iax2_show_peers_one(), authenticate_reply(), and build_peer().

◆ maxcallno

uint16_t maxcallno

Max call number limit for this peer. Set on registration

Definition at line 583 of file chan_iax2.c.

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

◆ maxms

int maxms

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

Definition at line 577 of file chan_iax2.c.

Referenced by build_peer(), create_addr(), iax2_devicestate(), iax2_poke_peer(), peer_status(), and socket_process_helper().

◆ mohinterpret

const ast_string_field mohinterpret

Definition at line 554 of file chan_iax2.c.

Referenced by create_addr().

◆ mohsuggest

const ast_string_field mohsuggest

Definition at line 554 of file chan_iax2.c.

Referenced by create_addr().

◆ mwi_event_sub

struct ast_mwi_subscriber* mwi_event_sub

This subscription lets pollmailboxes know which mailboxes need to be polled

Definition at line 585 of file chan_iax2.c.

Referenced by build_peer(), and peer_destructor().

◆ name

const ast_string_field name

◆ outkey

const ast_string_field outkey

What key we use to talk to this peer

Definition at line 554 of file chan_iax2.c.

Referenced by authenticate_reply(), and create_addr().

◆ parkinglot

const ast_string_field parkinglot

Default parkinglot for device

Definition at line 554 of file chan_iax2.c.

Referenced by handle_cli_iax2_show_peer().

◆ peercontext

const ast_string_field peercontext

Context to pass to peer

Definition at line 554 of file chan_iax2.c.

Referenced by create_addr().

◆ pokeexpire

int pokeexpire

Scheduled qualification-related task (ie iax2_poke_peer_s or iax2_poke_noanswer)

Definition at line 575 of file chan_iax2.c.

Referenced by __iax2_poke_noanswer(), build_peer(), iax2_poke_noanswer(), iax2_poke_peer(), iax2_poke_peer_s(), socket_process_helper(), and unlink_peer().

◆ pokefreqnotok

int pokefreqnotok

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

Definition at line 580 of file chan_iax2.c.

Referenced by __iax2_poke_noanswer(), build_peer(), handle_cli_iax2_show_peer(), iax2_poke_peer(), and socket_process_helper().

◆ pokefreqok

int pokefreqok

How often to check if the host is up

Definition at line 579 of file chan_iax2.c.

Referenced by build_peer(), handle_cli_iax2_show_peer(), iax2_poke_peer(), and socket_process_helper().

◆ prefs

struct iax2_codec_pref prefs

Definition at line 555 of file chan_iax2.c.

Referenced by build_peer(), create_addr(), function_iaxpeer(), and handle_cli_iax2_show_peer().

◆ regexten

const ast_string_field regexten

Extension to register (if regcontext is used)

Definition at line 554 of file chan_iax2.c.

Referenced by register_peer_exten().

◆ secret

const ast_string_field secret

◆ smoothing

int smoothing

Sample over how many units to determine historic ms

Definition at line 582 of file chan_iax2.c.

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

◆ sockfd

int sockfd

Socket to use for transmission

Definition at line 559 of file chan_iax2.c.

Referenced by build_peer(), create_addr(), iax2_poke_peer(), peer_set_sock_cb(), peer_set_srcaddr(), and update_registry().

◆ username

const ast_string_field username

◆ zonetag

const ast_string_field zonetag

Time Zone

Definition at line 554 of file chan_iax2.c.

Referenced by create_addr(), and update_registry().


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