|
|
@ -25,9 +25,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
[general]
|
|
|
|
[general]
|
|
|
|
context=default ; Default context for incoming calls
|
|
|
|
context=default ; Default context for incoming calls
|
|
|
|
;allowguest=no ; Allow or reject guest calls (default is yes,
|
|
|
|
;allowguest=no ; Allow or reject guest calls (default is yes)
|
|
|
|
; this can also be set to 'osp'
|
|
|
|
|
|
|
|
; if asterisk was compiled with OSP support.)
|
|
|
|
|
|
|
|
allowoverlap=no ; Disable overlap dialing support. (Default is yes)
|
|
|
|
allowoverlap=no ; Disable overlap dialing support. (Default is yes)
|
|
|
|
;allowtransfer=no ; Disable all transfers (unless enabled in peers or users)
|
|
|
|
;allowtransfer=no ; Disable all transfers (unless enabled in peers or users)
|
|
|
|
; Default is enabled
|
|
|
|
; Default is enabled
|
|
|
@ -49,15 +47,6 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
|
|
|
|
; If configured, Asterisk will only allow
|
|
|
|
; If configured, Asterisk will only allow
|
|
|
|
; INVITE and REFER to non-local domains
|
|
|
|
; INVITE and REFER to non-local domains
|
|
|
|
; Use "sip show domains" to list local domains
|
|
|
|
; Use "sip show domains" to list local domains
|
|
|
|
;domain=mydomain.tld,mydomain-incoming
|
|
|
|
|
|
|
|
; Add domain and configure incoming context
|
|
|
|
|
|
|
|
; for external calls to this domain
|
|
|
|
|
|
|
|
;domain=1.2.3.4 ; Add IP address as local domain
|
|
|
|
|
|
|
|
; You can have several "domain" settings
|
|
|
|
|
|
|
|
;allowexternalinvites=no ; Disable INVITE and REFER to non-local domains
|
|
|
|
|
|
|
|
; Default is yes
|
|
|
|
|
|
|
|
;autodomain=yes ; Turn this on to have Asterisk add local host
|
|
|
|
|
|
|
|
; name and local IP to domain list.
|
|
|
|
|
|
|
|
;pedantic=yes ; Enable checking of tags in headers,
|
|
|
|
;pedantic=yes ; Enable checking of tags in headers,
|
|
|
|
; international character conversions in URIs
|
|
|
|
; international character conversions in URIs
|
|
|
|
; and multiline formatted headers for strict
|
|
|
|
; and multiline formatted headers for strict
|
|
|
@ -79,9 +68,6 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
|
|
|
|
;vmexten=voicemail ; dialplan extension to reach mailbox sets the
|
|
|
|
;vmexten=voicemail ; dialplan extension to reach mailbox sets the
|
|
|
|
; Message-Account in the MWI notify message
|
|
|
|
; Message-Account in the MWI notify message
|
|
|
|
; defaults to "asterisk"
|
|
|
|
; defaults to "asterisk"
|
|
|
|
;recordhistory=yes ; Record SIP history by default
|
|
|
|
|
|
|
|
; (see sip history / sip no history)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;disallow=all ; First disallow all codecs
|
|
|
|
;disallow=all ; First disallow all codecs
|
|
|
|
;allow=ulaw ; Allow codecs in order of preference
|
|
|
|
;allow=ulaw ; Allow codecs in order of preference
|
|
|
|
;allow=ilbc ;
|
|
|
|
;allow=ilbc ;
|
|
|
@ -114,8 +100,6 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
|
|
|
|
; auto : Use rfc2833 if offered, inband otherwise
|
|
|
|
; auto : Use rfc2833 if offered, inband otherwise
|
|
|
|
|
|
|
|
|
|
|
|
;compactheaders = yes ; send compact sip headers.
|
|
|
|
;compactheaders = yes ; send compact sip headers.
|
|
|
|
;sipdebug = yes ; Turn on SIP debugging by default, from
|
|
|
|
|
|
|
|
; the moment the channel loads this configuration
|
|
|
|
|
|
|
|
;
|
|
|
|
;
|
|
|
|
;videosupport=yes ; Turn on support for SIP video
|
|
|
|
;videosupport=yes ; Turn on support for SIP video
|
|
|
|
;maxcallbitrate=384 ; Maximum bitrate for video calls (default 384 kb/s)
|
|
|
|
;maxcallbitrate=384 ; Maximum bitrate for video calls (default 384 kb/s)
|
|
|
@ -123,19 +107,6 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
|
|
|
|
; for peers and users as well
|
|
|
|
; for peers and users as well
|
|
|
|
;callevents=no ; generate manager events when sip ua
|
|
|
|
;callevents=no ; generate manager events when sip ua
|
|
|
|
; performs events (e.g. hold)
|
|
|
|
; performs events (e.g. hold)
|
|
|
|
|
|
|
|
|
|
|
|
;--------------------------- STATUS NOTIFICATIONS (SUBSCRIPTIONS) ---------
|
|
|
|
|
|
|
|
; You can subscribe to the status of extensions with a "hint" priority
|
|
|
|
|
|
|
|
; (See extensions.conf.sample for examples)
|
|
|
|
|
|
|
|
; chan_sip support two major formats for notifications: dialog-info and SIMPLE
|
|
|
|
|
|
|
|
; Note: Subscriptions does not work if you have a realtime dialplan and use the
|
|
|
|
|
|
|
|
; realtime switch.
|
|
|
|
|
|
|
|
;
|
|
|
|
|
|
|
|
;allowsubscribe=no ; Disable support for subscriptions. (Default is yes)
|
|
|
|
|
|
|
|
;subscribecontext = default ; Set a specific context for SUBSCRIBE requests
|
|
|
|
|
|
|
|
; Useful to limit subscriptions to local extensions
|
|
|
|
|
|
|
|
; Settable per peer/user also
|
|
|
|
|
|
|
|
;notifyringing = yes ; Notify subscriptions on RINGING state
|
|
|
|
|
|
|
|
;alwaysauthreject = yes ; When an incoming INVITE or REGISTER is to be rejected,
|
|
|
|
;alwaysauthreject = yes ; When an incoming INVITE or REGISTER is to be rejected,
|
|
|
|
; for any reason, always reject with '401 Unauthorized'
|
|
|
|
; for any reason, always reject with '401 Unauthorized'
|
|
|
|
; instead of letting the requester know whether there was
|
|
|
|
; instead of letting the requester know whether there was
|
|
|
@ -143,7 +114,8 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
|
|
|
|
;
|
|
|
|
;
|
|
|
|
; If regcontext is specified, Asterisk will dynamically create and destroy a
|
|
|
|
; If regcontext is specified, Asterisk will dynamically create and destroy a
|
|
|
|
; NoOp priority 1 extension for a given peer who registers or unregisters with
|
|
|
|
; NoOp priority 1 extension for a given peer who registers or unregisters with
|
|
|
|
; us. Multiple contexts may be specified by separating them with '&'. The
|
|
|
|
; us and have a "regexten=" configuration item.
|
|
|
|
|
|
|
|
; Multiple contexts may be specified by separating them with '&'. The
|
|
|
|
; actual extension is the 'regexten' parameter of the registering peer or its
|
|
|
|
; actual extension is the 'regexten' parameter of the registering peer or its
|
|
|
|
; name if 'regexten' is not provided. If more than one context is provided,
|
|
|
|
; name if 'regexten' is not provided. If more than one context is provided,
|
|
|
|
; the context must be specified within regexten by appending the desired
|
|
|
|
; the context must be specified within regexten by appending the desired
|
|
|
@ -151,6 +123,28 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
|
|
|
|
; separated by '&'. Patterns may be used in regexten.
|
|
|
|
; separated by '&'. Patterns may be used in regexten.
|
|
|
|
;
|
|
|
|
;
|
|
|
|
;regcontext=sipregistrations
|
|
|
|
;regcontext=sipregistrations
|
|
|
|
|
|
|
|
;
|
|
|
|
|
|
|
|
;--------------------------- SIP DEBUGGING ---------------------------------------------------
|
|
|
|
|
|
|
|
;sipdebug = yes ; Turn on SIP debugging by default, from
|
|
|
|
|
|
|
|
; the moment the channel loads this configuration
|
|
|
|
|
|
|
|
;recordhistory=yes ; Record SIP history by default
|
|
|
|
|
|
|
|
; (see sip history / sip no history)
|
|
|
|
|
|
|
|
;dumphistory=yes ; Dump SIP history at end of SIP dialogue
|
|
|
|
|
|
|
|
; SIP history is output to the DEBUG logging channel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;--------------------------- STATUS NOTIFICATIONS (SUBSCRIPTIONS) ----------------------------
|
|
|
|
|
|
|
|
; You can subscribe to the status of extensions with a "hint" priority
|
|
|
|
|
|
|
|
; (See extensions.conf.sample for examples)
|
|
|
|
|
|
|
|
; chan_sip support two major formats for notifications: dialog-info and SIMPLE
|
|
|
|
|
|
|
|
; Note: Subscriptions does not work if you have a realtime dialplan and use the
|
|
|
|
|
|
|
|
; realtime switch.
|
|
|
|
|
|
|
|
;
|
|
|
|
|
|
|
|
;allowsubscribe=no ; Disable support for subscriptions. (Default is yes)
|
|
|
|
|
|
|
|
;subscribecontext = default ; Set a specific context for SUBSCRIBE requests
|
|
|
|
|
|
|
|
; Useful to limit subscriptions to local extensions
|
|
|
|
|
|
|
|
; Settable per peer/user also
|
|
|
|
|
|
|
|
;notifyringing = yes ; Notify subscriptions on RINGING state
|
|
|
|
;----------------------------------------- T.38 FAX PASSTHROUGH SUPPORT -----------------------
|
|
|
|
;----------------------------------------- T.38 FAX PASSTHROUGH SUPPORT -----------------------
|
|
|
|
;
|
|
|
|
;
|
|
|
|
; These settings are available in the [general] section as well as in device configurations
|
|
|
|
; These settings are available in the [general] section as well as in device configurations
|
|
|
@ -301,6 +295,16 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
|
|
|
|
; To disallow requests for domains not serviced by this server:
|
|
|
|
; To disallow requests for domains not serviced by this server:
|
|
|
|
; allowexternaldomains=no
|
|
|
|
; allowexternaldomains=no
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;domain=mydomain.tld,mydomain-incoming
|
|
|
|
|
|
|
|
; Add domain and configure incoming context
|
|
|
|
|
|
|
|
; for external calls to this domain
|
|
|
|
|
|
|
|
;domain=1.2.3.4 ; Add IP address as local domain
|
|
|
|
|
|
|
|
; You can have several "domain" settings
|
|
|
|
|
|
|
|
;allowexternalinvites=no ; Disable INVITE and REFER to non-local domains
|
|
|
|
|
|
|
|
; Default is yes
|
|
|
|
|
|
|
|
;autodomain=yes ; Turn this on to have Asterisk add local host
|
|
|
|
|
|
|
|
; name and local IP to domain list.
|
|
|
|
|
|
|
|
|
|
|
|
; fromdomain=mydomain.tld ; When making outbound SIP INVITEs to
|
|
|
|
; fromdomain=mydomain.tld ; When making outbound SIP INVITEs to
|
|
|
|
; non-peers, use your primary domain "identity"
|
|
|
|
; non-peers, use your primary domain "identity"
|
|
|
|
; for From: headers instead of just your IP
|
|
|
|
; for From: headers instead of just your IP
|
|
|
|