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

a place to store all global settings for the sip channel driver More...

#include <sip.h>

Collaboration diagram for sip_settings:
Collaboration graph
[legend]

Data Fields

int accept_outofcall_message
 
int allow_external_domains
 
int allowguest
 
int allowsubscribe
 
enum transfermodes allowtransfer
 
int alwaysauthreject
 
int auth_message_requests
 
int auth_options_requests
 
enum autocreatepeer_mode autocreatepeer
 
struct ast_format_capcaps
 Global list of addresses dynamic peers are not allowed to use. More...
 
int compactheaders
 
struct ast_acl_listcontact_acl
 
char default_context [AST_MAX_CONTEXT]
 
int default_max_forwards
 
char default_record_off_feature [AST_FEATURE_MAX_LEN]
 
char default_record_on_feature [AST_FEATURE_MAX_LEN]
 
char default_subscribecontext [AST_MAX_CONTEXT]
 
int directrtpsetup
 
unsigned int disallowed_methods
 
int domainsasrealm
 
int ignore_regexpire
 
int legacy_useroption_parsing
 
int matchexternaddrlocally
 
char messagecontext [AST_MAX_CONTEXT]
 
enum notifycid_setting notifycid
 
int notifyhold
 
int notifyringing
 
struct sip_proxy outboundproxy
 
int pedanticsipchecking
 
int peer_rtupdate
 
char realm [MAXHOSTNAMELEN]
 
char regcontext [AST_MAX_CONTEXT]
 
int regextenonqualify
 
int rtautoclear
 
int rtsave_path
 
int rtsave_sysname
 
int send_diversion
 
int srvlookup
 
int tcp_enabled
 
int websocket_enabled
 
int websocket_write_timeout
 

Detailed Description

a place to store all global settings for the sip channel driver

These are settings that will be possibly to apply on a group level later on.

Note
Do not add settings that only apply to the channel itself and can't be applied to devices (trunks, services, phones)

Definition at line 749 of file sip.h.

Field Documentation

◆ accept_outofcall_message

int accept_outofcall_message

Accept MESSAGE outside of a call

Definition at line 763 of file sip.h.

Referenced by receive_message(), and reload_config().

◆ allow_external_domains

int allow_external_domains

Accept calls to external SIP domains?

Definition at line 765 of file sip.h.

Referenced by get_destination(), handle_request_refer(), reload_config(), and sip_show_settings().

◆ allowguest

int allowguest

allow unauthenticated peers to connect?

Definition at line 759 of file sip.h.

Referenced by check_peer_ok(), check_user_full(), reload_config(), and sip_show_settings().

◆ allowsubscribe

int allowsubscribe

Flag for disabling ALL subscriptions, this is FALSE only if all peers are FALSE the global setting is in globals_flags[1]

Definition at line 777 of file sip.h.

Referenced by build_peer(), handle_request_subscribe(), and reload_config().

◆ allowtransfer

enum transfermodes allowtransfer

SIP Refer restriction scheme

Definition at line 776 of file sip.h.

Referenced by __sip_alloc(), reload_config(), set_peer_defaults(), and sip_show_settings().

◆ alwaysauthreject

int alwaysauthreject

Send 401 Unauthorized for all failing requests

Definition at line 760 of file sip.h.

Referenced by check_peer_ok(), register_verify(), reload_config(), and sip_show_settings().

◆ auth_message_requests

int auth_message_requests

Authenticate MESSAGE requests

Definition at line 762 of file sip.h.

Referenced by receive_message(), and reload_config().

◆ auth_options_requests

int auth_options_requests

Authenticate OPTIONS requests

Definition at line 761 of file sip.h.

Referenced by handle_request_options(), and reload_config().

◆ autocreatepeer

enum autocreatepeer_mode autocreatepeer

Auto creation of peers at registration? Default off.

Definition at line 757 of file sip.h.

Referenced by register_verify(), reload_config(), and sip_show_settings().

◆ caps

struct ast_format_cap* caps

Global list of addresses dynamic peers are not allowed to use.

Supported codecs

Definition at line 787 of file sip.h.

Referenced by __sip_alloc(), load_module(), reload_config(), set_peer_defaults(), sip_new(), sip_show_settings(), and unload_module().

◆ compactheaders

int compactheaders

send compact sip headers

Definition at line 764 of file sip.h.

Referenced by add_codec_to_sdp(), add_header(), reload_config(), and sip_show_settings().

◆ contact_acl

struct ast_acl_list* contact_acl

Definition at line 786 of file sip.h.

Referenced by build_peer(), parse_register_contact(), reload_config(), and unload_module().

◆ default_context

char default_context[AST_MAX_CONTEXT]

◆ default_max_forwards

int default_max_forwards

Default max forwards (SIP Anti-loop)

Definition at line 789 of file sip.h.

Referenced by __sip_alloc(), build_peer(), reload_config(), and sip_show_settings().

◆ default_record_off_feature

char default_record_off_feature[AST_FEATURE_MAX_LEN]

Definition at line 785 of file sip.h.

Referenced by reload_config(), set_peer_defaults(), and sip_show_settings().

