Thu Apr 28 2011 17:16:26

Asterisk developer's documentation


sip_settings Struct Reference

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. More...

Collaboration diagram for sip_settings:

Data Fields

int allow_external_domains
int allowguest
int allowsubscribe
enum transfermodes allowtransfer
int alwaysauthreject
int autocreatepeer
int callevents
int compactheaders
char default_context [AST_MAX_CONTEXT]
char default_subscribecontext [AST_MAX_CONTEXT]
int directrtpsetup
int ignore_regexpire
int matchexterniplocally
enum notifycid_setting notifycid
int notifyhold
int notifyringing
struct sip_proxy outboundproxy
int pedanticsipchecking
int peer_rtupdate
char realm [MAXHOSTNAMELEN]
int regextenonqualify
int rtautoclear
int rtsave_sysname
int srvlookup

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 1049 of file chan_sip.c.


Field Documentation

Accept calls to external SIP domains?

Definition at line 1061 of file chan_sip.c.

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

allow unauthenticated peers to connect?

Definition at line 1058 of file chan_sip.c.

Referenced by 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 1069 of file chan_sip.c.

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

SIP Refer restriction scheme

Definition at line 1068 of file chan_sip.c.

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

Send 401 Unauthorized for all failing requests

Definition at line 1059 of file chan_sip.c.

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

Auto creation of peers at registration? Default off.

Definition at line 1056 of file chan_sip.c.

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

Whether we send manager events or not

Definition at line 1062 of file chan_sip.c.

Referenced by change_hold_state(), handle_response_invite(), reload_config(), sip_new(), sip_request_call(), and sip_show_settings().

send compact sip headers

Definition at line 1060 of file chan_sip.c.

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

char default_subscribecontext[AST_MAX_CONTEXT]

Definition at line 1074 of file chan_sip.c.

Referenced by reload_config(), and set_peer_defaults().

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

Definition at line 1054 of file chan_sip.c.

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

G: Ignore expiration of peer

Definition at line 1052 of file chan_sip.c.

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

Match externip/externhost setting against localnet setting

Definition at line 1064 of file chan_sip.c.

Referenced by ast_sip_ouraddrfor(), and reload_config().

Send CID with ringing notifications

Definition at line 1067 of file chan_sip.c.

Referenced by do_magic_pickup(), find_calling_channel(), reload_config(), sip_show_settings(), and transmit_state_notify().

Send notifications on hold

Definition at line 1066 of file chan_sip.c.

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

Send notifications on ringing

Definition at line 1065 of file chan_sip.c.

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

Outbound proxy

Definition at line 1072 of file chan_sip.c.

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

G: Update database with registration data for peer?

Definition at line 1050 of file chan_sip.c.

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

char realm[MAXHOSTNAMELEN]

Default realm

Definition at line 1071 of file chan_sip.c.

Referenced by check_auth(), reload_config(), sip_show_settings(), and transmit_response_with_auth().

Whether to add/remove regexten when qualifying peers

Definition at line 1063 of file chan_sip.c.

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

Realtime ??

Definition at line 1053 of file chan_sip.c.

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

G: Save system name at registration?

Definition at line 1051 of file chan_sip.c.

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

int srvlookup

SRV Lookup on or off. Default is on

Definition at line 1057 of file chan_sip.c.

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


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