Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
ast_sip_endpoint Struct Reference

An entity with which Asterisk communicates. More...

#include <res_pjsip.h>

Collaboration diagram for ast_sip_endpoint:
Collaboration graph
[legend]

Data Fields

struct {
   struct ast_sorcery_object_details   details
 
}; 
 
struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
const ast_string_field accountcode
 
struct ast_acl_listacl
 
unsigned int allow_overlap
 
unsigned int allow_unauthenticated_options
 
unsigned int allowtransfer
 
const ast_string_field aors
 
unsigned int asymmetric_rtp_codec
 
struct ast_variablechannel_vars
 
struct ast_acl_listcontact_acl
 
char * contact_user
 
const ast_string_field context
 
unsigned int devicestate_busy_at
 
enum ast_sip_dtmf_mode dtmf
 
struct ast_sip_endpoint_extensions extensions
 
unsigned int faxdetect
 
unsigned int faxdetect_timeout
 
const ast_string_field fromdomain
 
const ast_string_field fromuser
 
struct ast_sip_endpoint_id_configuration id
 
enum ast_sip_endpoint_identifier_type ident_method
 
struct ast_sip_identify_by_vector ident_method_order
 
unsigned int ignore_183_without_sdp
 
unsigned int inband_progress
 
struct ast_sip_auth_vector inbound_auths
 
const ast_string_field incoming_mwi_mailbox
 
struct ast_sip_endpoint_info_configuration info
 
const ast_string_field language
 
struct ast_sip_endpoint_media_configuration media
 
const ast_string_field message_context
 
unsigned int moh_passthrough
 
const ast_string_field mohsuggest
 
struct ast_sip_endpoint_nat_configuration nat
 
unsigned int notify_early_inuse_ringing
 
struct ast_sip_auth_vector outbound_auths
 
const ast_string_field outbound_proxy
 
struct ast_endpointpersistent
 
struct ast_sip_endpoint_pickup_configuration pickup
 
unsigned int preferred_codec_only
 
enum ast_sip_session_redirect redirect_method
 
unsigned int refer_blind_progress
 
unsigned int stir_shaken
 
struct ast_sip_endpoint_subscription_configuration subscription
 
unsigned int suppress_q850_reason_headers
 
const ast_string_field transport
 
unsigned int usereqphone
 
const ast_string_field zone
 

Detailed Description

An entity with which Asterisk communicates.

Definition at line 812 of file res_pjsip.h.

Field Documentation

◆ @300

struct { ... }

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 837 of file res_pjsip.h.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

Definition at line 814 of file res_pjsip.h.

◆ accountcode

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().

◆ acl

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().

◆ allow_overlap

unsigned int allow_overlap

Do we allow overlap dialling?

Definition at line 893 of file res_pjsip.h.

Referenced by get_destination().

◆ allow_unauthenticated_options

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().

◆ allowtransfer

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().

◆ aors

const ast_string_field aors

◆ asymmetric_rtp_codec

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().

◆ channel_vars

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().

◆ contact_acl

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().

◆ contact_user

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().

◆ context

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().

◆ details

Definition at line 813 of file res_pjsip.h.

◆ devicestate_busy_at

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().

◆ dtmf

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().

◆ extensions

struct ast_sip_endpoint_extensions extensions

◆ faxdetect

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().

◆ faxdetect_timeout

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().

◆ fromdomain

const ast_string_field fromdomain

◆ fromuser

const ast_string_field fromuser

◆ id

◆ 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().

◆ ident_method_order

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().

◆ ignore_183_without_sdp

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().

◆ inband_progress

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().

◆ inbound_auths

struct ast_sip_auth_vector inbound_auths

◆ incoming_mwi_mailbox

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.

◆ 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().

◆ language

const ast_string_field language

Configured language for this endpoint.

Definition at line 827 of file res_pjsip.h.

Referenced by chan_pjsip_new().

◆ 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().

◆ message_context

const ast_string_field message_context

Context to route incoming MESSAGE requests to

Definition at line 833 of file res_pjsip.h.

◆ moh_passthrough

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().

◆ mohsuggest

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().

◆ 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().

◆ notify_early_inuse_ringing

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().

◆ outbound_auths

struct ast_sip_auth_vector outbound_auths

◆ outbound_proxy

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().

◆ persistent

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().

◆ pickup

◆ preferred_codec_only

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().

◆ redirect_method

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().

◆ refer_blind_progress

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().

◆ stir_shaken

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().

◆ subscription

◆ suppress_q850_reason_headers

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().

◆ transport

const ast_string_field transport

◆ usereqphone

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().

◆ zone

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().


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