Fri Jun 19 12:11:02 2009

Asterisk developer's documentation


iax2_peer Struct Reference


Data Fields

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


Field Documentation

struct ast_string_field_mgr __field_mgr

Definition at line 354 of file chan_iax2.c.

struct ast_string_field_pool* __field_mgr_pool

< Default parkinglot for device

Definition at line 354 of file chan_iax2.c.

struct sockaddr_in addr

Definition at line 357 of file chan_iax2.c.

Referenced by __expire_registry(), __iax2_show_peers(), authenticate_reply(), create_addr(), function_iaxpeer(), handle_cli_iax2_set_debug(), handle_cli_iax2_show_peer(), iax2_devicestate(), iax2_getpeername(), iax2_getpeertrunk(), iax2_poke_peer(), manager_iax2_show_peer_list(), reg_source_db(), and update_registry().

int adsi

Definition at line 361 of file chan_iax2.c.

Referenced by create_addr().

int authmethods

Authentication methods (IAX_AUTH_*)

Definition at line 366 of file chan_iax2.c.

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

int callno

Call number of POKE request

Definition at line 374 of file chan_iax2.c.

Referenced by __iax2_poke_noanswer(), iax2_poke_peer(), iax2_write(), peer_destructor(), and socket_process().

int capability

Capability

Definition at line 371 of file chan_iax2.c.

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

const ast_string_field cid_name

Definition at line 354 of file chan_iax2.c.

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

const ast_string_field cid_num

Definition at line 354 of file chan_iax2.c.

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

const ast_string_field context

Definition at line 354 of file chan_iax2.c.

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

const ast_string_field dbsecret

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

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

struct ast_dnsmgr_entry* dnsmgr

DNS refresh manager

Definition at line 356 of file chan_iax2.c.

Referenced by iax2_poke_peer(), and peer_destructor().

int encmethods

Encryption methods (IAX_ENCRYPT_*)

Definition at line 367 of file chan_iax2.c.

Referenced by __iax2_show_peers(), and create_addr().

int expire

Schedule entry for expiry

Definition at line 369 of file chan_iax2.c.

Referenced by __expire_registry(), complete_iax2_unregister(), function_iaxpeer(), handle_cli_iax2_show_peer(), handle_cli_iax2_unregister(), reg_source_db(), unlink_peer(), and update_registry().

int expiry

How soon to expire

Definition at line 370 of file chan_iax2.c.

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

unsigned int flags

Definition at line 362 of file chan_iax2.c.

int formats

Definition at line 358 of file chan_iax2.c.

struct ast_ha* ha

Definition at line 386 of file chan_iax2.c.

Referenced by build_peer(), handle_cli_iax2_show_peer(), peer_destructor(), and register_verify().

int historicms

How long recent average responses took

Definition at line 381 of file chan_iax2.c.

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

const ast_string_field inkeys

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

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

const ast_string_field mailbox

Definition at line 354 of file chan_iax2.c.

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

struct in_addr mask

Definition at line 360 of file chan_iax2.c.

Referenced by __iax2_show_peers(), authenticate_reply(), and manager_iax2_show_peer_list().

int maxms

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

Definition at line 377 of file chan_iax2.c.

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

const ast_string_field mohinterpret

Definition at line 354 of file chan_iax2.c.

Referenced by create_addr().

const ast_string_field mohsuggest

Definition at line 354 of file chan_iax2.c.

Referenced by create_addr().

struct ast_event_sub* mwi_event_sub

Definition at line 384 of file chan_iax2.c.

Referenced by peer_destructor().

const ast_string_field name

Definition at line 354 of file chan_iax2.c.

Referenced by __expire_registry(), __iax2_poke_noanswer(), __iax2_show_peers(), authenticate_reply(), build_peer(), complete_iax2_peers(), complete_iax2_unregister(), find_peer(), handle_cli_iax2_show_peer(), handle_cli_iax2_unregister(), iax2_getpeername(), iax2_poke_peer(), manager_iax2_show_peer_list(), peer_cmp_cb(), peer_hash_cb(), peer_set_srcaddr(), reg_source_db(), register_peer_exten(), register_verify(), socket_process(), and update_registry().

const ast_string_field outkey

Definition at line 354 of file chan_iax2.c.

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

const ast_string_field parkinglot

Definition at line 354 of file chan_iax2.c.

Referenced by handle_cli_iax2_show_peer().

const ast_string_field peercontext

Definition at line 354 of file chan_iax2.c.

Referenced by build_peer(), and create_addr().

int pokeexpire

Scheduled qualification-related task (ie iax2_poke_peer_s or iax2_poke_noanswer)

Definition at line 375 of file chan_iax2.c.

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

int pokefreqnotok

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

Definition at line 380 of file chan_iax2.c.

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

int pokefreqok

How often to check if the host is up

Definition at line 379 of file chan_iax2.c.

Referenced by handle_cli_iax2_show_peer(), and socket_process().

struct ast_codec_pref prefs

Definition at line 355 of file chan_iax2.c.

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

const ast_string_field regexten

Definition at line 354 of file chan_iax2.c.

Referenced by register_peer_exten().

const ast_string_field secret

Definition at line 354 of file chan_iax2.c.

Referenced by authenticate_reply(), create_addr(), handle_cli_iax2_show_peer(), and register_verify().

int smoothing

Sample over how many units to determine historic ms

Definition at line 382 of file chan_iax2.c.

Referenced by handle_cli_iax2_show_peer(), and socket_process().

int sockfd

Socket to use for transmission

Definition at line 359 of file chan_iax2.c.

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

const ast_string_field username

Definition at line 354 of file chan_iax2.c.

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

const ast_string_field zonetag

Definition at line 354 of file chan_iax2.c.

Referenced by create_addr(), and update_registry().


The documentation for this struct was generated from the following file:
Generated on Fri Jun 19 12:11:02 2009 for Asterisk - the Open Source PBX by  doxygen 1.4.7