mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-04 20:33:53 +00:00
- Add support for multiple devices. All devices are configured in console.conf. - Add "console list devices" CLI command to show configured devices. Also, changed the old "list devices" to be "list available", which queries PortAudio for all audio devices that are available for use. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99227 65c4cc65-6c06-0410-ace0-fbb531ad65f3
91 lines
3.8 KiB
Plaintext
91 lines
3.8 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.
|
|
|
|
; 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 devices" 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.
|