Asterisk - The Open Source Telephony Project
18.5.0
|
An entity with which Asterisk communicates. More...
#include <res_pjsip.h>
An entity with which Asterisk communicates.
Definition at line 812 of file res_pjsip.h.
struct { ... } |
struct ast_string_field_mgr __field_mgr |
Definition at line 837 of file res_pjsip.h.
struct ast_string_field_pool* __field_mgr_pool |
Definition at line 814 of file res_pjsip.h.
const ast_string_field accountcode |
Accountcode to auto-set on channels
Definition at line 835 of file res_pjsip.h.
Referenced by chan_pjsip_new().
struct ast_acl_list* acl |
Access control list
Definition at line 881 of file res_pjsip.h.
Referenced by acl_to_str(), apply_endpoint_acl(), endpoint_acl_handler(), and endpoint_destructor().
unsigned int allow_overlap |
Do we allow overlap dialling?
Definition at line 893 of file res_pjsip.h.
Referenced by get_destination().
unsigned int allow_unauthenticated_options |
Should we authenticate OPTIONS requests per RFC 3261?
Definition at line 905 of file res_pjsip.h.
Referenced by ast_sip_requires_authentication().
unsigned int allowtransfer |
Determines if transfers (using REFER) are allowed by this endpoint
Definition at line 871 of file res_pjsip.h.
Referenced by refer_incoming_refer_request().
const ast_string_field aors |
Explicit AORs to dial if none are specified
Definition at line 821 of file res_pjsip.h.
Referenced by ami_registrations_endpoint(), ast_sip_create_subscription(), ast_sip_session_create_outgoing(), cli_endpoint_print_body(), create_out_of_dialog_request(), find_aor(), find_aor_for_resource(), find_registrar_aor(), format_ami_contact_status(), format_ami_endpoint_aor(), format_ami_endpoints(), handle_atsign(), handle_single_token(), handle_slash(), mwi_contact_deleted(), mwi_new_subscribe(), mwi_subscribe_all(), mwi_subscription_alloc(), sip_options_synchronize_endpoint(), and transfer().
unsigned int asymmetric_rtp_codec |
Do we allow an asymmetric RTP codec?
Definition at line 891 of file res_pjsip.h.
Referenced by chan_pjsip_read_stream(), create_rtp(), and set_caps().
struct ast_variable* channel_vars |
Variables set on channel creation
Definition at line 875 of file res_pjsip.h.
Referenced by chan_pjsip_new(), endpoint_destructor(), set_var_handler(), set_var_to_str(), and set_var_to_vl().
struct ast_acl_list* contact_acl |
Restrict what IPs are allowed in the Contact header (for registration)
Definition at line 883 of file res_pjsip.h.
Referenced by apply_endpoint_contact_acl(), contact_acl_to_str(), endpoint_acl_handler(), and endpoint_destructor().
char* contact_user |
Override the user on the outgoing Contact header with this value.
Definition at line 887 of file res_pjsip.h.
Referenced by ast_sip_create_dialog_uac(), contact_user_handler(), contact_user_to_str(), create_out_of_dialog_request(), endpoint_destructor(), and set_from_header().
const ast_string_field context |
Context to send incoming calls to
Definition at line 815 of file res_pjsip.h.
Referenced by ast_res_pjsip_initialize_configuration(), chan_pjsip_new(), get_destination(), new_invite(), new_subscribe(), and subscription_established().
struct ast_sorcery_object_details details |
Definition at line 813 of file res_pjsip.h.
unsigned int devicestate_busy_at |
The number of channels at which busy device state is returned
Definition at line 867 of file res_pjsip.h.
Referenced by cli_endpoint_print_body().
enum ast_sip_dtmf_mode dtmf |
DTMF mode to use with this endpoint
Definition at line 857 of file res_pjsip.h.
Referenced by ast_sip_session_alloc(), dtmf_handler(), and dtmf_to_str().
struct ast_sip_endpoint_extensions extensions |
Configuration for extensions
Definition at line 839 of file res_pjsip.h.
Referenced by ast_sip_session_create_outgoing(), new_invite(), prack_handler(), prack_to_str(), pre_session_setup(), sip_endpoint_apply_handler(), timers_handler(), and timers_to_str().
unsigned int faxdetect |
Whether fax detection is enabled or not (CNG tone detection)
Definition at line 869 of file res_pjsip.h.
Referenced by ast_sip_session_alloc().
unsigned int faxdetect_timeout |
The number of seconds into call to disable fax detection. (0 = disabled)
Definition at line 885 of file res_pjsip.h.
Referenced by chan_pjsip_read_stream().
const ast_string_field fromdomain |
Domain to place in From header
Definition at line 831 of file res_pjsip.h.
Referenced by ast_sip_create_dialog_uac(), create_out_of_dialog_request(), filter_outgoing_message(), filter_session_outgoing_message(), and set_from_header().
const ast_string_field fromuser |
Default username to place in From header
Definition at line 829 of file res_pjsip.h.
Referenced by ast_res_pjsip_initialize_configuration(), ast_sip_create_dialog_uac(), create_out_of_dialog_request(), from_user_handler(), from_user_to_str(), and set_from_header().
struct ast_sip_endpoint_id_configuration id |
Party identification options
Definition at line 847 of file res_pjsip.h.
Referenced by add_id_headers(), ast_sip_endpoint_alloc(), ast_sip_session_create_outgoing(), caller_id_handler(), caller_id_incoming_request(), caller_id_outgoing_response(), caller_id_privacy_handler(), caller_id_privacy_to_str(), caller_id_tag_handler(), caller_id_tag_to_str(), caller_id_to_str(), cli_endpoint_print_body(), cli_list_subscriptions_detail(), cli_show_subscriptions_detail(), connected_line_method_handler(), connected_line_method_to_str(), direct_media_method_to_str(), endpoint_destructor(), get_redirecting_add_diversion(), is_colp_update_allowed(), Model::load(), queue_connected_line_update(), set_from_header(), sip_subscription_to_ami(), update_connected_line_information(), and update_incoming_connected_line().
enum ast_sip_endpoint_identifier_type ident_method |
Method(s) by which the endpoint should be identified.
Definition at line 859 of file res_pjsip.h.
Referenced by auth_username_identify(), ident_handler(), and username_identify().
struct ast_sip_identify_by_vector ident_method_order |
Order of the method(s) by which the endpoint should be identified.
Definition at line 861 of file res_pjsip.h.
Referenced by ast_sip_endpoint_alloc(), endpoint_destructor(), find_registrar_aor(), ident_handler(), and ident_to_str().
unsigned int ignore_183_without_sdp |
Ignore 183 if no SDP is present
Definition at line 901 of file res_pjsip.h.
Referenced by chan_pjsip_incoming_response().
unsigned int inband_progress |
Boolean indicating if ringing should be sent as inband progress
Definition at line 863 of file res_pjsip.h.
Referenced by chan_pjsip_indicate(), and update_connected_line_information().
struct ast_sip_auth_vector inbound_auths |
Inbound authentication credentials
Definition at line 853 of file res_pjsip.h.
Referenced by cli_endpoint_print_body(), create_artificial_endpoint(), digest_check_auth(), digest_requires_authentication(), endpoint_destructor(), format_ami_endpoint_auth(), format_ami_endpoints(), inbound_auth_handler(), and inbound_auths_to_str().
const ast_string_field incoming_mwi_mailbox |
If set struct ast_string_field_mgr __field_mgr we'll push incoming MWI NOTIFYs to stasis using this mailbox
Definition at line 837 of file res_pjsip.h.
struct ast_sip_endpoint_info_configuration info |
Configuration options for INFO packages
Definition at line 849 of file res_pjsip.h.
Referenced by ast_sip_create_dialog_uac(), ast_sip_endpoint_alloc(), endpoint_destructor(), and handle_incoming_request().
const ast_string_field language |
Configured language for this endpoint.
Definition at line 827 of file res_pjsip.h.
Referenced by chan_pjsip_new().
struct ast_sip_endpoint_media_configuration media |
Configuration relating to media
Definition at line 841 of file res_pjsip.h.
Referenced by add_bundle_groups(), add_crypto_to_stream(), add_extmap_to_stream(), add_ice_to_stream(), add_msid_to_stream(), add_rtcp_fb_to_stream(), add_ssrc_to_stream(), apply_negotiated_sdp_stream(), ast_sip_endpoint_alloc(), ast_sip_session_create_joint_call_cap(), ast_sip_session_create_joint_call_stream(), ast_sip_session_create_outgoing(), ast_sip_session_media_get_transport(), ast_sip_session_media_state_add(), call_offer_pref_handler(), chan_pjsip_get_rtp_peer(), chan_pjsip_get_vrtp_peer(), chan_pjsip_incoming_ack(), chan_pjsip_indicate(), chan_pjsip_new(), chan_pjsip_queryoption(), chan_pjsip_session_begin(), chan_pjsip_set_rtp_peer(), check_endpoint_media_transport(), check_ice_support(), codec_prefs_handler(), create_local_sdp(), create_outgoing_sdp_stream(), create_rtp(), defer_incoming_sdp_stream(), direct_media_glare_mitigation_handler(), direct_media_glare_mitigation_to_str(), direct_media_method_handler(), direct_media_mitigate_glare(), dtls_handler(), dtlsautogeneratecert_to_str(), dtlscafile_to_str(), dtlscapath_to_str(), dtlscertfile_to_str(), dtlscipher_to_str(), dtlsfingerprint_to_str(), dtlsprivatekey_to_str(), dtlsrekey_to_str(), dtlssetup_to_str(), dtlsverify_to_str(), enable_rtcp(), endpoint_destructor(), generate_rtpmap_attr(), get_codecs(), incoming_answer_codec_prefs_to_str(), incoming_call_offer_pref_to_str(), incoming_offer_codec_prefs_to_str(), is_stream_limitation_reached(), log_caps(), media_encryption_handler(), media_encryption_to_str(), media_offer_read_av(), media_offer_write_av(), negotiate_incoming_sdp_stream(), outgoing_answer_codec_prefs_to_str(), outgoing_call_offer_pref_to_str(), outgoing_offer_codec_prefs_to_str(), process_extmap_attributes(), process_ice_attributes(), process_ice_auth_attrb(), process_ssrc_attributes(), send_direct_media_request(), session_inv_on_media_update(), session_refresh_state_get_or_alloc(), set_caps(), set_ice_components(), set_mid_and_bundle_group(), setup_dtls_srtp(), sip_endpoint_apply_handler(), sip_session_refresh(), t38_framehook(), t38_initialize_session(), t38_interpret_sdp(), t38udptl_ec_handler(), t38udptl_ec_to_str(), tos_audio_to_str(), tos_handler(), and tos_video_to_str().
const ast_string_field message_context |
Context to route incoming MESSAGE requests to
Definition at line 833 of file res_pjsip.h.
unsigned int moh_passthrough |
Whether to pass through hold and unhold using re-invites with recvonly and sendrecv
Definition at line 879 of file res_pjsip.h.
Referenced by ast_sip_session_alloc().
const ast_string_field mohsuggest |
Musiconhold class to suggest that the other side use when placing on hold
Definition at line 823 of file res_pjsip.h.
Referenced by apply_negotiated_sdp_stream().
struct ast_sip_endpoint_nat_configuration nat |
NAT configuration
Definition at line 845 of file res_pjsip.h.
Referenced by ast_res_pjsip_initialize_configuration(), ast_sip_will_uri_survive_restart(), and handle_rx_message().
unsigned int notify_early_inuse_ringing |
Whether to notifies dialog-info 'early' on INUSE && RINGING state
Definition at line 897 of file res_pjsip.h.
Referenced by dialog_info_generate_body_content().
struct ast_sip_auth_vector outbound_auths |
Outbound authentication credentials
Definition at line 855 of file res_pjsip.h.
Referenced by check_request_status(), cli_endpoint_print_body(), endpoint_destructor(), format_ami_endpoint_auth(), format_ami_endpoints(), outbound_auth_handler(), outbound_auths_to_str(), outbound_invite_auth(), and session_inv_on_tsx_state_changed().
const ast_string_field outbound_proxy |
Outbound proxy to use
Definition at line 819 of file res_pjsip.h.
Referenced by ast_sip_create_dialog_uac(), and create_out_of_dialog_request().
struct ast_endpoint* persistent |
Pointer to the persistent Asterisk endpoint
Definition at line 865 of file res_pjsip.h.
Referenced by ast_sip_get_endpoint_snapshot(), chan_pjsip_new(), endpoint_deleted_observer(), endpoint_destructor(), and sip_endpoint_apply_handler().
struct ast_sip_endpoint_pickup_configuration pickup |
Call pickup configuration
Definition at line 851 of file res_pjsip.h.
Referenced by callgroup_to_str(), chan_pjsip_new(), endpoint_destructor(), group_handler(), named_callgroups_to_str(), named_groups_handler(), named_pickupgroups_to_str(), and pickupgroup_to_str().
unsigned int preferred_codec_only |
Whether to response SDP offer with single most preferred codec.
Definition at line 889 of file res_pjsip.h.
Referenced by ast_sip_session_create_invite(), new_invite(), set_caps(), and sip_endpoint_apply_handler().
enum ast_sip_session_redirect redirect_method |
Method used when handling redirects
Definition at line 873 of file res_pjsip.h.
Referenced by redirect_handler(), and session_inv_on_redirected().
unsigned int refer_blind_progress |
Whether to notifies all the progress details on blind transfer
Definition at line 895 of file res_pjsip.h.
Referenced by refer_progress_alloc().
unsigned int stir_shaken |
Enable STIR/SHAKEN support on this endpoint
Definition at line 903 of file res_pjsip.h.
Referenced by stir_shaken_incoming_request(), and stir_shaken_outgoing_request().
struct ast_sip_endpoint_subscription_configuration subscription |
SUBSCRIBE/NOTIFY configuration options
Definition at line 843 of file res_pjsip.h.
Referenced by allow_and_or_replace_unsolicited(), ast_sip_endpoint_alloc(), create_unsolicited_mwi_subscriptions(), endpoint_destructor(), is_unsolicited_allowed(), mwi_contact_changed(), mwi_contact_deleted(), new_subscribe(), send_unsolicited_mwi_notify_to_contact(), subscription_established(), voicemail_extension_handler(), and voicemail_extension_to_str().
unsigned int suppress_q850_reason_headers |
Suppress Q.850 Reason headers on this endpoint
Definition at line 899 of file res_pjsip.h.
Referenced by rfc3326_add_reason_header().
const ast_string_field transport |
Name of an explicit transport to use
Definition at line 817 of file res_pjsip.h.
Referenced by ast_sip_get_transport_name(), ast_sip_send_out_of_dialog_request(), cli_iterate(), create_rtp(), format_ami_endpoint_transport(), format_ami_endpoints(), handle_outgoing_request(), handle_outgoing_response(), and supplement_outgoing_response().
unsigned int usereqphone |
Whether to place a 'user=phone' parameter into the request URI if user is a number
Definition at line 877 of file res_pjsip.h.
Referenced by ast_sip_add_usereqphone().
const ast_string_field zone |
Configured tone zone for this endpoint.
Definition at line 825 of file res_pjsip.h.
Referenced by chan_pjsip_new().