Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
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 389 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 411 of file res_pjsip.h.
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.
const ast_string_field aor |
Definition at line 411 of file res_pjsip.h.
Referenced by ami_show_registration_contact_statuses(), ast_res_pjsip_find_or_create_contact_status(), ast_sip_location_add_contact(), ast_sip_location_add_contact_nolock(), ast_sip_location_create_contact(), ast_sip_location_retrieve_contact_from_aor_list(), ast_sip_location_retrieve_first_aor_contact(), ast_sip_location_retrieve_first_aor_contact_filtered(), cli_contact_print_body(), cli_gather_contact(), contact_alloc(), contact_observer_updated(), expire_contact(), find_aor(), find_contact(), path_outgoing_request(), pjsip_acf_dial_contacts_read(), prune_boot_contacts_cb(), registrar_add_contact(), registrar_validate_path(), remove_excess_contacts(), sip_options_remove_contact_status(), and vec_contact_cmp().
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().
const ast_string_field call_id |
Definition at line 411 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().
struct ast_sip_endpoint* endpoint |
Endpoint that added the contact, only available in observers
Definition at line 421 of file res_pjsip.h.
Referenced by ast_sip_location_add_contact(), ast_sip_location_add_contact_nolock(), ast_sip_location_create_contact(), ast_sip_send_out_of_dialog_request(), ast_sip_send_request(), contact_destroy(), handle_atsign(), mwi_contact_changed(), mwi_contact_deleted(), path_outgoing_request(), and transfer().
const ast_string_field endpoint_name |
Definition at line 411 of file res_pjsip.h.
Referenced by ast_sip_format_contact_ami(), ast_sip_location_create_contact(), handle_atsign(), insert_user_in_contact_uri(), 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 413 of file res_pjsip.h.
Referenced by ast_sip_format_contact_ami(), ast_sip_location_add_contact(), ast_sip_location_add_contact_nolock(), ast_sip_location_create_contact(), contact_expire(), expiration_str2struct(), expiration_struct2str(), expire_contact(), registrar_add_contact(), registrar_add_non_permanent(), registrar_contact_delete(), registrar_find_contact(), and vec_contact_cmp().
const ast_string_field outbound_proxy |
Definition at line 411 of file res_pjsip.h.
Referenced by ast_sip_format_contact_ami(), ast_sip_location_create_contact(), sip_options_qualify_contact(), and Registration::write().
const ast_string_field path |
Definition at line 411 of file res_pjsip.h.
Referenced by ast_sip_format_contact_ami(), ast_sip_location_create_contact(), Api::load(), ResourceApi::load(), path_get_string(), and path_outgoing_request().
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().
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().
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().
const ast_string_field reg_server |
Definition at line 411 of file res_pjsip.h.
Referenced by ast_sip_location_create_contact(), cli_gather_contact(), and prune_boot_contacts_cb().
const ast_string_field uri |
Definition at line 411 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_location_add_contact(), ast_sip_location_add_contact_nolock(), ast_sip_location_create_contact(), ast_sip_session_create_outgoing(), cli_contact_print_body(), cli_gather_contact(), contact_apply_handler(), contact_to_var_list(), find_contact(), handle_atsign(), 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 |
Definition at line 411 of file res_pjsip.h.
Referenced by ast_sip_format_contact_ami(), ast_sip_location_add_contact(), ast_sip_location_add_contact_nolock(), ast_sip_location_create_contact(), and registrar_contact_delete().
const ast_string_field via_addr |
Definition at line 411 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().
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().