Asterisk - The Open Source Telephony Project
18.5.0
|
Contact associated with an address of record. More...
#include <res_pjsip.h>
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_endpoint * | endpoint |
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 |
Contact associated with an address of record.
Definition at line 281 of file res_pjsip.h.
SORCERY_OBJECT | ( | details | ) |
Sorcery object details, the id is the aor name plus a random string
struct ast_string_field_mgr __field_mgr |
Definition at line 303 of file res_pjsip.h.
struct ast_string_field_pool* __field_mgr_pool |
Definition at line 303 of file res_pjsip.h.
const ast_string_field aor |
The name of the aor this contact belongs to
Definition at line 303 of file res_pjsip.h.
Referenced by ami_show_registration_contact_statuses(), ast_res_pjsip_find_or_create_contact_status(), cli_contact_print_body(), cli_gather_contact(), contact_alloc(), contact_observer_updated(), expire_contact(), pjsip_acf_dial_contacts_read(), prune_boot_contacts_cb(), register_aor_core(), registrar_add_contact(), remove_excess_contacts(), sip_options_contact_add_management_task(), sip_options_contact_delete_management_task(), and sip_options_remove_contact_status().
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().
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().
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().
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().
struct timeval expiration_time |
Absolute time that this contact is no longer valid after
Definition at line 305 of file res_pjsip.h.
Referenced by ast_sip_format_contact_ami(), ast_sip_location_create_contact(), contact_expire(), expiration_str2struct(), expiration_struct2str(), expire_contact(), register_aor_core(), registrar_add_contact(), registrar_add_non_permanent(), registrar_contact_delete(), registrar_find_contact(), and vec_contact_cmp().
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().
const ast_string_field path |
Path information to place in Route headers
Definition at line 303 of file res_pjsip.h.
Referenced by ast_sip_format_contact_ami(), ast_sip_location_create_contact(), Api::load(), ResourceApi::load(), path_get_string(), path_outgoing_request(), and register_aor_core().
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().
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().
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().
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().
const ast_string_field uri |
Full URI of the contact
Definition at line 303 of file res_pjsip.h.
Referenced by ast_res_pjsip_find_or_create_contact_status(), ast_sip_create_subscription(), ast_sip_format_contact_ami(), ast_sip_session_create_outgoing(), cli_contact_print_body(), cli_gather_contact(), contact_apply_handler(), contact_to_var_list(), handle_atsign(), handle_single_token(), handle_slash(), insert_user_in_contact_uri(), notify_contact(), pjsip_acf_dial_contacts_read(), prune_boot_contacts_cb(), registrar_add_contact(), registrar_contact_delete(), registrar_find_contact(), send_unsolicited_mwi_notify_to_contact(), sip_options_qualify_contact(), sip_options_remove_contact_status(), and transfer().
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().
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().
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().