Luigi Rizzo
f841fe7d11
whoops... remove an extra line.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-12 20:42:02 +00:00
Luigi Rizzo
2876a25505
add 'show threads' and 'show profile' commands.
...
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: https://origsvn.digium.com/svn/asterisk/trunk@19544 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-12 20:40:46 +00:00
Tilghman Lesher
2374e4c77a
Merged revisions 19351 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@19352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 21:58:44 +00:00
Olle Johansson
d80f3bc20e
Issue 5852 (casper) Code clean up, adding documentation on new switches. Thanks!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16616 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31 00:33:28 +00:00
Tilghman Lesher
24bc847e9d
Merged revisions 16579 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@16580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 22:47:11 +00:00
Russell Bryant
03ce34e1aa
convert internal timing to be stored as a flag in the ast_options flags
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 06:26:16 +00:00
Olle Johansson
50f0b12880
Issue #5374 - Enable internal timing of generators (cmantunes)
...
Thanks everyone involved for hard work, testing and testing!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 06:07:04 +00:00
Luigi Rizzo
e5c455e15a
bring in the code that was discussed on Mantis #6068 ,
...
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: https://origsvn.digium.com/svn/asterisk/trunk@15817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 22:25:08 +00:00
Mark Spencer
9164eac21a
Add micro-http server and abstract manager interface, make snmp not die
...
on reload.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25 23:50:09 +00:00
Kevin P. Fleming
b0ac62573a
revert loader changes that have clearly not undergone adequate testing before commit
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25 23:22:44 +00:00
Russell Bryant
4279bf18f8
clarify which global options are enabled by default
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-14 16:57:35 +00:00
Tilghman Lesher
81811a3a27
Merged revisions 11609 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@11610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-02 22:27:50 +00:00
Russell Bryant
b816ed75b1
Merged revisions 11408 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@11409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-28 19:32:39 +00:00
Kevin P. Fleming
124b00c4a4
add 'systemname' option to prefix channel unique IDs with (issue #5825 )
...
convert chan->uniqueid to a stringfield from a fixed-size buffer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 23:42:36 +00:00
Kevin P. Fleming
1c7126664d
more memory allocation wrapper conversion (issue #6365 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 22:28:01 +00:00
BJ Weschke
6255f76212
#ifdef the include too.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9963 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 18:49:37 +00:00
BJ Weschke
0edfb0eb39
#ifdef'd the prctl fix to only try and compile on linux systems. Thanks rizzo for pointing this out, and credit to Armin for identifying a solution to the original problem.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9962 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 18:47:16 +00:00
BJ Weschke
5f8017bc22
Make sure that PR_SET_DUMPABLE is set to make certain that we still dump core if Asterisk has setuid'd to run as non-root
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 02:41:42 +00:00
Russell Bryant
6334e3b543
store the list of 'atexit' functions using linked list macros (issue #6329 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 20:27:09 +00:00
Russell Bryant
6f71e1178e
constify arguments in more places where strings should not be modified (issue #6286 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-18 22:17:31 +00:00
Kevin P. Fleming
d8dfdf0504
Merged revisions 8122 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@8123 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-17 13:13:31 +00:00
Kevin P. Fleming
97ef58e4eb
check rlimit _after_ reading config file, so that if 'dumpcore' is specified there it will take effect
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-16 23:52:51 +00:00
BJ Weschke
3854a2438e
Spelling corrections (mostly in comments and doxygen areas) #6249
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8100 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-16 17:37:44 +00:00
Matt O'Gorman
1a5aa53fc9
adding more output for shutdown. as per 6102
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 06:49:23 +00:00
Matthew Fredrickson
1437a7255d
More changes to make t.38 support work
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 17:14:58 +00:00
Tilghman Lesher
935c80d5e6
Bug 5961 - new RAND() function
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-10 00:55:45 +00:00
Mark Spencer
1134b480dc
you need to setgid in addition to initgroups...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-08 20:27:22 +00:00
Mark Spencer
b631dc98b5
oops
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7859 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-07 20:09:26 +00:00
Mark Spencer
e9afca36f9
Only set group for "runuser" if "rungroup" is not specified.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-07 20:08:51 +00:00
Mark Spencer
bb8882d7fc
Initialize groups properly
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-07 19:42:05 +00:00
Mark Spencer
d7906c3447
Fix CLI breakage
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-07 15:17:10 +00:00
Russell Bryant
1f73717188
when doing tab completion, iterate the list of matches to count how many there
...
are instead of having the list of matches generated twice (issue #6066 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7655 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-27 17:24:54 +00:00
Russell Bryant
ef1ce7aec9
Merged revisions 7634 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@7635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-26 18:35:28 +00:00
Kevin P. Fleming
dea5bdd8e1
Merged revisions 7606 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@7607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-23 03:04:38 +00:00
Russell Bryant
5039373b99
- change the default value of the global priority jumping option to 'off'
...
- update the UPGRADE.txt file to reflect this change
- remove old information from UPGRADE.txt
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-21 08:44:51 +00:00
Russell Bryant
ec05153ac4
convert most of the option_*'s to a single ast_flags structure. Also, fix some
...
formatting, remove some unnecessary casts, and other little code cleanups.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-04 20:40:46 +00:00
Kevin P. Fleming
2c65582b66
remove extraneous svn:executable properties
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Russell Bryant
d8dfa4434d
finish merging doxygen updates from issue #5605
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-14 19:00:38 +00:00
Kevin P. Fleming
0941c32d38
issue #5569 minus lock.h changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 04:13:19 +00:00
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