Wed Aug 15 01:25:45 2007

Asterisk developer's documentation


iax2_peer Struct Reference

Collaboration diagram for iax2_peer:

Collaboration graph
[legend]

Public Member Functions

 AST_DECLARE_STRING_FIELDS (AST_STRING_FIELD(name);AST_STRING_FIELD(username);AST_STRING_FIELD(secret);AST_STRING_FIELD(dbsecret);AST_STRING_FIELD(outkey);AST_STRING_FIELD(regexten);AST_STRING_FIELD(context);AST_STRING_FIELD(peercontext);AST_STRING_FIELD(mailbox);AST_STRING_FIELD(mohinterpret);AST_STRING_FIELD(mohsuggest);AST_STRING_FIELD(inkeys);AST_STRING_FIELD(cid_num);AST_STRING_FIELD(cid_name);AST_STRING_FIELD(zonetag);)

Data Fields

struct sockaddr_in addr
int adsi
int authmethods
int callno
int capability
struct sockaddr_in defaddr
struct ast_dnsmgr_entrydnsmgr
int encmethods
int expire
int expiry
unsigned int flags
int formats
struct ast_haha
int historicms
int lastms
struct in_addr mask
int maxms
int pokeexpire
int pokefreqnotok
int pokefreqok
struct ast_codec_pref prefs
int smoothing
int sockfd

Detailed Description

Definition at line 311 of file chan_iax2.c.


Member Function Documentation

AST_DECLARE_STRING_FIELDS ( AST_STRING_FIELD(name);AST_STRING_FIELD(username);AST_STRING_FIELD(secret);AST_STRING_FIELD(dbsecret);AST_STRING_FIELD(outkey);AST_STRING_FIELD(regexten);AST_STRING_FIELD(context);AST_STRING_FIELD(peercontext);AST_STRING_FIELD(mailbox);AST_STRING_FIELD(mohinterpret);AST_STRING_FIELD(mohsuggest);AST_STRING_FIELD(inkeys);AST_STRING_FIELD(cid_num);AST_STRING_FIELD(cid_name);AST_STRING_FIELD(zonetag);   ) 


Field Documentation

struct sockaddr_in addr [read]

Definition at line 333 of file chan_iax2.c.

Referenced by __expire_registry(), __iax2_show_peers(), authenticate_reply(), build_peer(), create_addr(), function_iaxpeer(), iax2_devicestate(), iax2_getpeername(), iax2_getpeertrunk(), iax2_poke_peer(), iax2_show_peer(), realtime_peer(), reg_source_db(), register_verify(), and update_registry().

int adsi

Definition at line 337 of file chan_iax2.c.

Referenced by build_peer(), and create_addr().

int authmethods

Authentication methods (IAX_AUTH_*)

Definition at line 342 of file chan_iax2.c.

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

int callno

Call number of POKE request

Definition at line 350 of file chan_iax2.c.

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

int capability

Capability

Definition at line 347 of file chan_iax2.c.

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

struct sockaddr_in defaddr [read]

Default address if there is one

Definition at line 341 of file chan_iax2.c.

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

struct ast_dnsmgr_entry* dnsmgr [read]

DNS refresh manager

Definition at line 332 of file chan_iax2.c.

Referenced by build_peer(), and destroy_peer().

int encmethods

Encryption methods (IAX_ENCRYPT_*)

Definition at line 343 of file chan_iax2.c.

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

int expire

Schedule entry for expiry

Definition at line 345 of file chan_iax2.c.

Referenced by __expire_registry(), build_peer(), destroy_peer(), function_iaxpeer(), iax2_show_peer(), realtime_peer(), reg_source_db(), and update_registry().

int expiry

How soon to expire

Definition at line 346 of file chan_iax2.c.

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

unsigned int flags

Definition at line 338 of file chan_iax2.c.

int formats

Definition at line 334 of file chan_iax2.c.

struct ast_ha* ha [read]

Definition at line 360 of file chan_iax2.c.

Referenced by build_peer(), destroy_peer(), iax2_show_peer(), and register_verify().

int historicms

How long recent average responses took

Definition at line 357 of file chan_iax2.c.

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

int lastms

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

Definition at line 352 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 [read]

Definition at line 336 of file chan_iax2.c.

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

int maxms

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

Definition at line 353 of file chan_iax2.c.

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

int pokeexpire

Scheduled qualification-related task (ie iax2_poke_peer_s or iax2_poke_noanswer)

Definition at line 351 of file chan_iax2.c.

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

int pokefreqnotok

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

Definition at line 356 of file chan_iax2.c.

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

int pokefreqok

How often to check if the host is up

Definition at line 355 of file chan_iax2.c.

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

struct ast_codec_pref prefs [read]

Definition at line 331 of file chan_iax2.c.

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

int smoothing

Sample over how many units to determine historic ms

Definition at line 358 of file chan_iax2.c.

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

int sockfd

Socket to use for transmission

Definition at line 335 of file chan_iax2.c.

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


The documentation for this struct was generated from the following file:
Generated on Wed Aug 15 01:25:45 2007 for Asterisk - the Open Source PBX by  doxygen 1.5.3