Kevin P. Fleming
a757ca2947
ensure that unload_dynamic_module won't continue dereferencing a module pointer after the module has been unloaded from memory
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-26 19:45:16 +00:00
Russell Bryant
3a83fbed5b
menuselect doesn't use asterisk's autoconfig.h anymore, so this ifdef can be
...
removed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41181 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-26 17:15:38 +00:00
Kevin P. Fleming
3ba8e0a973
ensure that cross-compiler info is removed from the enviroment before configuring menuselect
...
ensure that the user's LDFLAGS take precedence when linking the final binary
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-26 17:05:38 +00:00
Kevin P. Fleming
aa7b32d175
more optimizations for embedded systems:
...
when LOADABLE_MODULES is off, don't export symbols from the main binary
when LOADABLE_MODULES is off, and the compiler/linker support it, strip out code not used in the final binary
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-26 16:45:35 +00:00
Russell Bryant
b374245688
remove some unneeded variables now that the menuselect build is isolated from
...
the parent project
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-26 16:13:45 +00:00
Steve Murphy
51132bbdbf
Changes to fix all problems reported in 7804 are included here.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 20:43:51 +00:00
Luigi Rizzo
379dc24745
we really need BSD make here to understand the -V option.
...
Fix and document this.
(problem introduced in SVN 40753)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 20:10:56 +00:00
Russell Bryant
3a6dfec6c3
fix redirect typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 19:10:15 +00:00
Kevin P. Fleming
aad5f19a12
fix a typo and clarify something else
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 18:58:52 +00:00
Russell Bryant
3c886e6451
remove the make version check, and instead, check for the actual bug that
...
causes our build system to blow up.
If anyone still sees problems and configure didn't detect a problem with make,
please let me know.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41119 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 18:55:26 +00:00
Russell Bryant
d770396e23
Identify what the columns mean in the output of "show profile"
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41118 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 18:05:28 +00:00
Tilghman Lesher
d2b7882788
Off by one error in buffer length (issue 7379)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 17:48:34 +00:00
Russell Bryant
2eb7c010c7
we use autoconf 2.60.
...
Note that this only affects people regenerating the configure script.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 16:19:58 +00:00
Kevin P. Fleming
970c6876c5
instead of reverting this supposedly 'stupid' change, let's try to get it working properly
...
also eliminate a warning from dlopen() because some flags were missing on the second dlopen() call
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 16:14:00 +00:00
Matthew Fredrickson
b56d1a76ce
Note to self, always compile before committing.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 15:20:16 +00:00
Matthew Fredrickson
3113f07570
Don't send proceeding twice ( #7800 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 15:14:42 +00:00
Kevin P. Fleming
7b65cdc0c7
remove documentation of 'global' section in modules.conf, since it is no longer needed or supported
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 14:14:27 +00:00
Russell Bryant
9aabe41de3
don't seg fault when using dbsecret
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 02:55:00 +00:00
Jason Parker
62309a54ef
This is a bit safer on some versions of sed.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 00:52:19 +00:00
Russell Bryant
5008225fcf
get cflags for libcurl as well as libs (patch from qwell)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 00:13:03 +00:00
Jason Parker
310cb52bb4
As per the comments in this file..
...
The last patch was slightly wrong. This'll get it for sure.
Solaris (and some others) don't have sed -r. perl -p is equivalent
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-24 22:17:12 +00:00
Jason Parker
2a3aaa9818
Fix a small typo I found.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-24 21:30:34 +00:00
Russell Bryant
1ff5a0988d
Merged revisions 40994 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r40994 | russell | 2006-08-24 15:41:26 -0400 (Thu, 24 Aug 2006) | 11 lines
Fix a few issues related to the handling of channel variables
- in pbx_builtin_serialize_variables(), the variable list traversal would stop
on a variables with empty name/values, which is not appropriate
- When removing the GROUP variables, use AST_LIST_REMOVE_CURRENT instead of
AST_LIST_REMOVE
- During masquerading, when copying the variables list from one channel to the
other, using AST_LIST_INSERT_TAIL is not valid for appending a whole list.
It leaves the tail pointer of the list invalid. Introduce a new macro,
AST_LIST_APPEND_LIST that appends a list properly.
(issue #7802 , softins)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-24 19:53:43 +00:00
Russell Bryant
9df34a3d40
fix codec_gsm build for powerpc
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-24 19:07:01 +00:00
Russell Bryant
5266cd75e3
remove CFLAGS that aren't needed anymore
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-24 18:57:46 +00:00
Olle Johansson
cff8073771
Deprecate USERAGENT
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-24 18:49:35 +00:00
Matthew Fredrickson
16157e26d6
Revert stupid RTLD_NOLOAD change that breaks module loading on some systems.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40981 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-24 17:24:33 +00:00
Joshua Colp
236c23269d
Merged revisions 40979 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r40979 | file | 2006-08-24 13:13:04 -0400 (Thu, 24 Aug 2006) | 2 lines
I can type english. Honest. Thanks Kenny.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40980 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-24 17:13:57 +00:00
Joshua Colp
e5c0665caf
Merged revisions 40971 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r40971 | file | 2006-08-24 12:44:41 -0400 (Thu, 24 Aug 2006) | 2 lines
Minor documentation fix to add the 'dynamic' dialplan option from angler
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40972 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-24 16:46:13 +00:00
Joshua Colp
5345469008
Documentation updates (thanks Shaun for the speechrec.txt one!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-24 15:44:24 +00:00
Jason Parker
2986a59fab
Okay, there are 3 reasons why I'm doing this.
...
1) Solaris sed doesn't have -r, which means things like \s and \S don't work.
2) GNU sed version 4.1.2 failed on a very simple test
echo "Test Test" | sed -r -e 's/\s/x/g'
should have returned "TestxxxTest", but did not (however, 4.1.4 did?).
3) The CFLAGS were never set, so that entire line actually did nothing. Now it's useful again.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-24 01:21:41 +00:00
Olle Johansson
8b3aeaeae6
Fixing a comment
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40960 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-23 21:19:21 +00:00
Joshua Colp
a9f8c538ef
Add a lasting legacy from 1082... a Macro to do a pre acknowledgement message with option to reject. Thanks to patbaker82 for this. (issue #1082 reported by damin)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-23 20:39:23 +00:00
Joshua Colp
3f7b10eab6
Free the filename so we don't have a memory leak. (reported by PCadach in #asterisk-bugs)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-23 20:22:18 +00:00
Kevin P. Fleming
7eecf0bfbc
use RTLD_NOLOAD if it's available to make loading dynamic modules a little faster and less resource-intensive
...
also, keep trying to dlclose() a module until it actually goes away, since it may have other modules it brought in when it was loaded (thanks PCadach for pointing this problem out to me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-23 19:28:13 +00:00
Jason Parker
e690d7d34c
move the "muted" svn:ignore to the utils/ directory
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-23 18:51:39 +00:00
Russell Bryant
3155cad50d
remove svnmerge-integrated property
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40928 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-23 17:44:33 +00:00
Tilghman Lesher
ec7bd6614a
Merged revisions 40901 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r40901 | tilghman | 2006-08-23 11:05:26 -0500 (Wed, 23 Aug 2006) | 2 lines
Revert last change - breaks retrieval of builtin variables
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-23 16:14:18 +00:00
Russell Bryant
4c41a6ccd0
merge menuselect_build ... most of the changes happened in menuselect
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-23 03:07:34 +00:00
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
2006-08-22 23:55:16 +00:00
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
2006-08-22 23:07:11 +00:00
Kevin P. Fleming
e274fc0b54
minor improvements
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40863 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-22 23:06:13 +00:00
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
2006-08-22 21:57:16 +00:00
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
2006-08-22 21:45:15 +00:00
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
2006-08-22 16:32:41 +00:00
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
2006-08-22 05:34:44 +00:00
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
2006-08-22 05:24:50 +00:00
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
2006-08-22 03:01:49 +00:00
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
2006-08-22 02:30:38 +00:00
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
2006-08-22 02:24:46 +00:00