98 lines
4.4 KiB
Plaintext
98 lines
4.4 KiB
Plaintext
|
;
|
||
|
; Configuration for chan_console, a cross-platform console channel driver.
|
||
|
;
|
||
|
|
||
|
[general]
|
||
|
|
||
|
; Set this option to "yes" to enable automatically answering calls on the
|
||
|
; console. This is very useful if the console is used as an intercom.
|
||
|
; The default value is "no".
|
||
|
;
|
||
|
;autoanswer = no
|
||
|
|
||
|
; Set the default context to use for outgoing calls. This can be overridden by
|
||
|
; dialing some extension@context, unless the overridecontext option is enabled.
|
||
|
; The default is "default".
|
||
|
;
|
||
|
;context = default
|
||
|
|
||
|
; Set the default extension to use for outgoing calls. The default is "s".
|
||
|
;
|
||
|
;extension = s
|
||
|
|
||
|
; Set the default CallerID for created channels.
|
||
|
;
|
||
|
;callerid = MyName Here <(256) 428-6000>
|
||
|
|
||
|
; Set the default language for created channels.
|
||
|
;
|
||
|
;language = en
|
||
|
|
||
|
; If you set overridecontext to 'yes', then the whole dial string
|
||
|
; will be interpreted as an extension, which is extremely useful
|
||
|
; to dial SIP, IAX and other extensions which use the '@' character.
|
||
|
; The default is "no".
|
||
|
;
|
||
|
;overridecontext = no ; if 'no', the last @ will start the context
|
||
|
; if 'yes' the whole string is an extension.
|
||
|
|
||
|
|
||
|
; Default Music on Hold class to use when this channel is placed on hold in
|
||
|
; the case that the music class is not set on the channel with
|
||
|
; Set(CHANNEL(musicclass)=whatever) in the dialplan and the peer channel
|
||
|
; putting this one on hold did not suggest a class to use.
|
||
|
;
|
||
|
;mohinterpret=default
|
||
|
|
||
|
; ----------------------------- JITTER BUFFER CONFIGURATION --------------------------
|
||
|
; jbenable = yes ; Enables the use of a jitterbuffer on the receiving side of an
|
||
|
; Console channel. Defaults to "no". An enabled jitterbuffer will
|
||
|
; be used only if the sending side can create and the receiving
|
||
|
; side can not accept jitter. The Console channel can't accept jitter,
|
||
|
; thus an enabled jitterbuffer on the receive Console side will always
|
||
|
; be used if the sending side can create jitter.
|
||
|
|
||
|
; jbmaxsize = 200 ; Max length of the jitterbuffer in milliseconds.
|
||
|
|
||
|
; jbresyncthreshold = 1000 ; Jump in the frame timestamps over which the jitterbuffer is
|
||
|
; resynchronized. Useful to improve the quality of the voice, with
|
||
|
; big jumps in/broken timestamps, usually sent from exotic devices
|
||
|
; and programs. Defaults to 1000.
|
||
|
|
||
|
; jbimpl = fixed ; Jitterbuffer implementation, used on the receiving side of a Console
|
||
|
; channel. Two implementations are currently available - "fixed"
|
||
|
; (with size always equals to jbmax-size) and "adaptive" (with
|
||
|
; variable size, actually the new jb of IAX2). Defaults to fixed.
|
||
|
|
||
|
; jbtargetextra = 40 ; This option only affects the jb when 'jbimpl = adaptive' is set.
|
||
|
; The option represents the number of milliseconds by which the new
|
||
|
; jitter buffer will pad its size. the default is 40, so without
|
||
|
; modification, the new jitter buffer will set its size to the jitter
|
||
|
; value plus 40 milliseconds. increasing this value may help if your
|
||
|
; network normally has low jitter, but occasionally has spikes.
|
||
|
|
||
|
; jblog = no ; Enables jitterbuffer frame logging. Defaults to "no".
|
||
|
; ----------------------------------------------------------------------------------
|
||
|
|
||
|
|
||
|
;
|
||
|
; Any configuration context defined beyond the [general] section configures
|
||
|
; specific devices for use.
|
||
|
;
|
||
|
|
||
|
[default]
|
||
|
input_device = default ; When configuring an input device and output device,
|
||
|
output_device = default ; use the name that you see when you run the "console
|
||
|
; list available" CLI command. If you say "default", the
|
||
|
; system default input and output devices will be used.
|
||
|
autoanswer = no
|
||
|
context = default
|
||
|
extension = s
|
||
|
callerid = MyName Here <(256) 428-6000>
|
||
|
language = en
|
||
|
overridecontext = no
|
||
|
mohinterpret = default
|
||
|
active = yes ; This option should only be set for one console.
|
||
|
; It means that it is the active console to be
|
||
|
; used from the Asterisk CLI.
|