summaryrefslogtreecommitdiff
path: root/configs/console.conf.sample
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2008-01-20 06:11:49 +0000
committerRussell Bryant <russell@russellbryant.com>2008-01-20 06:11:49 +0000
commitf20450ea032335b9d1e078062887434e0caee6a8 (patch)
tree5d49ace9d95f2fb3e89e46413864cda3d632f954 /configs/console.conf.sample
parentaa7592f21a5ec7c2ddd7b5e6e3c4e84f688736b6 (diff)
Merge changes from team/russell/console_devices
- 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
Diffstat (limited to 'configs/console.conf.sample')
-rw-r--r--configs/console.conf.sample24
1 files changed, 23 insertions, 1 deletions
diff --git a/configs/console.conf.sample b/configs/console.conf.sample
index 820a04dd9..1631ac211 100644
--- a/configs/console.conf.sample
+++ b/configs/console.conf.sample
@@ -33,7 +33,7 @@
; 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
+;overridecontext = no ; if 'no', the last @ will start the context
; if 'yes' the whole string is an extension.
@@ -66,3 +66,25 @@
; 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.