Asterisk - The Open Source Telephony Project  GIT-master-a24979a
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 297 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 319 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 319 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 325 of file res_pjsip.h.

◆ 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

Absolute time that this contact is no longer valid after

Definition at line 319 of file res_pjsip.h.

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

◆ outbound_proxy

const ast_string_field outbound_proxy

Definition at line 319 of file res_pjsip.h.

Referenced by ast_sip_location_create_contact(), and Registration::write().

◆ path

const ast_string_field path

Definition at line 319 of file res_pjsip.h.

Referenced by ast_sip_location_create_contact(), Api::load(), and ResourceApi::load().

◆ prune_on_boot

int prune_on_boot

If true delete the contact on Asterisk restart/boot

Definition at line 333 of file res_pjsip.h.

Referenced by ast_sip_location_create_contact().

◆ qualify_frequency

unsigned int qualify_frequency

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

Definition at line 323 of file res_pjsip.h.

◆ qualify_timeout

double qualify_timeout

Qualify timeout. 0 is diabled.

Definition at line 327 of file res_pjsip.h.

◆ reg_server

const ast_string_field reg_server

Definition at line 319 of file res_pjsip.h.

Referenced by ast_sip_location_create_contact().

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

Referenced by 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: