aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2008-05-05Merge changes from team/russell/iax2_find_callno_1.2russell1-1/+1
These changes address a critical performance issue introduced in the latest release. The fix for the latest security issue included a change that made Asterisk randomly choose call numbers to make them more difficult to guess by attackers. However, due to some inefficient (this is by far, an understatement) code, when Asterisk chose high call numbers, chan_iax2 became unusable after just a small number of calls. On a small embedded platform, it would not be able to handle a single call. On my Intel Core 2 Duo @ 2.33 GHz, I couldn't run more than about 16 IAX2 channels. Ouch. These changes address some performance issues of the find_callno() function that have bothered me for a very long time. On every incoming media frame, it iterated through every possible call number trying to find a matching active call. This involved a mutex lock and unlock for each call number checked. So, if the random call number chosen was 20000, then every media frame would cause 20000 locks and unlocks. Previously, this problem was not as obvious since Asterisk always chose the lowest call number it could. A second container for IAX2 pvt structs has been added. It is an astobj2 hash table. When we know the remote side's call number, the pvt goes into the hash table with a hash value of the remote side's call number. Then, lookups for incoming media frames are a very fast hash lookup instead of an absolutely insane array traversal. In a quick test, I was able to get more than 3600% more IAX2 channels on my machine with these changes. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@115296 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-16install the LICENSE file along with the music fileskpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@75257 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-16move FreePlayMusic files into a subdirectory, and include a license ↵kpfleming1-1/+1
statement for them git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@75251 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-26Don't try to install an init script that doesn't exist.qwell1-1/+3
Reported to me on #asterisk on Freenode IRC. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@71847 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-11Issue 9121 - fixups for safe_asterisk scripttilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@63903 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-10Make the number that represents the major version number a single digit insteadrussell1-1/+1
of 2. Using two digits makes it an octal number when put into version.h, which breaks the compilation of any out of tree module that checks the version for any version after 1.2.7 (reported by Matteo Brancaleoni on the asterisk-dev mailing list, who gave credit to vihai for pointing it out) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@50227 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-11app_externalivr needs a real silence file, and additionalmogorman1-0/+9
changes to add silence files into core instead of extra patch provided by bug 8177 with minor additions. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48394 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-06added hours,minutes,seconds .gsm files to the install portion of the ↵murf1-1/+1
makefile, as per bug 7545 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@42150 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-29Bug 7388 - compatibility changes for Solaristilghman1-7/+18
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@36290 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30allow top-level OPTIMIZE setting to affect builds in these subdirectories tookpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@23673 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30let the compiler determine whether hardware or software floating point ↵kpfleming1-2/+2
should be used (like we do in the editline subdirectory) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@23638 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30remove extraneous -m64 flag that is not neededkpfleming1-1/+0
remove old 'look' target which is no longer needed (these are coming from Debian patches <G>) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@23636 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29do installation in subdirs as a separate target (so external modules can use ↵kpfleming1-24/+26
the Makefile more easily) generate final messages -after- running any post-install script that may be present git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@23305 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11don't create a 'voicemail' symlink in the sounds directory; app_voicemail ↵kpfleming1-2/+0
has not needed it since January of 2005 (issue #6613) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@19353 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-03Bug 6638 - Solaris is starting to remind me of RedHat...tilghman1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@11715 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-03Bug 6638 - Use POSIX command for Solaristilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@11635 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-02If debugging, the frame pointer is helpfultilghman1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@11607 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23Oops, this was broken in 1.2, too.tilghman1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@10952 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-02don't override ASTERISKVERSIONNUM to 000000 for non-svn buildskpfleming1-2/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@9086 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-05remove ASTERISKVERSIONNUM from the version string given to doxygenrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7340 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-01Makefile 'update' target now supports updating from Subversion repositories ↵kpfleming1-66/+10
(issue #5875) remove support for 'patches' subdirectory, it's no longer useful git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7266 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-30remove outdated redhat init script and provide the updated one in 'make rpm' ↵russell1-1/+1
(issue #5786) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7244 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-28port version string computation from trunkkpfleming1-9/+13
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7208 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-21revert previous change for Darwinrussell1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-2@7174 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-21don't hardcode poll.o for Darwinrussell1-2/+0
fix incorrect portion of yesterday's Solaris fixes git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-2@7169 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-21issue #5775russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-2@7165 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-21issue #5787russell1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-2@7163 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-18fix the output of Makefile generated variables to doxygenrussell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-2@7133 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-16Issue # 5757twisted1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7120 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-16small debugging information changekpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7111 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-14finish merging doxygen updates from issue #5605russell1-1/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7096 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08issue #5572kpfleming1-6/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7018 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08issue #5634 and a little ChangeLog cleanupkpfleming1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7003 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08issue #5633kpfleming1-17/+37
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7002 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-07dont-optimize was broken...kpfleming1-5/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6994 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-05stop recompiling cli.c on every 'make'kpfleming1-38/+32
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6963 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01issue #4678kpfleming1-3/+18
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6936 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-25there is a variable defined for 'install', might as well use it ...russell1-26/+26
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6848 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-16Make crypto loading optionalmarkster1-1/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6797 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-14add "hello-world" prompt, courtesy of Jared Smith :)russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6782 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-08fix a typo, oops!russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6737 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-30support a 'post install' script for local modifications after installationkpfleming1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6700 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-29allow some more paths to be overridden on the command line (issue #5292)kpfleming1-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6691 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-29install 'rasterisk' symlink and update process name when used remotely ↵kpfleming1-0/+1
(issue #5318 with minor mod) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6688 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-26use a more generic means to decide whether we need to provide poll/dlfcn ↵kpfleming1-1/+10
functionality (issue #5297) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6664 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-26fix minor build problem on *BSD (issue #5290)kpfleming1-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6658 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-25support new version of OSP toolkit (issue #5168)kpfleming1-2/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6653 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-19don't remove the ast_expr .c files when building testexpr2 since they arerussell1-1/+1
now directly included in the tree git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6626 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15don't distribute compressed man pages,let the installer do itkpfleming1-4/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6608 f38db490-d61c-443f-a65b-d21fe96a405b