Sat Aug 6 00:40:09 2011

Asterisk developer's documentation


sip_registry Struct Reference

Registrations with other SIP proxies. More...


Data Fields

ast_string_field __begin_field [0]
ast_string_field __end_field [0]
ast_string_field_mgr __field_mgr
ast_mutex_t _lock
const ast_string_field authuser
sip_pvtcall
const ast_string_field callid
int callid_valid
const ast_string_field contact
const ast_string_field domain
int expire
const ast_string_field hostname
char lastmsg [256]
const ast_string_field md5secret
char name [1]
unsigned int needdns:1
sip_registrynext [1]
const ast_string_field nonce
int noncecount
unsigned int objflags
unsigned int ocseq
const ast_string_field opaque
int portno
const ast_string_field qop
const ast_string_field random
const ast_string_field realm
unsigned int refcount
int refresh
int regattempts
enum sipregistrystate regstate
time_t regtime
const ast_string_field secret
int timeout
sockaddr_in us
const ast_string_field username


Detailed Description

Registrations with other SIP proxies.

Definition at line 1209 of file chan_sip.c.


Field Documentation

ast_string_field __begin_field[0]

Global Call-ID Authorization realm Authorization nonce Opaque nonsense Quality of Protection, since SIP wasn't complicated enough yet. Authorization domain Who we are registering as Who we *authenticate* as Domain or host we register to Password in clear text Password in md5 Contact extension

Definition at line 1212 of file chan_sip.c.

ast_string_field __end_field[0]

Definition at line 1225 of file chan_sip.c.

struct ast_string_field_mgr __field_mgr

Definition at line 1225 of file chan_sip.c.

ast_mutex_t _lock

Definition at line 1210 of file chan_sip.c.

const ast_string_field authuser

Definition at line 1225 of file chan_sip.c.

Referenced by sip_register(), and transmit_register().

struct sip_pvt* call

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

Definition at line 1231 of file chan_sip.c.

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

const ast_string_field callid

Definition at line 1225 of file chan_sip.c.

Referenced by transmit_register().

int callid_valid

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

Definition at line 1235 of file chan_sip.c.

Referenced by transmit_register().

const ast_string_field contact

Definition at line 1225 of file chan_sip.c.

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

const ast_string_field domain

Definition at line 1225 of file chan_sip.c.

Referenced by transmit_register().

int expire

Sched ID of expiration

Definition at line 1227 of file chan_sip.c.

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

const ast_string_field hostname

Definition at line 1225 of file chan_sip.c.

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

char lastmsg[256]

Last Message sent/received

Definition at line 1239 of file chan_sip.c.

const ast_string_field md5secret

Definition at line 1225 of file chan_sip.c.

Referenced by build_reply_digest(), and transmit_register().

char name[1]

Definition at line 1210 of file chan_sip.c.

unsigned int needdns

Set if we need a new dns lookup before we try to transmit

Definition at line 1233 of file chan_sip.c.

Referenced by sip_reg_timeout(), and transmit_register().

struct sip_registry* next[1]

Definition at line 1210 of file chan_sip.c.

const ast_string_field nonce

Definition at line 1225 of file chan_sip.c.

Referenced by reply_digest(), and transmit_register().

int noncecount

Nonce-count

Definition at line 1238 of file chan_sip.c.

Referenced by reply_digest(), and transmit_register().

unsigned int objflags

Definition at line 1210 of file chan_sip.c.

unsigned int ocseq

Sequence number we got to for REGISTERs for this registry

Definition at line 1236 of file chan_sip.c.

Referenced by transmit_register().

const ast_string_field opaque

Definition at line 1225 of file chan_sip.c.

Referenced by build_reply_digest(), reply_digest(), and transmit_register().

int portno

Optional port override

Definition at line 1226 of file chan_sip.c.

Referenced by transmit_register().

const ast_string_field qop

Definition at line 1225 of file chan_sip.c.

Referenced by reply_digest(), and transmit_register().

const ast_string_field random

Definition at line 1225 of file chan_sip.c.

const ast_string_field realm

Definition at line 1225 of file chan_sip.c.

Referenced by reply_digest(), and transmit_register().

unsigned int refcount

Definition at line 1210 of file chan_sip.c.

int refresh

How often to refresh

Definition at line 1230 of file chan_sip.c.

Referenced by handle_response_register().

int regattempts

Number of attempts (since the last success)

Definition at line 1228 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 1232 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 1234 of file chan_sip.c.

Referenced by handle_response_register().

const ast_string_field secret

Definition at line 1225 of file chan_sip.c.

Referenced by transmit_register().

int timeout

sched id of sip_reg_timeout

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

Referenced by transmit_register().

const ast_string_field username

Definition at line 1225 of file chan_sip.c.

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


The documentation for this struct was generated from the following file:
Generated on Sat Aug 6 00:40:09 2011 for Asterisk - the Open Source PBX by  doxygen 1.4.7