Commit Graph

12 Commits

Author SHA1 Message Date
Olle Johansson 8f19d8523b Remove compiler warning for uninitialized variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-21 21:11:58 +00:00
Russell Bryant 3a95a07e69 Add a "console active" CLI command, which lets you find out which console device
is currently active for the Asterisk CLI, or to set it.  Also, knock multiple device
support off of the to-do list.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99248 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-20 07:28:23 +00:00
Russell Bryant f20450ea03 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
2008-01-20 06:11:49 +00:00
Russell Bryant 89778a05c1 Make the output of "console list devices" a bit prettier.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-17 23:28:16 +00:00
Russell Bryant 30de4fc350 List which devices are inputs and outputs in "console list devices"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-17 23:21:30 +00:00
Olle Johansson 2905e69622 Change reference to external library so it appears on the extref listing
http://www.asterisk.org/doxygen/trunk/extref.html



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-08 21:01:46 +00:00
Russell Bryant f5580269e1 Add the URL to the home page for portaudio. Also add the location of the
svn repository to check out portaudio v19.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-05 21:25:45 +00:00
Russell Bryant fa39abb50b Add support for generating a ringing sound on an incoming call. This is a bit
of a hack.  It just asks the core to generate the same tone that it would when
you hear ringback when making an outbound call.  But hey, it works, and you get
the localized ring tone for the appropriate language set on the channel.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-02 23:22:25 +00:00
Russell Bryant b8caf43b3a Note that this module doesn't actually play a ringing sound for an incoming call
... oops


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96077 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-02 22:52:13 +00:00
Russell Bryant d6c016a5aa Show the correct CLI command to answer the call
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-02 22:50:09 +00:00
Russell Bryant 067fcc2a03 Update chan_console to natively use a 16 kHz sample rate. If it is talking
to an 8 kHz endpoint, then codec_resample will automatically be used to properly
resample the audio before sending it to/from chan_console.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-31 21:33:45 +00:00
Russell Bryant 4e99cc88e2 Merge the main set of changes from team/russell/chan_console.
Add a new console channel driver, chan_console, which is a console channel
driver that uses portaudio as a cross platform audio interface.  It was written
to provide a console channel driver that works with Mac CoreAudio, but it
supports a number of other audio interfaces, as well, including OSS and ALSA.
It could one day be the single console channel driver, but does not yet have
as many features as chan_oss.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95412 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-31 16:13:26 +00:00