Commit graph

167 commits

Author SHA1 Message Date
Kevin P. Fleming
c13d601fb4 queue device state changes and handle them serially in a background thread
optimize device state related functions
add ast_get_channel_by_name_prefix to allow searching for matching channels in O(1) operation


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08 21:14:34 +00:00
Kevin P. Fleming
054317fb13 add support for 'early loading' modules, so that nearly all configuration files can be read from Realtime storage
add warning for when file mapping is found but the engine is not available
add warning for trying to map 'logger.conf', since it cannot be reliably mapped


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 22:11:43 +00:00
Kevin P. Fleming
01251090f0 fix version-string builds for non-gcc compilers
don't build version-string stuff for LOW_MEMORY builds


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5873 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-07 16:07:06 +00:00
Kevin P. Fleming
c0b1e88e8a the last round of file version tags
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:39:32 +00:00
Kevin P. Fleming
2b8338cb52 more file version tags
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:12:19 +00:00
Kevin P. Fleming
005e436b57 another round of version tag updates, along with 'show version files' pattern filtering
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 21:09:59 +00:00
Kevin P. Fleming
0e6762dd5f remove experimental module version tags
add per-file revision tags and 'show version files' CLI command


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 20:27:51 +00:00
Kevin P. Fleming
4f299de252 major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 03:04:58 +00:00
Kevin P. Fleming
723d6b5be8 more ast_copy_string() conversion
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-05 16:32:16 +00:00
Kevin P. Fleming
f09bd8a677 remove deprecated 'quit' and 'exit' commands from console (but not remote connections)
clean up core CLI command registration to use ast_cli_register_multiple()


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5828 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03 03:04:08 +00:00
Kevin P. Fleming
4e8d2f60b1 don't call poll() with an unitialized structure (bug #4387)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5826 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03 02:41:59 +00:00
Kevin P. Fleming
23472dd2c0 support configurable batch posting of CDRs (off by default) (bug #3883)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03 01:42:31 +00:00
Russell Bryant
3c98814bb5 add 'dontwarn' option to asterisk.conf to appease the whining masses :p (bug #4320)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5723 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 01:57:19 +00:00
Mark Spencer
38b7f7b4a4 Add optional call limit
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-18 01:49:13 +00:00
Kevin P. Fleming
6cd4f9a8d3 correct some signed/unsigned issues found by GCC 4 (bug #4237)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 03:21:51 +00:00
Mark Spencer
00bcbaaa05 Fix gethostname calls (bug #4198, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 16:44:25 +00:00
Kevin P. Fleming
9b1eb11a3a fix *BSD breakage from include-order changes (bug #4067)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 17:24:58 +00:00
Kevin P. Fleming
199add9567 phase 1 of header include cleanup (bug #4067)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22 13:11:34 +00:00
Kevin P. Fleming
1f9ab2380a use double-quotes instead of angle-brackets for non-system include files (bug #4058)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:02:45 +00:00
Kevin P. Fleming
b052fe894b ensure that the random number generator(s) are always seeded with a different value during Asterisk startup
don't reinitialize random number generators in other modules
(bug #4017)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13 04:47:39 +00:00
Kevin P. Fleming
d254db31c8 *** empty log message ***
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-06 21:12:32 +00:00
Kevin P. Fleming
e7bbe31f8f optimize codec selection and format changing code
force all transcode paths to use AST_FORMAT_SLINEAR as the frames pass through the bridge (can be disabled using the 'transcode_via_sln' setting in th 'options' setting in asteris.conf)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5376 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-04 03:28:38 +00:00
Kevin P. Fleming
3c7c893e6e ensure that needed headers are included for chmod() and mkdir() (bug #3937)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-03 20:25:43 +00:00
Mark Spencer
c72d7a5c2c Fix order of priority reading / file reading (bug #3860)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-26 07:16:18 +00:00
Mark Spencer
26c7a07735 Add timestamping to console (bug #3653 with minor mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-11 07:24:10 +00:00
Mark Spencer
c6cb8f9239 Allow debug to be enabled on a per-file basis...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-05 04:04:55 +00:00
Mark Spencer
d44286366b Flagify hold (bug #3456)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-11 21:16:34 +00:00
Mark Spencer
07af9aa8f0 Fix minor typo (bug #3534)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-09 21:17:34 +00:00
Mark Spencer
aeaa181d74 Allow debug level to be more than just binary (bug #3524)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-09 00:13:52 +00:00
Mark Spencer
b4f05e2c98 Merge #exec functionality (must be explicitly enabled!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-02 03:38:24 +00:00
Mark Spencer
5f726ad8c7 Merge config updates (bug #3406)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-25 06:10:20 +00:00
Russell Bryant
0c30452423 update copyright headers for 2005
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-21 07:06:25 +00:00
Mark Spencer
c732690384 Keep dead console from killing asterisk (bu #3331)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-15 08:53:28 +00:00
Mark Spencer
ce2e6b28e8 Merge OEJ's channel type listing (bug #3187) with slight modifications
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-31 00:04:41 +00:00
Mark Spencer
f19f4411e1 Fix additional typos (bug #3162)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-29 07:46:10 +00:00
Mark Spencer
aa01269484 Fix small typos (bug #3162)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-28 07:51:25 +00:00
Mark Spencer
9d40b8ee80 Merge slimey's Solaris compatibility (with small mods) (bug #2740)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-14 23:36:30 +00:00
Mark Spencer
9690c20710 Work around silly macos (bug #2833)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-11 14:43:18 +00:00
Mark Spencer
134e6180c5 Disable echo canceller for digital calls (bug #2785), fix build on MacOSX (bug #2803)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4170 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-07 16:21:01 +00:00
Mark Spencer
2b6344872f Console fix (bug #2764) and logger fix...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4136 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-01 01:48:35 +00:00
Mark Spencer
ebb18daf22 Major changes to res_config to support centralized config, eliminate configuration of res_config_odbc, update config examples, integrate with iax2, remove mysql friends from iax2, put on flame retardant vest...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3914 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-05 06:46:11 +00:00
James Golovich
9b926b1d64 Fix some formatting in asterisk.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-01 18:35:35 +00:00
Mark Spencer
89da44223d Fix threads in FreeBSD (bug #2478)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-28 17:11:30 +00:00
Mark Spencer
d8aff59a9e Add set debug option, make output for set verbose better (bug #2428)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3771 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-13 18:19:15 +00:00
James Golovich
5adfdcba1e Change recent patch to not use a hard coded path inside of a .c file
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3743 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-07 15:02:53 +00:00
James Golovich
54e81f5ca0 Formatting cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-07 14:36:56 +00:00
Mark Spencer
24e902d2a4 Merge anthm's "-t" flag (with minor mods) (bug #2380)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3735 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-07 01:49:08 +00:00
Mark Spencer
fd7577eed2 Don't try to look offhook with channel banks & Loopstart (bug #2362), also make individual modules reloadable...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-02 20:45:24 +00:00
Mark Spencer
2a108b9b06 Merge NetBSD and Courtesty tone with modifications (bug #2329)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-31 13:32:11 +00:00
Mark Spencer
616780b64e Warn if unable to open an overridden config file (but #2285)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-28 17:12:01 +00:00