Commit Graph

194 Commits

Author SHA1 Message Date
Kevin P. Fleming d56ce5d1f3 whitespace fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 03:24:31 +00:00
Kevin P. Fleming 9061716644 issue #5581
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7014 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 02:19:53 +00:00
Kevin P. Fleming 81bda951d2 issue #5599
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7007 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 01:29:14 +00:00
Kevin P. Fleming 6f4fabf043 issue #5621
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 00:30:29 +00:00
Kevin P. Fleming da0d0f975a stop recompiling cli.c on every 'make'
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6963 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-05 18:58:27 +00:00
Kevin P. Fleming 7ffb604a2f issue #4678
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 21:53:30 +00:00
Kevin P. Fleming 03ceef35ac optionally send silence during recording (issue #5135)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 17:22:25 +00:00
Kevin P. Fleming c3f9388b23 provide an alternate getloadavg implementation and a fallback for systems that don't have it at all (issue #5549 with minor mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 21:25:21 +00:00
Russell Bryant a736096e0b change ast_strlen_zero to also check for the string to be defined
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 18:54:24 +00:00
Mark Spencer 0b36348b12 Allow limitation by loadavg not just calls (should be BSD friendly)...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 03:58:32 +00:00
Russell Bryant 3453e3efa5 Doxygen documentation update from oej (issue #5505)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24 20:12:06 +00:00
Kevin P. Fleming 61a0f7a65e install 'rasterisk' symlink and update process name when used remotely (issue #5318 with minor mod)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-29 02:38:24 +00:00
Mark Spencer fcc0b23e18 Fix restart in Mac OSX (bug #5251)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6643 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-25 16:52:04 +00:00
Kevin P. Fleming b68657fcec ensure that ast_safe_system() is thread-safe (issue #4947)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 22:40:54 +00:00
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 20:46:50 +00:00
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