Asterisk - The Open Source Telephony Project GIT-master-d5a0626
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 578 of file chan_iax2.c.

Field Documentation

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 599 of file chan_iax2.c.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

< Description of the peer

< What key we use to talk to this peer

< Extension to register (if regcontext is used)

< For transfers only

< Context to pass to peer

< Mailbox

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

< Default context (for transfer really)

< Default context (for transfer really)

< Time Zone

< Default parkinglot for device

Definition at line 599 of file chan_iax2.c.

◆ acl

struct ast_acl_list* acl

◆ addr

struct ast_sockaddr addr

◆ adsi

int adsi

Definition at line 606 of file chan_iax2.c.

Referenced by build_peer(), and create_addr().

◆ authmethods

int authmethods

Authentication methods (IAX_AUTH_*)

Definition at line 611 of file chan_iax2.c.

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

◆ callno

int callno

◆ calltoken_required

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(), calltoken_required(), handle_cli_iax2_show_peer(), and requirecalltoken_mark_auto().

◆ capability

iax2_format capability

Capability

Definition at line 616 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

◆ cid_num

const ast_string_field cid_num

◆ context

const ast_string_field context

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

Referenced by create_addr().

◆ defaddr

struct ast_sockaddr defaddr

Default address if there is one

Definition at line 610 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 601 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 612 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 635 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 615 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 607 of file chan_iax2.c.

Referenced by peer_cmp_cb(), and peer_hash_cb().

◆ formats

int formats

Definition at line 603 of file chan_iax2.c.

◆ historicms

int historicms

How long recent average responses took

Definition at line 626 of file chan_iax2.c.

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

◆ inkeys

const ast_string_field inkeys

Definition at line 599 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 621 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

◆ mask

struct ast_sockaddr mask

Definition at line 605 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 628 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 622 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 599 of file chan_iax2.c.

Referenced by create_addr().

◆ mohsuggest

const ast_string_field mohsuggest

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

Referenced by build_peer(), and peer_destructor().

◆ name

const ast_string_field name

◆ outkey

const ast_string_field outkey

Definition at line 599 of file chan_iax2.c.

Referenced by authenticate_reply(), and create_addr().

◆ parkinglot

const ast_string_field parkinglot

Definition at line 599 of file chan_iax2.c.

Referenced by handle_cli_iax2_show_peer().

◆ peercontext

const ast_string_field peercontext

Definition at line 599 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 620 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 625 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 624 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 600 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

Definition at line 599 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 627 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 604 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

Definition at line 599 of file chan_iax2.c.

Referenced by create_addr(), and update_registry().


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