aboutsummaryrefslogtreecommitdiffstats
path: root/asterisk.c
AgeCommit message (Collapse)AuthorFilesLines
2006-04-19support 'languageprefix' in asterisk.conf to modify the algorithmrizzo1-0/+4
to build pathnames for language-specific files (see file.c for a description) Default, of course, to the standard behaviour. We don't have an asterisk.conf.sample to put an example of use! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21451 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15Move a bit more stuff over to the datadir (issue #6967 reported by tzafrir ↵file1-1/+1
patch by north) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20358 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15We are shaking up trunk tonight! allow data dir to be specified (issue #6967 ↵file1-0/+4
reported by tzafrir) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20330 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14normalize cli completion coderizzo1-5/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20166 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14This rather large commit changes the way modules are loaded. rizzo1-1/+1
As partly documented in loader.c and include/asterisk/module.h, modules are now expected to return all of their methods and flags into a structure 'mod_data', and are normally loaded with RTLD_NOW | RTLD_LOCAL, so symbols are resolved immediately and conflicts should be less likely. Only in a small number of cases (res_*, typically) modules are loaded RTLD_GLOBAL, so they can export symbols. The core of the change is only the two files loader.c and include/asterisk/module.h, all the rest is simply adaptation of the existing modules to the new API, a rather mechanical (but believe me, time and finger-consuming!) process whose detail you can figure out by svn diff'ing any single module. Expect some minor compilation issue after this change, please report it on mantis http://bugs.digium.com/view.php?id=6968 so we collect all the feedback in one place. I am just sorry that this change missed SVN version number 20000! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-12whoops... remove an extra line.rizzo1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19545 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-12add 'show threads' and 'show profile' commands.rizzo1-0/+211
These are momstly debugging tools for developers, a bit documented in the header files (utils.h), although more documentation is definitely necessary. The performance impact is close to zero(*) so there is no need to compile it conditionally. (*) not completely true - thread destruction still needs to search a list _but_ this can be easily optimized if we end up with hundreds of active threads (in which case, though, the problem is clearly elsewhere). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19544 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11Merged revisions 19351 via svnmerge from tilghman1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19351 | tilghman | 2006-04-11 16:55:51 -0500 (Tue, 11 Apr 2006) | 2 lines Bug 6097 - possible descriptor leak ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19352 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-31Issue 5852 (casper) Code clean up, adding documentation on new switches. Thanks!oej1-132/+126
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16616 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30Merged revisions 16579 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r16579 | tilghman | 2006-03-30 16:46:06 -0600 (Thu, 30 Mar 2006) | 2 lines Bug 6849 - trivial typo fix ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16580 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30convert internal timing to be stored as a flag in the ast_options flagsrussell1-5/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16477 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30Issue #5374 - Enable internal timing of generators (cmantunes)oej1-1/+11
Thanks everyone involved for hard work, testing and testing! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16473 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28bring in the code that was discussed on Mantis #6068,rizzo1-0/+1
which is the basis for several simplifications and fixes to the CLI interfaces. The core is in cli.c, some documentation on a new function to help command completion is in cli.h, and one line of glue code in the other two files. Next step is to bring in the patches described in #6066 and other simplifications. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15817 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25Add micro-http server and abstract manager interface, make snmp not die markster1-1/+4
on reload. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14953 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25revert loader changes that have clearly not undergone adequate testing ↵kpfleming1-3/+3
before commit git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14952 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-14clarify which global options are enabled by defaultrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12897 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-02Merged revisions 11609 via svnmerge from tilghman1-5/+8
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r11609 | tilghman | 2006-03-02 16:26:30 -0600 (Thu, 02 Mar 2006) | 2 lines Bug 6637 - Fixes for Solaris ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11610 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-28Merged revisions 11408 via svnmerge from russell1-1/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r11408 | russell | 2006-02-28 14:31:10 -0500 (Tue, 28 Feb 2006) | 2 lines adjust the keys directory when astvarlibdir is specified in asterisk.conf (issue #6602) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11409 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14add 'systemname' option to prefix channel unique IDs with (issue #5825)kpfleming1-0/+3
convert chan->uniqueid to a stringfield from a fixed-size buffer git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10088 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14more memory allocation wrapper conversion (issue #6365)kpfleming1-20/+20
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10066 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14#ifdef the include too.bweschke1-1/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9963 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14 #ifdef'd the prctl fix to only try and compile on linux systems. Thanks ↵bweschke1-0/+2
rizzo for pointing this out, and credit to Armin for identifying a solution to the original problem. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9962 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14 Make sure that PR_SET_DUMPABLE is set to make certain that we still dump ↵bweschke1-0/+7
core if Asterisk has setuid'd to run as non-root git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9844 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24store the list of 'atexit' functions using linked list macros (issue #6329)russell1-24/+16
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8572 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-18constify arguments in more places where strings should not be modified ↵russell1-1/+1
(issue #6286) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8203 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17Merged revisions 8122 via svnmerge from kpfleming1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r8122 | kpfleming | 2006-01-17 07:11:55 -0600 (Tue, 17 Jan 2006) | 2 lines update CLI copyright notice ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8123 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-16check rlimit _after_ reading config file, so that if 'dumpcore' is specified ↵kpfleming1-4/+4
there it will take effect git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8114 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-16 Spelling corrections (mostly in comments and doxygen areas) #6249 bweschke1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8100 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-13adding more output for shutdown. as per 6102mogorman1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8050 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12More changes to make t.38 support workmattf1-0/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8015 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-10Bug 5961 - new RAND() functiontilghman1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7920 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-08you need to setgid in addition to initgroups...markster1-1/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7869 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07oopsmarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7859 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07Only set group for "runuser" if "rungroup" is not specified.markster1-3/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7858 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07Initialize groups properlymarkster1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7857 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07Fix CLI breakagemarkster1-6/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7851 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-27when doing tab completion, iterate the list of matches to count how many thererussell1-5/+6
are instead of having the list of matches generated twice (issue #6066) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7655 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-26Merged revisions 7634 via svnmerge from russell1-6/+8
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r7634 | russell | 2005-12-26 13:19:12 -0500 (Mon, 26 Dec 2005) | 2 lines cast time_t to an int in printf/scanf (issue #5635) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7635 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-23Merged revisions 7606 via svnmerge from kpfleming1-4/+84
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r7606 | kpfleming | 2005-12-22 21:01:24 -0600 (Thu, 22 Dec 2005) | 3 lines add license reference to copyright notice displayed when CLI session begins add 'show warranty' and 'show license' CLI commands (still need a complete list of non-GPL components included in Asterisk) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7607 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-21- change the default value of the global priority jumping option to 'off'russell1-1/+1
- update the UPGRADE.txt file to reflect this change - remove old information from UPGRADE.txt git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7568 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-04convert most of the option_*'s to a single ast_flags structure. Also, fix somerussell1-100/+81
formatting, remove some unnecessary casts, and other little code cleanups. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7331 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-14finish merging doxygen updates from issue #5605russell1-22/+36
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7096 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08issue #5569 minus lock.h changeskpfleming1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7024 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08whitespace fixkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7017 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08issue #5581kpfleming1-3/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7014 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08issue #5599kpfleming1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7007 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08issue #5621kpfleming1-0/+16
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7004 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-05stop recompiling cli.c on every 'make'kpfleming1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6963 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01issue #4678kpfleming1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6936 f38db490-d61c-443f-a65b-d21fe96a405b