Commit graph

179 commits

Author SHA1 Message Date
Kevin P. Fleming
dd88d578fd eliminate the urgent handler message, since it can causing blocking in the stdio library (issue #5087)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-01 22:03:10 +00:00
Kevin P. Fleming
050d6c7d34 ensure revents fields are initialized before calling poll()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-31 22:12:23 +00:00
Kevin P. Fleming
8b1077669e don't try to change run priority, EUID or EGID on restart if they were already set (issue #4734 with minor mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-23 01:37:26 +00:00
Kevin P. Fleming
2cde73fddb make sure realtime/high scheduling priority is relinquished before executing an AGI script (issue #4930)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6368 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-23 01:30:22 +00:00
Kevin P. Fleming
6755f0b642 make SIGURG handler message more obvious (issue #4878)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-22 23:06:14 +00:00
Kevin P. Fleming
971091a17c add count of files used to build Asterisk/modules (issue #4992 with text mod)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-22 18:45:41 +00:00
Mark Spencer
6f07e6cc4f Reorder dnsmgr to before other modules (bug #4927)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-14 23:47:40 +00:00
Kevin P. Fleming
5cc0413c54 add a global option to disable priority jumping in applications (when they get updated), settable in extensions.conf
change app_dial to use 'j' to _ENABLE_ priority jumping if it has been globally disabled


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-26 16:29:56 +00:00
Kevin P. Fleming
f6c059d451 process asterisk.conf in a single pass, instead of twice (bug #4689)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 23:09:13 +00:00
Kevin P. Fleming
ae95c5d7e1 allow longer file version strings (bug #4765)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6210 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 22:19:13 +00:00
Kevin P. Fleming
22b0f5d306 add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 23:00:47 +00:00
Kevin P. Fleming
11486c084a re-enable SIGHUP and SIGCHLD after they fire on platforms that require it (bug #4720)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6144 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 22:12:55 +00:00
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