Kevin P. Fleming
e0df1dfd7c
generate a message when a module cannot be found and loadable modules are disabled
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
950b3fb070
make platforms that use mutexes in stdio.h happy
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
e274fc0b54
minor improvements
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40863 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
804f49e2c9
when loadable modules are disabled, if someone tries to load a module that does not exist, don't dereference a NULL pointer, just stop trying to load it...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
74fb27c15f
add a new include file for out-of-tree modules that need to know where things are located
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
4cc09eb1e4
remove requirement for libtasn1, which appears to be a Debian thing
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
ec23dcb172
Solaris didn't like this.
...
Let's just go ahead and make this match every other uintXX_t in Asterisk.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40833 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
0264c362b6
a couple Solaris tweaks, to help build properly.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
312ae9bbdb
Blocked revisions 40821 via svnmerge
...
........
r40821 | tilghman | 2006-08-21 21:59:37 -0500 (Mon, 21 Aug 2006) | 2 lines
Bug 7779 - Using initstate(3) means that we cannot unload this module once loaded.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40826 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
fbe03b3f30
Another compile time warning bites the dust
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
7734efb97b
Make a warning about an unused function & variable go away on the stand alone AEL build.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
cbbbff720b
Make doxygen work with the new location of files that now reside in main
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
432e19f2b7
Sorry, but this does not resemble malloc... so GCC was ignoring the attribute and throwing a warning.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40815 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
39e32eb6cf
Fix up the props a bit
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
30c153cffa
Merged revisions 40798 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.2
........
r40798 | mogorman | 2006-08-21 17:34:26 -0500 (Mon, 21 Aug 2006) | 4 lines
Move the load_modules call so that if a module needs
realtime support it will work, none do currently but a good
move none the less.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
26fa229138
restore 'preload' functionality in loader
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40796 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
a87f710062
oops... missed one
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40792 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
90b0c32c71
another variable to clear out before configuring mxml
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
a394f4ad64
use a customized configure macro to tell the script that uCLinux does not have fork() that works
...
drop all startup options and code related to forking if it is not available
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ca0a1d3842
don't initialize global variables list twice
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40789 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
6cd063c74d
use new configure-provided wrappers for attributes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
61755115c2
restore printing of module name during loading
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
283bcf4c9f
- simplify and improve astmm by using thread storage instead of a dynamic
...
allocation and free on every call of the function for preparing the string
that will be appended. Then, use the ast_dynamic_str() code instead of the
open coded version that is appended to when waiting for it to be delivered.
- use for loops for list traversals
- convert the manager sessions list to use list macros
- use atomic operations for num_sessions and usecounts
- convert some defines to the equivalent enum
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
389c605a67
- use the atomic operations for incrementing the unique int
...
- free the string fields allocation if ast_create_channel() failes to open the
alert pipe
- formatting tweaks
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
1c182a606a
Allow an offset for SIP_HEADER so you can get more then 1 header of the same name if they exist. Why someone would want to grab something like Via headers from dialplan I don't exactly know, but okay. (issue #7563 reported by Corydon76)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
5d3869a1c8
various cleanups, including ...
...
- Create an astmm_log() macro that logs the same message to both stderr as well
as the mmlog file if it is open instead of duplicating the code everywhere.
- Use for loops for list traversals instead of while loops
- reduce nesting
- ensure locking isn't put around more than is necessary
- localize a struct definition
- change the limit of the path to the mmlog to PATH_MAX instead of 80
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
d030102eed
- use a common error message in all of the memory allocation macros
...
- add ast_asprintf() and ast_vasprintf()
- tweak doxygen comments
- simplify the definition of a flag macro
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
53b1c97c9a
build muted by default, since there is no Makefile target for it anymore
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
5b03b3449b
use a safer process for checking if a module wants to export symbols into the global namespace
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ff74cbc116
replace a couple of bare 'make' with $(MAKE)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40765 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
e288ef135e
swap module macro arguments to proper order
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40761 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
79dca5ef75
Fix a potential integer signedness problem.
...
Also fix some locking issues I found at the same time.
Issue 7770, original patch by alamantia
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
e044e852c6
ensure that 'make' after 'svn update' that includes a configure script change won't run without making the user run configure first
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40753 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
f3c518a70f
don't declare these variables unless needed
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
b1288df748
document Makefile target changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40728 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
94302c792a
could have sworn i committed this change already...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40726 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ca6ee66c60
main subdirectory is not dependencies for menuselect input
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
f62099a4dd
oops... no pattern rules for bison/flex
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
0a27d8bfe5
merge new_loader_completion branch, including (at least):
...
- restructured build tree and makefiles to eliminate recursion problems
- support for embedded modules
- support for static builds
- simpler cross-compilation support
- simpler module/loader interface (no exported symbols)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
f60ada0be2
Merged revisions 40692 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r40692 | tilghman | 2006-08-20 17:09:57 -0500 (Sun, 20 Aug 2006) | 2 lines
Reformat to match the contribution style of other contributors
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
d371de5bf6
This is just step 1 in taking over the world.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
6fec811743
Convert func_odbc to use the prepare_and_execute callback, which helps with a database reconnection issue (bug 7693)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40632 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
2dc0692e86
Blocked revisions 40601 via svnmerge
...
........
r40601 | file | 2006-08-20 00:49:48 -0400 (Sun, 20 Aug 2006) | 2 lines
Turn media level c= parsing on by default (issue #7725 reported by psm)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
c12f6bcdd4
Converted device2str and control2str to use thread local storage.
...
Thanks Russell.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
d5152177f3
Properly check to see if parkingnum is a number (issue #7762 reported by robf)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40599 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
60cf653dde
kpfleming didn't break trunk, it was the aliens. (fix it so that the Makefile references the new name for the XML tree, menuselect-tree)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
6e140aae84
Make the CIPC device string useful
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
1bacbd54f4
Fix minor display issues in "skinny show devices".
...
Patch by wedhorn with minor modifications by me.
Issue 7766
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
fd0ac387a9
deprecate chan_agent callback mode
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
a583f314dc
suppress warnings introduced by putting states in an enum
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago