Asterisk - The Open Source Telephony Project  GIT-master-93d0901
Public Member Functions | 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]

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

Member Function Documentation

◆ SORCERY_OBJECT()

SORCERY_OBJECT ( details  )

Field Documentation

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 881 of file res_pjsip.h.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

Context to send incoming calls to

Name of an explicit transport to use

Outbound proxy to use

Explicit AORs to dial if none are specified

Musiconhold class to suggest that the other side use when placing on hold

Configured tone zone for this endpoint.

Configured language for this endpoint.

Default username to place in From header

Domain to place in From header

Context to route incoming MESSAGE requests to

Accountcode to auto-set on channels

If set, we'll push incoming MWI NOTIFYs to stasis using this mailbox

Definition at line 881 of file res_pjsip.h.

◆ accountcode

const ast_string_field accountcode

Definition at line 881 of file res_pjsip.h.

◆ acl

struct ast_acl_list* acl

Access control list

Definition at line 925 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 937 of file res_pjsip.h.

◆ allow_unauthenticated_options

unsigned int allow_unauthenticated_options

Should we authenticate OPTIONS requests per RFC 3261?

Definition at line 949 of file res_pjsip.h.

Referenced by ast_sip_check_authentication().

◆ allowtransfer

unsigned int allowtransfer

Determines if transfers (using REFER) are allowed by this endpoint

Definition at line 915 of file res_pjsip.h.

◆ aors

const ast_string_field aors

◆ asymmetric_rtp_codec

unsigned int asymmetric_rtp_codec

Do we allow an asymmetric RTP codec?

Definition at line 935 of file res_pjsip.h.

◆ channel_vars

struct ast_variable* channel_vars

Variables set on channel creation

Definition at line 919 of file res_pjsip.h.

Referenced by 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 927 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 931 of file res_pjsip.h.

Referenced by ast_sip_create_dialog_uac(), contact_user_handler(), contact_user_to_str(), create_out_of_dialog_request(), and endpoint_destructor().

◆ context

const ast_string_field context

◆ devicestate_busy_at

unsigned int devicestate_busy_at

The number of channels at which busy device state is returned

Definition at line 911 of file res_pjsip.h.

Referenced by chan_pjsip_devicestate().

◆ dtmf

enum ast_sip_dtmf_mode dtmf

DTMF mode to use with this endpoint

Definition at line 881 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 913 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 929 of file res_pjsip.h.

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

Referenced by 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 881 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 945 of file res_pjsip.h.

◆ inband_progress

unsigned int inband_progress

Boolean indicating if ringing should be sent as inband progress

Definition at line 907 of file res_pjsip.h.

Referenced by chan_pjsip_indicate().

◆ inbound_auths

struct ast_sip_auth_vector inbound_auths

◆ incoming_mwi_mailbox

const ast_string_field incoming_mwi_mailbox

Definition at line 881 of file res_pjsip.h.

◆ info

Configuration options for INFO packages

Definition at line 881 of file res_pjsip.h.

Referenced by ast_sip_create_dialog_uac(), ast_sip_endpoint_alloc(), and endpoint_destructor().

◆ language

const ast_string_field language

Definition at line 881 of file res_pjsip.h.

◆ media

◆ message_context

const ast_string_field message_context

Definition at line 881 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 923 of file res_pjsip.h.

Referenced by ast_sip_session_alloc().

◆ mohsuggest

const ast_string_field mohsuggest

Definition at line 881 of file res_pjsip.h.

◆ nat

NAT configuration

Definition at line 881 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 941 of file res_pjsip.h.

Referenced by dialog_info_generate_body_content().

◆ outbound_auths

struct ast_sip_auth_vector outbound_auths

Outbound authentication credentials

Definition at line 881 of file res_pjsip.h.

Referenced by check_request_status(), endpoint_destructor(), format_ami_endpoints(), outbound_auth_handler(), and outbound_auths_to_str().

◆ outbound_proxy

const ast_string_field outbound_proxy

◆ persistent

struct ast_endpoint* persistent

Pointer to the persistent Asterisk endpoint

Definition at line 909 of file res_pjsip.h.

Referenced by ast_sip_get_endpoint_snapshot(), chan_pjsip_devicestate(), 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 933 of file res_pjsip.h.

Referenced by new_invite(), and sip_endpoint_apply_handler().

◆ redirect_method

enum ast_sip_session_redirect redirect_method

Method used when handling redirects

Definition at line 915 of file res_pjsip.h.

Referenced by redirect_handler().

◆ refer_blind_progress

unsigned int refer_blind_progress

Whether to notifies all the progress details on blind transfer

Definition at line 939 of file res_pjsip.h.

◆ stir_shaken

unsigned int stir_shaken

Set which STIR/SHAKEN behaviors we want on this endpoint

Definition at line 947 of file res_pjsip.h.

Referenced by stir_shaken_handler(), and stir_shaken_to_str().

◆ subscription

◆ suppress_q850_reason_headers

unsigned int suppress_q850_reason_headers

Suppress Q.850 Reason headers on this endpoint

Definition at line 943 of file res_pjsip.h.

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

Referenced by ast_sip_add_usereqphone().

◆ zone

const ast_string_field zone

Definition at line 881 of file res_pjsip.h.


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