Codename Pineapple

Home page | Mailing list | Docs

Last updated: Sat Feb 3 05:02:04 2007

Asterisk developer's documentation :: Codename Pineapple


sip_registry Struct Reference

#include <sip3.h>

Collaboration diagram for sip_registry:

Collaboration graph
[legend]

Detailed Description

Registrations with other SIP proxies.

Definition at line 1139 of file chan_sip.c.

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(extension);AST_STRING_FIELD(random);)
 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(callback);AST_STRING_FIELD(random);)
 ASTOBJ_COMPONENTS_FULL (struct sip_registry, 1, 1)
 ASTOBJ_COMPONENTS_FULL (struct sip_registry, 1, 1)

Data Fields

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


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(extension);AST_STRING_FIELD(random);   ) 
 

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(callback);AST_STRING_FIELD(random);   ) 
 

ASTOBJ_COMPONENTS_FULL struct  sip_registry,
,
 

ASTOBJ_COMPONENTS_FULL struct  sip_registry,
,
 


Field Documentation

struct sip_dialog* call
 

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

Definition at line 1248 of file sip3.h.

struct sip_pvt* call
 

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

Definition at line 1162 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 1165 of file chan_sip.c.

Referenced by transmit_register().

int expire
 

Sched ID of expiration

Definition at line 1157 of file chan_sip.c.

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

int expiry
 

Value to use for the Expires header

Definition at line 1158 of file chan_sip.c.

Referenced by handle_response_register(), and transmit_register().

char lastmsg
 

Last Message sent/received

Definition at line 1169 of file chan_sip.c.

int noncecount
 

Nonce-count

Definition at line 1168 of file chan_sip.c.

Referenced by transmit_register().

unsigned int ocseq
 

Sequence number we got to for REGISTERs for this registry

Definition at line 1166 of file chan_sip.c.

Referenced by transmit_register().

struct sip_device* peer
 

If we have a known peer for this registry entry, use it for incoming calls

Definition at line 1256 of file sip3.h.

Referenced by check_user_full(), sip_destroy_device(), sip_register(), sip_registry_destroy(), and transmit_register().

int portno
 

Optional port override

Definition at line 1156 of file chan_sip.c.

Referenced by process_sdp(), and transmit_register().

int refresh
 

How often to refresh

Definition at line 1161 of file chan_sip.c.

int regattempts
 

Number of attempts (since the last success)

Definition at line 1159 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 1163 of file chan_sip.c.

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

time_t regtime
 

Last successful registration time

Definition at line 1164 of file chan_sip.c.

Referenced by handle_response_register().

int timeout
 

sched id of sip_reg_timeout

Definition at line 1160 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 1253 of file sip3.h.

struct sockaddr_in us
 

Who the server thinks we are

Definition at line 1167 of file chan_sip.c.


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

Asterisk is a trademark for Digium, inc.. | Edvina.net | Asterisk.org | This documentation was generated with Doxygen