Sat Jul 26 06:14:41 2008

Asterisk developer's documentation


sip_registry Struct Reference

Registrations with other SIP proxies. More...

Collaboration diagram for sip_registry:

Collaboration graph
[legend]

Public Member Functions

 AST_DECLARE_STRING_FIELDS (AST_STRING_FIELD(callid);AST_STRING_FIELD(realm);AST_STRING_FIELD(nonce);AST_STRING_FIELD(opaque);AST_STRING_FIELD(qop);AST_STRING_FIELD(domain);AST_STRING_FIELD(username);AST_STRING_FIELD(authuser);AST_STRING_FIELD(hostname);AST_STRING_FIELD(secret);AST_STRING_FIELD(md5secret);AST_STRING_FIELD(contact);AST_STRING_FIELD(random);)
 ASTOBJ_COMPONENTS_FULL (struct sip_registry, 1, 1)

Data Fields

sip_pvtcall
int callid_valid
int expire
char lastmsg [256]
int noncecount
unsigned int ocseq
int portno
int refresh
int regattempts
enum sipregistrystate regstate
time_t regtime
int timeout
sockaddr_in us

Detailed Description

Registrations with other SIP proxies.

Definition at line 1142 of file chan_sip.c.


Member Function Documentation

AST_DECLARE_STRING_FIELDS ( AST_STRING_FIELD(callid);AST_STRING_FIELD(realm);AST_STRING_FIELD(nonce);AST_STRING_FIELD(opaque);AST_STRING_FIELD(qop);AST_STRING_FIELD(domain);AST_STRING_FIELD(username);AST_STRING_FIELD(authuser);AST_STRING_FIELD(hostname);AST_STRING_FIELD(secret);AST_STRING_FIELD(md5secret);AST_STRING_FIELD(contact);AST_STRING_FIELD(random);   ) 

ASTOBJ_COMPONENTS_FULL ( struct  sip_registry,
,
 
)


Field Documentation

struct sip_pvt* call

create a sip_pvt structure for each outbound "registration dialog" in progress

Definition at line 1164 of file chan_sip.c.

Referenced by handle_response_register(), sip_reg_timeout(), sip_registry_destroy(), sip_reregister(), and transmit_register().

int callid_valid

0 means we haven't chosen callid for this registry yet.

Definition at line 1167 of file chan_sip.c.

Referenced by transmit_register().

int expire

Sched ID of expiration

Definition at line 1160 of file chan_sip.c.

Referenced by handle_response_register(), sip_registry_destroy(), and sip_reregister().

char lastmsg[256]

Last Message sent/received

Definition at line 1171 of file chan_sip.c.

int noncecount

Nonce-count

Definition at line 1170 of file chan_sip.c.

Referenced by reply_digest(), and transmit_register().

unsigned int ocseq

Sequence number we got to for REGISTERs for this registry

Definition at line 1168 of file chan_sip.c.

Referenced by transmit_register().

int portno

Optional port override

Definition at line 1159 of file chan_sip.c.

Referenced by transmit_register().

int refresh

How often to refresh

Definition at line 1163 of file chan_sip.c.

Referenced by handle_response_register().

int regattempts

Number of attempts (since the last success)

Definition at line 1161 of file chan_sip.c.

Referenced by handle_response_register(), sip_reg_timeout(), and transmit_register().

enum sipregistrystate regstate

Registration state (see above)

Definition at line 1165 of file chan_sip.c.

Referenced by handle_response_register(), sip_reg_timeout(), and transmit_register().

time_t regtime

Last succesful registration time

Definition at line 1166 of file chan_sip.c.

Referenced by handle_response_register().

int timeout

sched id of sip_reg_timeout

Definition at line 1162 of file chan_sip.c.

Referenced by handle_response_register(), sip_reg_timeout(), sip_registry_destroy(), and transmit_register().

struct sockaddr_in us

Who the server thinks we are

Definition at line 1169 of file chan_sip.c.


The documentation for this struct was generated from the following file:
Generated on Sat Jul 26 06:14:41 2008 for Asterisk - the Open Source PBX by  doxygen 1.5.1