Asterisk - The Open Source Telephony Project
18.5.0
|
a place to store all global settings for the sip channel driver More...
#include <sip.h>
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.
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().
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().
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().
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().
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().
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().
int auth_message_requests |
Authenticate MESSAGE requests
Definition at line 762 of file sip.h.
Referenced by receive_message(), and reload_config().
int auth_options_requests |
Authenticate OPTIONS requests
Definition at line 761 of file sip.h.
Referenced by handle_request_options(), and reload_config().
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().
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().
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().
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().
char default_context[AST_MAX_CONTEXT] |
Definition at line 782 of file sip.h.
Referenced by __sip_alloc(), get_also_info(), get_refer_info(), handle_request_bye(), handle_request_invite(), handle_request_options(), handle_request_refer(), reload_config(), set_peer_defaults(), and sip_show_settings().
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().
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().
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().
char default_subscribecontext[AST_MAX_CONTEXT] |
Definition at line 783 of file sip.h.
Referenced by reload_config(), and set_peer_defaults().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
int pedanticsipchecking |
Extra checking ? Default off
Definition at line 756 of file sip.h.
Referenced by __find_call(), add_diversion(), AST_TEST_DEFINE(), get_refer_info(), get_sip_pvt_from_replaces(), handle_incoming(), handle_request_do(), handle_request_invite(), initreqprep(), read_raw_content_length(), reload_config(), sip_show_settings(), and state_notify_build_xml().
int peer_rtupdate |
G: Update database with registration data for peer?
Definition at line 750 of file sip.h.
Referenced by build_peer(), destroy_association(), handle_response_peerpoke(), load_module(), parse_register_contact(), reg_source_db(), reload_config(), sip_poke_noanswer(), sip_show_settings(), and update_peer().
char realm[MAXHOSTNAMELEN] |
Default realm
Definition at line 779 of file sip.h.
Referenced by get_realm(), reload_config(), and sip_show_settings().
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().
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().
int rtautoclear |
Realtime ??
Definition at line 754 of file sip.h.
Referenced by realtime_peer(), reload_config(), and sip_show_settings().
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().
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().
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().
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().
int tcp_enabled |
Definition at line 788 of file sip.h.
Referenced by build_peer(), reload_config(), and sip_show_settings().
int websocket_enabled |
Are websockets enabled?
Definition at line 791 of file sip.h.
Referenced by load_module(), reload_config(), and unload_module().
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().