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

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

Collaboration diagram for sip_outbound_registration_client_state:
Collaboration graph
[legend]

Data Fields

unsigned int auth_attempted:1
 Non-zero if we have attempted sending a REGISTER with authentication. More...
 
unsigned int auth_cseq
 
unsigned int auth_rejection_permanent
 Treat authentication challenges that we cannot handle as permanent failures. More...
 
pjsip_regc * client
 Outbound registration client. More...
 
unsigned int destroy:1
 Registration should be destroyed after completion of transaction. More...
 
unsigned int fatal_retry_interval
 Interval at which retries should occur for all permanent responses. More...
 
unsigned int forbidden_retry_interval
 Interval at which retries should occur for permanent responses. More...
 
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. More...
 
char line [LINE_PARAMETER_SIZE]
 Optional line parameter placed into Contact. More...
 
unsigned int max_retries
 Maximum number of retries permitted. More...
 
struct ast_sip_auth_vector outbound_auths
 Configured authentication credentials. More...
 
char * registration_name
 The name of the registration sorcery object. More...
 
unsigned int retries
 Current number of retries. More...
 
unsigned int retry_interval
 Interval at which retries should occur for temporal responses. More...
 
struct ast_taskprocessorserializer
 Serializer for stuff and things. More...
 
enum sip_outbound_registration_status status
 Current state of this registration. More...
 
unsigned int support_outbound
 Determines whether SIP Outbound support should be advertised. More...
 
unsigned int support_path
 Determines whether SIP Path support should be advertised. More...
 
pj_timer_entry timer
 Timer entry for retrying on temporal responses. More...
 
char * transport_name
 The name of the transport to be used for the registration. More...
 

Detailed Description

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

Definition at line 343 of file res_pjsip_outbound_registration.c.

Field Documentation

◆ auth_attempted

unsigned int auth_attempted

Non-zero if we have attempted sending a REGISTER with authentication.

Definition at line 390 of file res_pjsip_outbound_registration.c.

Referenced by handle_registration_response().

◆ auth_cseq

unsigned int auth_cseq

CSeq number of last sent auth request.

Definition at line 382 of file res_pjsip_outbound_registration.c.

Referenced by handle_registration_response().

◆ auth_rejection_permanent

unsigned int auth_rejection_permanent

Treat authentication challenges that we cannot handle as permanent failures.

Definition at line 376 of file res_pjsip_outbound_registration.c.

Referenced by sip_outbound_registration_is_temporal(), and sip_outbound_registration_perform().

◆ client

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 352 of file res_pjsip_outbound_registration.c.

Referenced by ami_outbound_registration_task(), handle_client_state_destruction(), handle_registration_response(), registration_client_send(), reregister_immediately_cb(), schedule_registration(), sip_outbound_registration_perform(), sip_outbound_registration_regc_alloc(), and unregister_task().

◆ destroy

unsigned int destroy

Registration should be destroyed after completion of transaction.

Definition at line 388 of file res_pjsip_outbound_registration.c.

Referenced by handle_client_state_destruction(), and handle_registration_response().

◆ fatal_retry_interval

unsigned int fatal_retry_interval

Interval at which retries should occur for all permanent responses.

Definition at line 374 of file res_pjsip_outbound_registration.c.

Referenced by handle_registration_response(), and sip_outbound_registration_perform().

◆ forbidden_retry_interval

unsigned int forbidden_retry_interval

Interval at which retries should occur for permanent responses.

Definition at line 372 of file res_pjsip_outbound_registration.c.

Referenced by handle_registration_response(), and sip_outbound_registration_perform().

◆ last_tdata

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.

Definition at line 360 of file res_pjsip_outbound_registration.c.

Referenced by registration_client_send(), sip_outbound_registration_client_state_destroy(), and sip_outbound_registration_response_cb().

◆ line

char line[LINE_PARAMETER_SIZE]

Optional line parameter placed into Contact.

Definition at line 364 of file res_pjsip_outbound_registration.c.

Referenced by line_identify_relationship(), and sip_outbound_registration_regc_alloc().

◆ max_retries

unsigned int max_retries

Maximum number of retries permitted.

Definition at line 368 of file res_pjsip_outbound_registration.c.

Referenced by handle_registration_response(), and sip_outbound_registration_perform().

◆ outbound_auths

struct ast_sip_auth_vector outbound_auths

Configured authentication credentials.

Definition at line 386 of file res_pjsip_outbound_registration.c.

Referenced by handle_client_state_destruction(), handle_registration_response(), and sip_outbound_registration_perform().

◆ registration_name

char* registration_name

◆ retries

unsigned int retries

Current number of retries.

Definition at line 366 of file res_pjsip_outbound_registration.c.

Referenced by handle_registration_response(), and sip_outbound_registration_perform().

◆ retry_interval

unsigned int retry_interval

Interval at which retries should occur for temporal responses.

Definition at line 370 of file res_pjsip_outbound_registration.c.

Referenced by handle_registration_response(), and sip_outbound_registration_perform().

◆ serializer

◆ status

◆ support_outbound

unsigned int support_outbound

Determines whether SIP Outbound support should be advertised.

Definition at line 380 of file res_pjsip_outbound_registration.c.

Referenced by add_configured_supported_headers(), and sip_outbound_registration_perform().

◆ support_path

unsigned int support_path

Determines whether SIP Path support should be advertised.

Definition at line 378 of file res_pjsip_outbound_registration.c.

Referenced by add_configured_supported_headers(), and sip_outbound_registration_perform().

◆ timer

pj_timer_entry timer

Timer entry for retrying on temporal responses.

Definition at line 362 of file res_pjsip_outbound_registration.c.

Referenced by cancel_registration(), schedule_registration(), and sip_outbound_registration_state_alloc().

◆ transport_name

char* transport_name

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