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.
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_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 735 of file sip.h.


Field Documentation

Accept MESSAGE outside of a call

Definition at line 749 of file sip.h.

Referenced by receive_message(), and reload_config().

Accept calls to external SIP domains?

Definition at line 751 of file sip.h.

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

allow unauthenticated peers to connect?

Definition at line 745 of file sip.h.

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

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 763 of file sip.h.

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

SIP Refer restriction scheme

Definition at line 762 of file sip.h.

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

Send 401 Unauthorized for all failing requests

Definition at line 746 of file sip.h.

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

Authenticate MESSAGE requests

Definition at line 748 of file sip.h.

Referenced by receive_message(), and reload_config().

Authenticate OPTIONS requests

Definition at line 747 of file sip.h.

Referenced by handle_request_options(), and reload_config().

Auto creation of peers at registration? Default off.

Definition at line 743 of file sip.h.

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

struct ast_format_cap* caps [read]

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

Supported codecs

Definition at line 773 of file sip.h.

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

send compact sip headers

Definition at line 750 of file sip.h.

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

struct ast_acl_list* contact_acl [read]

Definition at line 772 of file sip.h.

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

char default_context[AST_MAX_CONTEXT]

Default max forwards (SIP Anti-loop)

Definition at line 775 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 771 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 770 of file sip.h.

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

char default_subscribecontext[AST_MAX_CONTEXT]

Definition at line 769 of file sip.h.

Referenced by reload_config(), and set_peer_defaults().

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

Definition at line 741 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 758 of file sip.h.

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

Use domains lists as realms

Definition at line 766 of file sip.h.

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

G: Ignore expiration of peer

Definition at line 739 of file sip.h.

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

Whether to strip useroptions in URI via semicolons

Definition at line 753 of file sip.h.

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

Match externaddr/externhost setting against localnet setting

Definition at line 755 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 757 of file sip.h.

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

Send CID with ringing notifications

Definition at line 761 of file sip.h.

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

Send notifications on hold

Definition at line 760 of file sip.h.

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

Send notifications on ringing

Definition at line 759 of file sip.h.

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

struct sip_proxy outboundproxy [read]

Outbound proxy

Definition at line 767 of file sip.h.

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

G: Update database with registration data for peer?

Definition at line 736 of file sip.h.

Referenced by build_peer(), destroy_association(), handle_response_peerpoke(), 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 765 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 756 of file sip.h.

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

Whether to add/remove regexten when qualifying peers

Definition at line 752 of file sip.h.

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

Realtime ??

Definition at line 740 of file sip.h.

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

G: Save path header on registration

Definition at line 738 of file sip.h.

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

G: Save system name at registration?

Definition at line 737 of file sip.h.

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

Whether to Send SIP Diversion headers

Definition at line 754 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 744 of file sip.h.

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

Definition at line 774 of file sip.h.

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

Socket write timeout for websocket transports, in ms

Definition at line 776 of file sip.h.

Referenced by reload_config(), and sip_websocket_callback().


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

Generated on Thu Apr 16 06:37:28 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6