Asterisk - The Open Source Telephony Project GIT-master-f36a736
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 389 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 411 of file res_pjsip.h.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

Full URI of the contact

Outbound proxy to use for qualify

Path information to place in Route headers

Content of the User-Agent header in REGISTER request

The name of the aor this contact belongs to

Asterisk Server name

IP-address of the Via header in REGISTER request

Content of the Call-ID header in REGISTER request

The name of the endpoint that added the contact

Definition at line 411 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 417 of file res_pjsip.h.

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

◆ call_id

const ast_string_field call_id

◆ endpoint

struct ast_sip_endpoint* endpoint

◆ endpoint_name

const ast_string_field endpoint_name

◆ expiration_time

struct timeval expiration_time

◆ outbound_proxy

const ast_string_field outbound_proxy

◆ 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 425 of file res_pjsip.h.

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

◆ qualify_frequency

unsigned int qualify_frequency

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

Definition at line 415 of file res_pjsip.h.

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

◆ qualify_timeout

double qualify_timeout

Qualify timeout. 0 is diabled.

Definition at line 419 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

◆ uri

const ast_string_field uri

◆ user_agent

const ast_string_field user_agent

◆ via_addr

const ast_string_field via_addr

◆ via_port

int via_port

Port of the Via header in REGISTER request

Definition at line 423 of file res_pjsip.h.

Referenced by ast_sip_format_contact_ami(), ast_sip_location_add_contact(), ast_sip_location_add_contact_nolock(), and ast_sip_location_create_contact().


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