aboutsummaryrefslogtreecommitdiffstats
path: root/main/audiohook.c
AgeCommit message (Collapse)AuthorFilesLines
2008-01-13Remove a duplicate lock of the audiohook lock when destroying manipulaterussell1-1/+0
audiohooks. This causes an error when we attempt to destroy the lock later when freeing the audiohook. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98581 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-11I am no longer Rockin'file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98432 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-11Testing something...file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98424 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-30Adding support for the "automixmonitor" dial and queue options.mmichelson1-0/+80
This works in much the same way as the automonitor, except that instead of using the monitor app, it uses the mixmonitor app. By providing an 'x' or 'X' as a dial or queue option, a DTMF sequence may be entered (as defined in features.conf) to start the one-touch mixmonitor. This patch also introduces some new API calls to the audiohooks code for searching for an audiohook by type and for searching for a running audiohook by type. Big thanks to joetester for writing the initial patch, testing it and patiently waiting for it to be committed. (closes issue #10185, reported and patched by xmarksthespot) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@90388 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-21remove a bunch of useless #include "options.h"rizzo1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89511 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-19another bunch of include removals (errno.h and asterisk/logger.h)rizzo1-2/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89425 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-16Start untangling header inclusion in a way that does not affectrizzo1-4/+0
build times - tested, there is no measureable difference before and after this commit. In this change: use asterisk/compat.h to include a small set of system headers: inttypes.h, unistd.h, stddef.h, stddint.h, sys/types.h, stdarg.h, stdlib.h, alloca.h, stdio.h Where available, the inclusion is conditional on HAVE_FOO_H as determined by autoconf. Normally, source files should not include any of the above system headers, and instead use either "asterisk.h" or "asterisk/compat.h" which does it better. For the time being I have left alone second-level directories (main/db1-ast, etc.). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89333 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-08use %d and cast to int instead of %zd for size_t object,rizzo1-2/+2
this helps portability. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89109 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-08improve linked-list macros in two ways:kpfleming1-14/+8
- the *_CURRENT macros no longer need the list head pointer argument - add AST_LIST_MOVE_CURRENT to encapsulate the remove/add operation when moving entries between lists git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89106 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-06Fix memory issue that crept up with Russell's testing. It is *not* proper to ↵file1-2/+0
free the frame we get in ast_write. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81858 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-05Doxygen cleanups/fixes.qwell1-0/+2
Closes issue #10654, patch by snuffy git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81560 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-21Minor tweak. Don't manipulate volume of the audio in the buffer if no audio ↵file1-20/+22
is actually there. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80157 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-08Merge audiohooks branch into trunk. This is a new API for developers to ↵file1-0/+625
listen and manipulate the audio going through a channel. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@78649 f38db490-d61c-443f-a65b-d21fe96a405b