summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-12-18Merged revisions 93625 via svnmerge from Mark Michelson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r93625 | mmichelson | 2007-12-18 11:02:48 -0600 (Tue, 18 Dec 2007) | 6 lines Rework deadlock avoidance used in ast_write, since it meant that agent channels which were being monitored had one audio file recorded and one empty audio file saved. (closes issue #11529, reported by atis patched by me) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93626 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-18make configuration variable const so they are not accidentallyLuigi Rizzo
modified. This requires casting the strings in asterisk.c when writing to them, so we do it through a macro to do it consistently. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-18remove unnecessary (char *) casts for ast_config_AST_* variables.Luigi Rizzo
There are some left in the .flex files, left to the maintainer... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-18Rename the macros in defaults.h - they are not meant to beLuigi Rizzo
globally visible. Document the fact that DEFAULT_TMP_DIR cannot be overridden from the default configuration (this needs to be fixed, as you could have a totally different spooldir configured at runtime, and yet DEFAULT_TMP_DIR keeps the compile-time default). Remove two unused entries for sounds and images. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-18make the code match documentation - now you can specify multipleLuigi Rizzo
words in MODULE_PREFIX. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-18Name the people responsible for some recent contributions to the tree.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-18Two small changes:Luigi Rizzo
+ document the difference between "A=foo make ..." and "make A=foo ..." and suggest using COPTS/LDOPTS if you need to use the second form to pass compiler and loader flags; + define only in one place the environment used to build stuff in menuselect/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-18A minor update, caused by a recent bug report ;-)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-18small documentation update (nothing important).Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-18You... will... build! I say so and therefore you will.Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-18minor cleanupsKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93493 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17fix building under cygwin.Luigi Rizzo
At this point WINARCH should go away. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17Blocked revisions 93420 via svnmergeJason Parker
........ r93420 | qwell | 2007-12-17 16:56:58 -0600 (Mon, 17 Dec 2007) | 1 line Missed a spot.. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17remove some unnecessary includesLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17Merged revisions 93381 via svnmerge from Jason Parker
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r93381 | qwell | 2007-12-17 16:45:57 -0600 (Mon, 17 Dec 2007) | 4 lines What was I thinking when I wrote this masterpiece? -1 + 1 = 0.. who woulda thunk it?. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93390 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17surprising as it may be, chan_oss compiles correctly under cygwin as well,Luigi Rizzo
provided you look for soundcard.h in the right place... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17Merged revisions 93377 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r93377 | file | 2007-12-17 18:28:09 -0400 (Mon, 17 Dec 2007) | 7 lines Do not try to access information about a lock when printing out a trylock attempt. It is possible for the lock that it references to no longer be valid. This would have caused segfaults or deadlocks. (issue #BE-263) (closes issue #11080) Reported by: callguy (closes issue #11100) Reported by: callguy ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17Merged revisions 93336 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r93336 | tilghman | 2007-12-17 15:12:42 -0600 (Mon, 17 Dec 2007) | 6 lines Today is tomorrow's yesterday, and yesterday's tomorrow is today, and tomorrow's tomorrow is the day after tomorrow, so who cares if you recycle anyway? If this confuses you, that's nothing compared to what this fixes. ;-) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17Merged revisions 93182 via svnmerge from Olle Johansson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r93182 | oej | 2007-12-17 08:15:13 +0100 (MÃ¥n, 17 Dec 2007) | 8 lines Issue 11574: Add dependencies on res_monitor and res_features. I wonder if Asterisk can run at all without res_features. My guess is that there's propably a lot of more modules and the core that depends on it. Reported by: caio1982 (closes issue #11574) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17Removing some leftover debug messages from a while back.Mark Michelson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17Merged revisions 93291 via svnmerge from Mark Michelson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r93291 | mmichelson | 2007-12-17 13:53:48 -0600 (Mon, 17 Dec 2007) | 6 lines We need to create the directory for a voicemail user even if they are using IMAP storage since greetings are stored in the filesystem. (closes issue #11388, reported by spditner, patch by me inspired by a patch by spditner) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17Merged revisions 93250 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r93250 | file | 2007-12-17 14:05:55 -0400 (Mon, 17 Dec 2007) | 6 lines If a call is received with a called number IE containing nothing go to the 's' extension. (closes issue #9099) Reported by: kb1_kanobe2 Patches: 20070906__9099.diff.txt uploaded by Corydon76 (license 14) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17all created files need to be listed in the ignore propertyKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17make the configure script detect that it is running on a Windows platform, ↵Kevin P. Fleming
and report that information so that menuselect can use it (all information that is used to decide whether to build modules or not must be fed to menuselect so the user knows what will be built and why... don't make module build decisions in the makefiles, please) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93211 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17make using PRINT_DIR a little easierKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93191 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17Fix usage of rtptimeout. It can be used without rtpkeepalive, and the value ↵Joshua Colp
can not be accessed directly in the SIP pvt structure. All RTP related timeouts have to be retrieved using the ast_rtp_* function calls. (closes issue #11562) Reported by: ibc git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17If no timezone is available use the default message.Joshua Colp
(closes issue #11576) Reported by: junky git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93188 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17Make chan_unistim actually be able to unload. When creating a thread that ↵Joshua Colp
you want to pthread_join you have to explicitly create it as joinable, and also if using pthread_cancel you have to have a pthread_testcancel to see if it has been called. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17Blocked revisions 93183 via svnmergeKevin P. Fleming
........ r93183 | kpfleming | 2007-12-16 23:21:08 -0800 (Sun, 16 Dec 2007) | 2 lines fix some copy-and-paste leftovers ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93185 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17Merged revisions 93180 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r93180 | kpfleming | 2007-12-16 22:44:51 -0800 (Sun, 16 Dec 2007) | 23 lines In http://lists.digium.com/pipermail/asterisk-dev/2007-December/031145.html, rizzo brought up some issues related to the way that the metadata required for menuselect and the rest of the build system is extracted from the source files. Since I had a few hours to kill on an airplane today, I decided to improve this situation... so now the system caches the extracted metadata and uses it to build the menuselect 'tree' as much as it can. The result of this is that when a single source file is changed, only the metadata for that file needs to be extracted again, and the rest is used from the cache files. I also reduced the number of forked processes required to do the metadata extraction; it was actually possible to do most of what we needed in the Makefiles themselves without using any shell scripts at all! On my laptop, these changes resulted in an 80% decrease in the time required for the 'menuselect.makeopts' automatic check to occur after editing a single source file. While doing this work I also cleaned up a few minor things in the Makefiles, adding a check for 'awk' to the configure script and changed all remaining places we use 'grep' or 'awk' to use the ones found by the configure script, and changed the 'prep_tarball' script to build the menuselect metadata so that tarballs of Asterisk will include it and won't require the user to wait while it is extracted after unpacking. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93184 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-16menuselect.makeopts is not a .PHONY targetLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93173 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-16Convert from LOG_DEBUG etc to ast_debug. Thanks, dimas!Olle Johansson
(closes issue #11572) Reported by: dimas Patches: dundilog-trunk.patch uploaded by dimas (license 88) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-16Adding a new CLI command for "manager reload", which is important now thatOlle Johansson
you need to reload after changes. Thanks YS. Reported by: ys Patches: trunk93163_manager_reload.c.diff uploaded by ys (license 281) (related to issue #11414) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-16Change manager so that registered accounts are stored in memory. This opens ↵Olle Johansson
for a manager realtime implementation. If you change accounts in manager.conf, you now need to reload to activate the changes (deletions, additions). This was not the case with 1.4. Reported by: ys Patches: trunk93163_manager_reload.c.diff uploaded by ys (license 281) (closes issue #11414) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-16Adding console_video to CHANGES. It's important that we keep this file up to ↵Olle Johansson
date, even with experimental stuff. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93164 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-16HUGE improvements to QoS/CoS handling by IgorGOlle Johansson
- Refer to the proper documentation - Implement separate signalling/media QoS/CoS in many channels using RTP - Improve warnings and verbose messages - Deprecate some old settings Minor modifications by me, a big effort from IgorG. Thanks! Reported by: IgorG Patches: qoscleanup-89394-4-trunk.patch uploaded by IgorG (license 20) Tested by: IgorG (closes issue #11145) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-16use a simpler idiom for 'cmp -s ...'Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93162 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-16Don't drop the first character randomly in long listings in the CLI.Olle Johansson
Reported by: slavon Patches: asterisk-consolerefresh2.diff.txt uploaded by jamesgolovich (license 176) Tested by: eliel (closes issue #9325) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-16Update documentationOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-16Make more timers settable in SIP so that we can force timeout earlier on ↵Olle Johansson
non-responsive SIP servers. Thanks, jcmoore, for the patch! Reported by: jcmoore Patches: peer_t1_timerb_trunk_v3.patch.txt uploaded by jcmoore (license 9) (closes issue #9771) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-15Typo fixed earlier, that wasn't a typo after all.Olle Johansson
Didn't a clever guy once say "Compile before you commit" ? :-) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-15 fix a typo from revision 93138Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-15configuration options related to video support.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93145 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-15Bring in video console support for chan_oss (and later chan_alsa too).Luigi Rizzo
This is disabled in the default build, you need to explicitly enable it compiling with make COPTS=-DHAVE_VIDEO_CONSOLE In return, you will be able to do a video call with chan_oss, using the webcam (or X11 grabbing) as local source, and rendering the incoming stream on your screen. Currently supported formats are h261, h263, h263+, h264, mpeg4 (all through the avcodec lib, part of ffmpeg). Incoming video is on the left, outgoing video is on the right, while the center displays a keypad (if configured so). Right clicking on the video windows increases the size, center clicking reduces the size. Dragging the mouse (with the left key) on the right window while the X11 grabber is active moves the grab area. This is the result of work by Sergio Fadda, Marta Carbone and myself, all properly disclaimed to digium. Note, there is a lot of work left to do in this module, including adding support for Video4LinuxV2 (I have patches from Matteo Brancaleoni which should be integrated), and making the GUI a lot more friendly than it is now (e.g. supporting merging or switching among multiple sources, a text window, and more). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93144 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-15remove some redundant headersLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-14include mmap header if detected by configureLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-14Resolve a compiler warningMark Michelson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-14Change places where the name "INBOX" was hardcoded to use the imapfolderMark Michelson
setting from voicemail.conf instead. This commit will help to get issue #11415 moving towards commitment. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-14Solaris compat fixesTilghman Lesher
Reported by: snuffy Patch by: snuffy,tilghman (Closes issue #11315) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-14make something staticRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93067 65c4cc65-6c06-0410-ace0-fbb531ad65f3