◆ default_record_on_feature

char default_record_on_feature[AST_FEATURE_MAX_LEN]

Definition at line 784 of file sip.h.

Referenced by reload_config(), set_peer_defaults(), and sip_show_settings().

◆ default_subscribecontext

char default_subscribecontext[AST_MAX_CONTEXT]

Definition at line 783 of file sip.h.

Referenced by reload_config(), and set_peer_defaults().

◆ directrtpsetup

int directrtpsetup

Enable support for Direct RTP setup (no re-invites)

Definition at line 755 of file sip.h.

Referenced by reload_config(), sip_set_rtp_peer(), and sip_show_settings().

◆ disallowed_methods

unsigned int disallowed_methods

methods that we should never try to use

Definition at line 772 of file sip.h.

Referenced by create_addr(), reload_config(), and set_peer_defaults().

◆ domainsasrealm

int domainsasrealm

Use domains lists as realms

Definition at line 780 of file sip.h.

Referenced by get_realm(), reload_config(), and sip_show_settings().

◆ ignore_regexpire

int ignore_regexpire

G: Ignore expiration of peer

Definition at line 753 of file sip.h.

Referenced by build_peer(), destroy_association(), reload_config(), and sip_show_settings().

◆ legacy_useroption_parsing

int legacy_useroption_parsing

Whether to strip useroptions in URI via semicolons

Definition at line 767 of file sip.h.

Referenced by parse_uri_legacy_check(), reload_config(), and sip_show_settings().

◆ matchexternaddrlocally

int matchexternaddrlocally

Match externaddr/externhost setting against localnet setting

Definition at line 769 of file sip.h.

Referenced by ast_sip_ouraddrfor(), and reload_config().

◆ messagecontext

char messagecontext[AST_MAX_CONTEXT]

Default context for out of dialog msgs.

Definition at line 771 of file sip.h.

Referenced by receive_message(), reload_config(), and set_peer_defaults().

◆ notifycid

enum notifycid_setting notifycid

Send CID with ringing notifications

Definition at line 775 of file sip.h.

Referenced by do_magic_pickup(), reload_config(), sip_show_settings(), and state_notify_build_xml().

◆ notifyhold

int notifyhold

Send notifications on hold

Definition at line 774 of file sip.h.

Referenced by change_hold_state(), reload_config(), sip_show_settings(), and update_call_counter().

◆ notifyringing

int notifyringing

Send notifications on ringing

Definition at line 773 of file sip.h.

Referenced by reload_config(), sip_show_settings(), and state_notify_build_xml().

◆ outboundproxy

struct sip_proxy outboundproxy

Outbound proxy

Definition at line 781 of file sip.h.

Referenced by obproxy_get(), ref_proxy(), reload_config(), and sip_show_settings().

◆ pedanticsipchecking

int pedanticsipchecking

◆ peer_rtupdate

int peer_rtupdate

◆ realm

char realm[MAXHOSTNAMELEN]

Default realm

Definition at line 779 of file sip.h.

Referenced by get_realm(), reload_config(), and sip_show_settings().

◆ regcontext

char regcontext[AST_MAX_CONTEXT]

Context for auto-extensions

Definition at line 770 of file sip.h.

Referenced by _sip_show_peer(), register_peer_exten(), reload_config(), and sip_show_settings().

◆ regextenonqualify

int regextenonqualify

Whether to add/remove regexten when qualifying peers

Definition at line 766 of file sip.h.

Referenced by handle_response_peerpoke(), reload_config(), sip_poke_noanswer(), and sip_show_settings().

◆ rtautoclear

int rtautoclear

Realtime ??

Definition at line 754 of file sip.h.

Referenced by realtime_peer(), reload_config(), and sip_show_settings().

◆ rtsave_path

int rtsave_path

G: Save path header on registration

Definition at line 752 of file sip.h.

Referenced by realtime_update_peer(), reload_config(), and sip_show_settings().

◆ rtsave_sysname

int rtsave_sysname

G: Save system name at registration?

Definition at line 751 of file sip.h.

Referenced by realtime_update_peer(), reload_config(), and sip_show_settings().

◆ send_diversion

int send_diversion

Whether to Send SIP Diversion headers

Definition at line 768 of file sip.h.

Referenced by add_diversion(), reload_config(), and sip_show_settings().

◆ srvlookup

int srvlookup

SRV Lookup on or off. Default is on

Definition at line 758 of file sip.h.

Referenced by __sip_subscribe_mwi_do(), build_peer(), create_addr(), proxy_update(), reload_config(), sip_show_settings(), and transmit_register().

◆ tcp_enabled

int tcp_enabled

Definition at line 788 of file sip.h.

Referenced by build_peer(), reload_config(), and sip_show_settings().

◆ websocket_enabled

int websocket_enabled

Are websockets enabled?

Definition at line 791 of file sip.h.

Referenced by load_module(), reload_config(), and unload_module().

◆ websocket_write_timeout

int websocket_write_timeout

Socket write timeout for websocket transports, in ms

Definition at line 790 of file sip.h.

Referenced by reload_config(), and sip_websocket_callback().


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