aboutsummaryrefslogtreecommitdiffstats
path: root/configs/console.conf.sample
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-20 06:11:49 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-20 06:11:49 +0000
commitab90c4289d113bec4695dae5d2ebd9d85a8368c7 (patch)
tree5d49ace9d95f2fb3e89e46413864cda3d632f954 /configs/console.conf.sample
parent90e52e039167e0bb679ca9d066e0f2be29094e04 (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: http://svn.digium.com/svn/asterisk/trunk@99227 f38db490-d61c-443f-a65b-d21fe96a405b
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.