Asterisk - The Open Source Telephony Project  18.5.0
Public Member Functions | Data Fields
ast_sip_contact Struct Reference

Contact associated with an address of record. More...

#include <res_pjsip.h>

Collaboration diagram for ast_sip_contact:
Collaboration graph
[legend]

Public Member Functions

 SORCERY_OBJECT (details)
 

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
const ast_string_field aor
 
int authenticate_qualify
 
const ast_string_field call_id
 
struct ast_sip_endpointendpoint
 
const ast_string_field endpoint_name
 
struct timeval expiration_time
 
const ast_string_field outbound_proxy
 
const ast_string_field path
 
int prune_on_boot
 
unsigned int qualify_frequency
 
double qualify_timeout
 
const ast_string_field reg_server
 
const ast_string_field uri
 
const ast_string_field user_agent
 
const ast_string_field via_addr
 
int via_port
 

Detailed Description

Contact associated with an address of record.

Definition at line 281 of file res_pjsip.h.

Member Function Documentation

◆ SORCERY_OBJECT()

SORCERY_OBJECT ( details  )

Sorcery object details, the id is the aor name plus a random string

Field Documentation

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 303 of file res_pjsip.h.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

Definition at line 303 of file res_pjsip.h.

◆ aor

const ast_string_field aor

◆ authenticate_qualify

int authenticate_qualify

If true authenticate the qualify challenge response if needed

Definition at line 309 of file res_pjsip.h.

Referenced by ast_sip_format_contact_ami(), ast_sip_location_create_contact(), has_qualify_changed(), and register_aor_core().

◆ call_id

const ast_string_field call_id

Content of the Call-ID header in REGISTER request

Definition at line 303 of file res_pjsip.h.

Referenced by ast_sip_format_contact_ami(), and register_aor_core().

◆ endpoint

struct ast_sip_endpoint* endpoint

Endpoint that added the contact, only available in observers

Definition at line 313 of file res_pjsip.h.

Referenced by ast_sip_location_create_contact(), contact_destroy(), handle_atsign(), handle_single_token(), mwi_contact_changed(), mwi_contact_deleted(), and register_aor_core().

◆ endpoint_name

const ast_string_field endpoint_name

The name of the endpoint that added the contact

Definition at line 303 of file res_pjsip.h.

Referenced by ast_sip_format_contact_ami(), ast_sip_location_create_contact(), mwi_contact_changed(), mwi_contact_deleted(), and sip_options_qualify_contact().

◆ expiration_time

struct timeval expiration_time

◆ outbound_proxy

const ast_string_field outbound_proxy

Outbound proxy to use for qualify

Definition at line 303 of file res_pjsip.h.

Referenced by ast_sip_format_contact_ami(), ast_sip_location_create_contact(), and sip_options_qualify_contact().

◆ path

const ast_string_field path

◆ prune_on_boot

int prune_on_boot

If true delete the contact on Asterisk restart/boot

Definition at line 317 of file res_pjsip.h.

Referenced by ast_sip_location_create_contact(), prune_boot_contacts_cb(), register_aor_core(), and registrar_contact_delete().

◆ qualify_frequency

unsigned int qualify_frequency

Frequency to send OPTIONS requests to contact. 0 is disabled.

Definition at line 307 of file res_pjsip.h.

Referenced by ast_sip_format_contact_ami(), ast_sip_location_create_contact(), has_qualify_changed(), and register_aor_core().

◆ qualify_timeout

double qualify_timeout

Qualify timeout. 0 is diabled.

Definition at line 311 of file res_pjsip.h.

Referenced by ast_sip_format_contact_ami(), ast_sip_location_create_contact(), and has_qualify_changed().

◆ reg_server

const ast_string_field reg_server

Asterisk Server name

Definition at line 303 of file res_pjsip.h.

Referenced by ast_sip_location_create_contact(), cli_gather_contact(), prune_boot_contacts_cb(), and register_aor_core().

◆ uri

const ast_string_field uri

◆ user_agent

const ast_string_field user_agent

Content of the User-Agent header in REGISTER request

Definition at line 303 of file res_pjsip.h.

Referenced by ast_sip_format_contact_ami(), register_aor_core(), and registrar_contact_delete().

◆ via_addr

const ast_string_field via_addr

IP-address of the Via header in REGISTER request

Definition at line 303 of file res_pjsip.h.

Referenced by ast_sip_format_contact_ami(), and register_aor_core().

◆ via_port

int via_port

Port of the Via header in REGISTER request

Definition at line 315 of file res_pjsip.h.

Referenced by ast_sip_format_contact_ami(), ast_sip_location_create_contact(), and register_aor_core().


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