
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 | |
| struct sip_pvt * | call |
| 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 |
| struct sockaddr_in | us |
Definition at line 1139 of file chan_sip.c.
| 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 | ||||
| ) |
create a sip_pvt structure for each outbound "registration dialog" in progress
Definition at line 1161 of file chan_sip.c.
Referenced by __sip_destroy(), 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 1164 of file chan_sip.c.
Referenced by sip_register(), and transmit_register().
| int expire |
Sched ID of expiration
Definition at line 1157 of file chan_sip.c.
Referenced by handle_response_register(), sip_register(), sip_registry_destroy(), and sip_reregister().
| char lastmsg[256] |
Last Message sent/received
Definition at line 1168 of file chan_sip.c.
| int noncecount |
Nonce-count
Definition at line 1167 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 1165 of file chan_sip.c.
Referenced by sip_register(), and transmit_register().
| int portno |
Optional port override
Definition at line 1156 of file chan_sip.c.
Referenced by sip_register(), and transmit_register().
| int refresh |
How often to refresh
Definition at line 1160 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 1158 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 1162 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 1163 of file chan_sip.c.
Referenced by handle_response_register().
| int timeout |
sched id of sip_reg_timeout
Definition at line 1159 of file chan_sip.c.
Referenced by handle_response_register(), sip_reg_timeout(), sip_register(), sip_registry_destroy(), and transmit_register().
struct sockaddr_in us [read] |
Who the server thinks we are
Definition at line 1166 of file chan_sip.c.
1.5.5