Thu Apr 28 2011 17:16:25

Asterisk developer's documentation


iax2_peer Struct Reference

Collaboration diagram for iax2_peer:

Data Fields

struct ast_string_field_mgr __field_mgr
struct ast_string_field_pool__field_mgr_pool
struct sockaddr_in addr
int adsi
int authmethods
int callno
enum calltoken_peer_enum calltoken_required
int capability
const ast_string_field cid_name
const ast_string_field cid_num
const ast_string_field context
const ast_string_field dbsecret
struct sockaddr_in defaddr
struct ast_dnsmgr_entrydnsmgr
int encmethods
int expire
int expiry
unsigned int flags
int formats
struct ast_haha
int historicms
const ast_string_field inkeys
int lastms
const ast_string_field mailbox
struct in_addr mask
uint16_t maxcallno
int maxms
const ast_string_field mohinterpret
const ast_string_field mohsuggest
struct ast_event_submwi_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 ast_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 435 of file chan_iax2.c.


Field Documentation

Definition at line 455 of file chan_iax2.c.

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

int adsi

Definition at line 462 of file chan_iax2.c.

Referenced by build_peer(), and create_addr().

Authentication methods (IAX_AUTH_*)

Definition at line 467 of file chan_iax2.c.

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

int callno

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

Definition at line 489 of file chan_iax2.c.

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

Capability

Definition at line 472 of file chan_iax2.c.

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

Definition at line 455 of file chan_iax2.c.

Referenced by build_peer(), and create_addr().

struct sockaddr_in defaddr

Default address if there is one

Definition at line 466 of file chan_iax2.c.

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

DNS refresh manager

Definition at line 457 of file chan_iax2.c.

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

Encryption methods (IAX_ENCRYPT_*)

Definition at line 468 of file chan_iax2.c.

Referenced by __iax2_show_peers(), build_peer(), create_addr(), handle_cli_iax2_show_peer(), and manager_iax2_show_peer_list().

int expiry

How soon to expire

Definition at line 471 of file chan_iax2.c.

Referenced by __expire_registry(), build_peer(), reg_source_db(), and update_registry().

unsigned int flags

Definition at line 463 of file chan_iax2.c.

int formats

Definition at line 459 of file chan_iax2.c.

struct ast_ha* ha

How long recent average responses took

Definition at line 482 of file chan_iax2.c.

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

Definition at line 455 of file chan_iax2.c.

Referenced by build_peer(), and register_verify().

int lastms

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

Definition at line 477 of file chan_iax2.c.

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

struct in_addr mask
uint16_t maxcallno

Max call number limit for this peer. Set on registration

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

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

Definition at line 455 of file chan_iax2.c.

Referenced by create_addr().

Definition at line 455 of file chan_iax2.c.

Referenced by create_addr().

Definition at line 486 of file chan_iax2.c.

Referenced by build_peer(), and peer_destructor().

Definition at line 455 of file chan_iax2.c.

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

Definition at line 455 of file chan_iax2.c.

Referenced by handle_cli_iax2_show_peer().

Definition at line 455 of file chan_iax2.c.

Referenced by build_peer(), and create_addr().

Scheduled qualification-related task (ie iax2_poke_peer_s or iax2_poke_noanswer)

Definition at line 476 of file chan_iax2.c.

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

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

Definition at line 481 of file chan_iax2.c.

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

How often to check if the host is up

Definition at line 480 of file chan_iax2.c.

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

Definition at line 455 of file chan_iax2.c.

Referenced by build_peer(), and register_peer_exten().

int smoothing

Sample over how many units to determine historic ms

Definition at line 483 of file chan_iax2.c.

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

int sockfd

Socket to use for transmission

Definition at line 460 of file chan_iax2.c.

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

Definition at line 455 of file chan_iax2.c.

Referenced by create_addr(), and update_registry().


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