Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
sip_outbound_registration_client_state Struct Reference

Outbound registration client state information (persists for lifetime of regc) More...

Data Fields

unsigned int auth_attempted:1
 Non-zero if we have attempted sending a REGISTER with authentication.
 
unsigned int auth_cseq
 
unsigned int auth_rejection_permanent
 Treat authentication challenges that we cannot handle as permanent failures.
 
pjsip_regc * client
 Outbound registration client. More...
 
unsigned int destroy:1
 Registration should be destroyed after completion of transaction.
 
unsigned int fatal_retry_interval
 Interval at which retries should occur for all permanent responses.
 
unsigned int forbidden_retry_interval
 Interval at which retries should occur for permanent responses.
 
int last_status_code
 Status code of last response if we have tried to register before.
 
pjsip_tx_data * last_tdata
 Last tdata sent We need the original tdata to resend a request on auth failure or timeout. On an auth failure, we use the original tdata to initialize the new tdata for the authorized response. On a timeout we need it to skip failed SRV entries if any.
 
char line [LINE_PARAMETER_SIZE]
 Optional line parameter placed into Contact.
 
unsigned int max_retries
 Maximum number of retries permitted.
 
struct ast_sip_auth_vector outbound_auths
 Configured authentication credentials.
 
unsigned int registration_expires
 Expected time of registration lapse/expiration.
 
char * registration_name
 The name of the registration sorcery object.
 
unsigned int retries
 Current number of retries.
 
unsigned int retry_interval
 Interval at which retries should occur for temporal responses.
 
struct ast_sip_security_mechanism_vector security_mechanisms
 Client security mechanisms (RFC 3329).
 
enum ast_sip_security_negotiation security_negotiation
 Type of security negotiation to use (RFC 3329).
 
struct ast_taskprocessorserializer
 Serializer for stuff and things.
 
struct ast_sip_security_mechanism_vector server_security_mechanisms
 Security mechanisms of the peer (RFC 3329).
 
enum sip_outbound_registration_status status
 Current state of this registration.
 
unsigned int support_outbound
 Determines whether SIP Outbound support should be advertised.
 
unsigned int support_path
 Determines whether SIP Path support should be advertised.
 
pj_timer_entry timer
 Timer entry for retrying on temporal responses.
 
char * transport_name
 The name of the transport to be used for the registration.
 
char * user_agent
 The value for the User-Agent header sent in requests.
 

Detailed Description

Outbound registration client state information (persists for lifetime of regc)

Definition at line 379 of file res_pjsip_outbound_registration.c.

Field Documentation

unsigned int auth_cseq

CSeq number of last sent auth request.

Definition at line 424 of file res_pjsip_outbound_registration.c.

pjsip_regc* client

Outbound registration client.

Note
May only be accessed within the serializer thread because it might get destroyed and set to NULL for module unload.

Definition at line 388 of file res_pjsip_outbound_registration.c.


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