sip_registry Struct Reference

Registrations with other SIP proxies. More...

#include <sip.h>

Collaboration diagram for sip_registry:

Collaboration graph
[legend]

Data Fields

struct ast_string_field_mgr __field_mgr
struct ast_string_field_pool__field_mgr_pool
const ast_string_field authdomain
const ast_string_field authuser
struct sip_pvtcall
const ast_string_field callback
const ast_string_field callid
int callid_valid
int configured_expiry
const ast_string_field configvalue
struct ast_dnsmgr_entrydnsmgr
int expire
int expiry
const ast_string_field hostname
char lastmsg [256]
const ast_string_field localtag
const ast_string_field md5secret
const ast_string_field nonce
int noncecount
uint32_t ocseq
const ast_string_field opaque
const ast_string_field peername
int portno
const ast_string_field qop
const ast_string_field realm
int refresh
int regattempts
const ast_string_field regdomain
int regdomainport
enum sipregistrystate regstate
struct timeval regtime
const ast_string_field secret
int timeout
enum ast_transport transport
struct ast_sockaddr us
const ast_string_field username

Detailed Description

Registrations with other SIP proxies.

Created by sip_register(), the entry is linked in the 'regl' list, and never deleted (other than at 'sip reload' or module unload times). The entry always has a pending timeout, either waiting for an ACK to the REGISTER message (in which case we have to retransmit the request), or waiting for the next REGISTER message to be sent (either the initial one, or once the previously completed registration one expires). The registration can be in one of many states, though at the moment the handling is a bit mixed.

Definition at line 1374 of file sip.h.


Field Documentation

Definition at line 1392 of file sip.h.

< register string from config

< Global Call-ID

< Authorization realm

< Authorization nonce

< Opaque nonsense

< Quality of Protection, since SIP wasn't complicated enough yet.

< Authorization domain

< Registration doamin

< Who we are registering as

< Who we *authenticate* as

< Domain or host we register to

< Password in clear text

< Password in md5

< Contact extension

< Peer registering to

< Local tag generated same time as callid

Definition at line 1392 of file sip.h.

Definition at line 1392 of file sip.h.

Referenced by transmit_register().

Definition at line 1392 of file sip.h.

Referenced by AST_TEST_DEFINE(), and transmit_register().

struct sip_pvt* call [read]

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

Definition at line 1402 of file sip.h.

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

Definition at line 1392 of file sip.h.

Referenced by AST_TEST_DEFINE(), and transmit_register().

Definition at line 1392 of file sip.h.

Referenced by transmit_register().

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

Definition at line 1405 of file sip.h.

Referenced by AST_TEST_DEFINE(), sip_parse_register_line(), and transmit_register().

Configured value to use for the Expires header

Definition at line 1397 of file sip.h.

Referenced by AST_TEST_DEFINE(), handle_response_register(), sip_parse_register_line(), sip_register(), and sip_reregister().

Definition at line 1392 of file sip.h.

Referenced by registry_cmp_cb(), and sip_show_objects().

struct ast_dnsmgr_entry* dnsmgr [read]

DNS refresh manager for register

Definition at line 1407 of file sip.h.

Referenced by cleanup_registration(), sip_reg_timeout(), sip_show_registry(), and transmit_register().

int expire

int expiry

Negotiated value used for the Expires header

Definition at line 1398 of file sip.h.

Referenced by AST_TEST_DEFINE(), handle_response_register(), sip_parse_register_line(), sip_register(), sip_reregister(), and transmit_register().

char lastmsg[256]

Last Message sent/received

Definition at line 1410 of file sip.h.

Definition at line 1392 of file sip.h.

Referenced by transmit_register().

Definition at line 1392 of file sip.h.

Referenced by transmit_register().

Definition at line 1392 of file sip.h.

Referenced by reply_digest(), and transmit_register().

Nonce-count

Definition at line 1409 of file sip.h.

Referenced by reply_digest(), and transmit_register().

uint32_t ocseq

Sequence number we got to for REGISTERs for this registry

Definition at line 1406 of file sip.h.

Referenced by AST_TEST_DEFINE(), sip_parse_register_line(), and transmit_register().

Definition at line 1392 of file sip.h.

Referenced by transmit_register().

Definition at line 1392 of file sip.h.

Referenced by AST_TEST_DEFINE(), on_dns_update_registry(), and transmit_register().

int portno

Definition at line 1392 of file sip.h.

Referenced by transmit_register().

Definition at line 1392 of file sip.h.

Referenced by transmit_register().

int refresh

Number of attempts (since the last success)

Definition at line 1399 of file sip.h.

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

Port override for domainport

Definition at line 1395 of file sip.h.

Referenced by AST_TEST_DEFINE(), manager_show_registry(), sip_parse_register_line(), sip_show_registry(), and transmit_register().

Registration state (see above)

Definition at line 1403 of file sip.h.

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

struct timeval regtime [read]

Last successful registration time

Definition at line 1404 of file sip.h.

Referenced by handle_response_register(), manager_show_registry(), and sip_show_registry().

Definition at line 1392 of file sip.h.

Referenced by AST_TEST_DEFINE(), and transmit_register().

int timeout

Transport for this registration UDP, TCP or TLS

Definition at line 1393 of file sip.h.

Referenced by AST_TEST_DEFINE(), sip_parse_register_line(), and transmit_register().

struct ast_sockaddr us [read]

Who the server thinks we are

Definition at line 1408 of file sip.h.

Referenced by on_dns_update_registry(), and transmit_register().


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

Generated on Thu Apr 16 06:37:26 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6