dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

50 Commits

Author SHA1 Message Date
tilghman 198829f2db Create a centralized configuration option for silencethreshold
(closes issue #11236)
 Reported by: philipps
 Patches: 
       20080218__bug11236.diff.txt uploaded by Corydon76 (license 14)
 Tested by: philipps


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@106072 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-05 16:23:44 +00:00
mmichelson 8ceb053cff Get rid of any remaining ast_verbose calls in the code in favor of
ast_verb

(closes issue #11934)
Reported by: mvanbaak
Patches:
      20080205_astverb-2.diff.txt uploaded by mvanbaak (license 7)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102525 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-05 23:00:15 +00:00
oej 0c22830419 Merged revisions 99594 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99594 | oej | 2008-01-22 18:41:57 +0100 (Tis, 22 Jan 2008) | 3 lines

Add more dependencies on chan_local and add a note to the description of chan_local
so that people don't disable it in menuselect just to clean up.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99596 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 17:46:43 +00:00
file 49d571c3e9 Merged revisions 98219 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r98219 | file | 2008-01-11 13:22:53 -0400 (Fri, 11 Jan 2008) | 4 lines

Ensure the return value of ast_bridge_call is passed back up as the application return value. This is needed for transfers to function so the PBX core knows to continue execution.
(closes issue #10327)
Reported by: kkiely

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98220 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-11 17:27:58 +00:00
rizzo 150b2c22ef remove another set of redundant #include "asterisk/options.h"
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89512 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-21 23:24:55 +00:00
rizzo 89d8d78652 move asterisk/paths.h outside asterisk.h and into those files
who really need it.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89466 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-20 23:16:15 +00:00
rizzo 9cf442d7f7 include "logger.h" and errno.h from asterisk.h - usage shows that they
were included almost everywhere.
Remove some of the instances.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89424 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-19 18:52:04 +00:00
rizzo 883346d64a Start untangling header inclusion in a way that does not affect
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-16 20:04:58 +00:00
kpfleming a45a413db3 improve linked-list macros in two ways:
- 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-11-08 05:28:47 +00:00
mmichelson 92ac6820ee "show application <foo>" changes for clarity.
(closes issue #11171, reported and patched by blitzrage)

Many thanks!



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89044 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06 19:04:45 +00:00
qwell ba1bb98353 Merged revisions 81455 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #10634)
........
r81455 | qwell | 2007-09-04 15:54:51 -0500 (Tue, 04 Sep 2007) | 4 lines

Rather than attempt to play a file, we can just check whether it exists.

Issue 10634, patch by me, testing by pabelanger, sanity checked by bweschke

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81456 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-04 20:59:04 +00:00
tilghman dbec3d56c1 Don't reload a configuration file if nothing has changed.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79747 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-16 21:09:46 +00:00
tilghman 356721a45c Mostly cleanup of documentation to substitute the pipe with the comma, but a few other formatting cleanups, too.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77808 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-31 01:10:47 +00:00
file a4d755219b Minor clean up of app_followme.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77773 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-30 16:02:01 +00:00
russell 4f3c4dc7f2 Do a massive conversion for using the ast_verb() macro
(closes issue #10277, patches by mvanbaak)

Basically, this changes ...

if (option_verbose > 2)
   ast_verbose(VERBOSE_PREFIX_3, "Something\n");

to ...

ast_verb(3, "Something\n");


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77299 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26 15:49:18 +00:00
file d17ff1ea42 Applications no longer need to call ast_module_user_add and ast_module_user_remove. This is now taken care of in the pbx_exec function outside of the application.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@75200 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-16 14:39:29 +00:00
file 9e24ed5ccf It is no longer required for each module that deals with a channel to call ast_module_user_hangup_all in it's unload function. The loader will automatically perform this action for it.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@75183 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-16 13:35:20 +00:00
russell f042431847 Add a massive set of changes for converting to use the ast_debug() macro.
(issue #9957, patches from mvanbaak, caio1982, critch, and dimas)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69327 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-14 19:39:12 +00:00
tilghman eb5d461ed4 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67864 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-06 21:20:11 +00:00
bweschke 38ed4a9639 Merged revisions 65408 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65408 | bweschke | 2007-05-22 10:02:56 -0400 (Tue, 22 May 2007) | 3 lines

 Fix a problem with flag recognition. 


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@65455 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-22 15:25:28 +00:00
bweschke 30a721171a Merged revisions 59035 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59035 | bweschke | 2007-03-18 12:36:44 -0400 (Sun, 18 Mar 2007) | 3 lines

 Don't return a non-zero return code if the profile doesn't exist, to match what the documentation says it already does. (#9307 Reported by kkiely)


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@59036 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-18 16:59:48 +00:00
murf 9ed9bbabf4 This update fulfils the request of bug 7109, which claimed the language arg to ast_stream_and_wait() was redundant. Almost all calls just used chan->language, and seeing how chan is the first argument, this certainly seems redundant. A change of language could just as easily be done by simply changing the channel language before calling.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47821 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-17 23:18:51 +00:00
file 3a27d3bc70 Merged revisions 43933 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r43933 | file | 2006-09-28 14:05:43 -0400 (Thu, 28 Sep 2006) | 2 lines

Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43934 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-28 18:09:01 +00:00
tilghman e6c97b2462 A few misses from constification
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43366 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 20:57:57 +00:00
qwell 24e99a65a4 Fix a small typo, to make app_followme.c show properly in "show version files"
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42170 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-06 21:37:12 +00:00
oej b4bca518db - Free allocated memory before returning from function
- Fix bad formatting
- Add some comments (more needed to understand what's going on)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42058 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-05 20:36:27 +00:00
mogorman 73925ee14a everything that loads a config that needs a config file to run
now reports AST_MODULE_LOAD_DECLINE when loading if config file
is not there, also fixed an error in res_config_pgsql where it 
had a non static function when it should.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41633 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 21:00:20 +00:00
kpfleming 8b0c007ad9 merge new_loader_completion branch, including (at least):
- restructured build tree and makefiles to eliminate recursion problems
  - support for embedded modules
  - support for static builds
  - simpler cross-compilation support
  - simpler module/loader interface (no exported symbols)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 02:11:39 +00:00
kpfleming 113c851d07 remove some extraneous 'followme' in prompt names
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39206 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-07 18:47:33 +00:00
kpfleming 6049bb6539 merge Russell's 'hold_handling' branch, finally implementing music-on-hold handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-19 20:44:39 +00:00
kpfleming 0f9cabe4d5 there is no reason to define our own 'maximum path length' when the POSIX headers already define one for us
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33351 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-09 20:40:10 +00:00
oej 80b293ae3d Doxygen update
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32990 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-08 08:10:58 +00:00
russell 67374dd929 fix a typo in an option name in config parsing
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32884 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 20:08:29 +00:00
russell 2945cbf4cc simplify the loop that iterates through the categories in followme.conf and
don't try to read the general section as a followme profile


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32878 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 20:02:07 +00:00
russell 15010e696f fix an incorrect usage of scanf, where it should be using sscanf, instead,
which was causing asterisk to hang when loading this module
(reported by blitzrage on IRC)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32867 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 19:42:37 +00:00
kpfleming 73c525e6e2 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 18:54:56 +00:00
russell 0569e548d9 oops.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32720 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 21:03:18 +00:00
russell b76bb3c057 move a variable declaration to the beginning of a block
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32703 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 20:55:17 +00:00
russell d74a113b77 use sizeof to determine the size of a buffer
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32702 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 20:47:46 +00:00
russell 140fa02b1c use sizeof to get the size of a buffer
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32701 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 20:45:26 +00:00
bweschke 409c0a25a4 More updates.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32700 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 20:44:50 +00:00
russell bb7727aa15 make a global list head static
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32699 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 20:44:10 +00:00
bweschke c4fde238e9 More cleanup.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32698 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 20:39:11 +00:00
russell adc473540d move a declaration to the beginning of a block
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32697 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 20:37:51 +00:00
bweschke fb5889cdc4 Don't leak memory.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32696 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 20:34:00 +00:00
russell e85baffa29 allocate an int on the stack instead of with ast_calloc
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32695 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 20:18:01 +00:00
bweschke d9d020c1c9 All better now!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32694 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 20:04:52 +00:00
bweschke f2c0167113 If the recorded file is found, don't actually start to play it.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32633 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 17:15:16 +00:00
kpfleming 10872f0f2e fix some compiler warnings about variables used before initialization
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32604 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 16:54:52 +00:00
bweschke e99c73ad6c Introducing app_followme into /trunk!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32499 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 07:29:57 +00:00