Registrations with other SIP proxies. More...
Data Fields | |
struct ast_string_field_mgr | __field_mgr |
struct ast_string_field_pool * | __field_mgr_pool |
ast_mutex_t | _lock |
const ast_string_field | authuser |
struct sip_pvt * | call |
const ast_string_field | callback |
const ast_string_field | callid |
int | callid_valid |
int | configured_expiry |
struct ast_dnsmgr_entry * | dnsmgr |
const ast_string_field | domain |
int | expire |
int | expiry |
const ast_string_field | hostname |
char | lastmsg [256] |
const ast_string_field | md5secret |
char | name [1] |
struct sip_registry * | next [1] |
const ast_string_field | nonce |
int | noncecount |
unsigned int | objflags |
unsigned int | ocseq |
const ast_string_field | opaque |
const ast_string_field | peername |
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 |
struct timeval | regtime |
const ast_string_field | secret |
int | timeout |
enum sip_transport | transport |
struct sockaddr_in | us |
const ast_string_field | username |
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 1939 of file chan_sip.c.
struct ast_string_field_mgr __field_mgr |
Definition at line 1956 of file chan_sip.c.
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 Peer registering to
Definition at line 1956 of file chan_sip.c.
Definition at line 1940 of file chan_sip.c.
const ast_string_field authuser |
Definition at line 1956 of file chan_sip.c.
Referenced by sip_register(), and transmit_register().
create a sip_pvt structure for each outbound "registration dialog" in progress
Definition at line 1965 of file chan_sip.c.
Referenced by __sip_destroy(), dialog_unlink_all(), handle_response_register(), sip_reg_timeout(), sip_registry_destroy(), sip_reregister(), and transmit_register().
const ast_string_field callback |
Definition at line 1956 of file chan_sip.c.
Referenced by sip_register(), and transmit_register().
const ast_string_field callid |
Definition at line 1956 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 1968 of file chan_sip.c.
Referenced by sip_register(), and transmit_register().
Configured value to use for the Expires header
Definition at line 1960 of file chan_sip.c.
Referenced by handle_response_register(), sip_register(), and sip_reregister().
struct ast_dnsmgr_entry* dnsmgr |
DNS refresh manager for register
Definition at line 1970 of file chan_sip.c.
Referenced by sip_reg_timeout(), sip_registry_destroy(), and transmit_register().
const ast_string_field domain |
Definition at line 1956 of file chan_sip.c.
Referenced by transmit_register().
int expire |
Sched ID of expiration
Definition at line 1959 of file chan_sip.c.
Referenced by handle_response_register(), sip_register(), sip_registry_destroy(), and sip_reregister().
int expiry |
Negotiated value used for the Expires header
Definition at line 1961 of file chan_sip.c.
Referenced by handle_response_register(), sip_register(), sip_reregister(), and transmit_register().
const ast_string_field hostname |
Definition at line 1956 of file chan_sip.c.
Referenced by do_register_auth(), handle_response_register(), registry_addref(), registry_unref(), sip_reg_timeout(), sip_registry_destroy(), sip_reregister(), and transmit_register().
char lastmsg[256] |
Last Message sent/received
Definition at line 1973 of file chan_sip.c.
const ast_string_field md5secret |
Definition at line 1956 of file chan_sip.c.
Referenced by build_reply_digest(), and transmit_register().
char name[1] |
Definition at line 1940 of file chan_sip.c.
struct sip_registry* next[1] |
Definition at line 1940 of file chan_sip.c.
const ast_string_field nonce |
Definition at line 1956 of file chan_sip.c.
Referenced by reply_digest(), and transmit_register().
int noncecount |
Nonce-count
Definition at line 1972 of file chan_sip.c.
Referenced by reply_digest(), and transmit_register().
unsigned int objflags |
Definition at line 1940 of file chan_sip.c.
unsigned int ocseq |
Sequence number we got to for REGISTERs for this registry
Definition at line 1969 of file chan_sip.c.
Referenced by sip_register(), and transmit_register().
const ast_string_field opaque |
Definition at line 1956 of file chan_sip.c.
Referenced by build_reply_digest(), reply_digest(), and transmit_register().
const ast_string_field peername |
Definition at line 1956 of file chan_sip.c.
Referenced by sip_register(), and transmit_register().
int portno |
Optional port override
Definition at line 1958 of file chan_sip.c.
Referenced by sip_register(), and transmit_register().
const ast_string_field qop |
Definition at line 1956 of file chan_sip.c.
Referenced by reply_digest(), and transmit_register().
const ast_string_field random |
Definition at line 1956 of file chan_sip.c.
const ast_string_field realm |
Definition at line 1956 of file chan_sip.c.
Referenced by reply_digest(), and transmit_register().
unsigned int refcount |
Definition at line 1940 of file chan_sip.c.
Referenced by registry_addref(), and registry_unref().
int refresh |
How often to refresh
Definition at line 1964 of file chan_sip.c.
Referenced by handle_response_register(), and sip_register().
int regattempts |
Number of attempts (since the last success)
Definition at line 1962 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 1966 of file chan_sip.c.
Referenced by handle_response_register(), sip_reg_timeout(), and transmit_register().
struct timeval regtime |
Last successful registration time
Definition at line 1967 of file chan_sip.c.
Referenced by handle_response_register().
const ast_string_field secret |
Definition at line 1956 of file chan_sip.c.
Referenced by transmit_register().
int timeout |
sched id of sip_reg_timeout
Definition at line 1963 of file chan_sip.c.
Referenced by handle_response_register(), sip_reg_timeout(), sip_register(), sip_registry_destroy(), and transmit_register().
enum sip_transport transport |
Transport for this registration UDP, TCP or TLS
Definition at line 1957 of file chan_sip.c.
Referenced by sip_register(), and transmit_register().
struct sockaddr_in us |
Who the server thinks we are
Definition at line 1971 of file chan_sip.c.
Referenced by transmit_register().
const ast_string_field username |
Definition at line 1956 of file chan_sip.c.
Referenced by build_reply_digest(), handle_response_register(), sip_reg_timeout(), sip_register(), sip_registry_destroy(), sip_reregister(), and transmit_register().