From f20450ea032335b9d1e078062887434e0caee6a8 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Sun, 20 Jan 2008 06:11:49 +0000 Subject: 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 --- configs/console.conf.sample | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'configs/console.conf.sample') 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. -- cgit v1.2.3