[asterisk-commits] file: branch file/bridging r90152 - in /team/file/bridging: ./ agi/ apps/ bui...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Nov 29 10:37:55 CST 2007
Author: file
Date: Thu Nov 29 10:37:53 2007
New Revision: 90152
URL: http://svn.digium.com/view/asterisk?view=rev&rev=90152
Log:
Merged revisions 89291,89293-89295,89297,89299-89300,89303-89304,89312,89319-89322,89324,89326-89336,89338,89340-89341,89345-89385,89387-89399,89404-89407,89410,89412,89417,89420-89422,89424-89433,89438-89444,89446-89449,89451-89455,89458-89460,89463-89470,89472-89484,89487-89490,89492,89494,89496,89504-89519,89521-89524,89526,89529-89533,89535,89537,89541-89544,89546-89547,89551,89554-89557,89560-89561,89564,89566,89570,89572-89573,89576,89578,89581-89583,89588-89591,89593,89595-89596,89600,89602,89606-89607,89609,89611-89613,89615,89617,89619,89621,89623,89625,89632,89635,89637,89682-89683,89698,89702,89704,89706,89710,89721,89733,89769-89772,89791-89792,89835,89838,89840,89847,89887-89888,89891,89915,89946-89947,89981-89982,90000,90038-90039,90060-90061,90099-90100,90102,90139,90141,90143,90146,90148-90150 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r89291 | file | 2007-11-15 11:39:03 -0400 (Thu, 15 Nov 2007) | 2 lines
Fix typo in UPGRADE.txt. 'increase' should have been used, not 'increasing'.
................
r89293 | rizzo | 2007-11-15 12:20:47 -0400 (Thu, 15 Nov 2007) | 11 lines
access channel locks through ast_channel_lock/unlock/trylock and not
through ast_mutex primitives.
To detect all occurrences, I have renamed the lock field in struct ast_channel
so it is clear that it shouldn't be used directly.
There are some uses in res/res_features.c (see details of the diff)
that are error prone as they try and lock two channels without
caring about the order (or without explaining why it is safe).
................
r89294 | murf | 2007-11-15 12:30:13 -0400 (Thu, 15 Nov 2007) | 1 line
Perhaps I went overboard on initializing things. I can remove unnecc. stuff later. A few bug fixes. Killing small bugs on the way to killing bigger ones. Removed locking on hashtabs; there's plenty of locks already being taken. A small bug in the root_tree hashtab compare func.
................
r89295 | murf | 2007-11-15 12:50:16 -0400 (Thu, 15 Nov 2007) | 1 line
Get rid of a previously missed ast_log call for debug, no longer nec.
................
r89297 | russell | 2007-11-15 13:27:27 -0400 (Thu, 15 Nov 2007) | 16 lines
Merged revisions 89296 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89296 | russell | 2007-11-15 11:19:28 -0600 (Thu, 15 Nov 2007) | 8 lines
Update the SLAStation application to account for the case where the SLA thread
has a call out to the station, but the user has pressed a line button to answer
the call instead of picking up the handset. If they do, the phone sends out a
new INVITE. So, the SLAStation app must check to see if it is picking up a
ringing trunk, and ensure that the other stations stop ringing.
(reported internally, patched by me, tested by mogorman)
........
................
r89299 | tilghman | 2007-11-15 14:11:36 -0400 (Thu, 15 Nov 2007) | 13 lines
Merged revisions 89298 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89298 | tilghman | 2007-11-15 12:05:56 -0600 (Thu, 15 Nov 2007) | 5 lines
Yet another memory corruption issue.
Reported by: atis
Patch by: tilghman
Fixes issue #10923
........
................
r89300 | tilghman | 2007-11-15 14:15:48 -0400 (Thu, 15 Nov 2007) | 2 lines
Fix trunk breakage due to chan->lock being renamed.
................
r89303 | tilghman | 2007-11-15 14:39:46 -0400 (Thu, 15 Nov 2007) | 10 lines
Merged revisions 89301 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89301 | tilghman | 2007-11-15 12:23:14 -0600 (Thu, 15 Nov 2007) | 2 lines
Fix an uninitialized memory read found by valgrind
........
................
r89304 | tilghman | 2007-11-15 14:49:31 -0400 (Thu, 15 Nov 2007) | 10 lines
Merged revisions 89302 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89302 | tilghman | 2007-11-15 12:37:38 -0600 (Thu, 15 Nov 2007) | 2 lines
Start Asterisk in Debian at a more reasonable time (since zaptel is at level 20)
........
................
r89312 | tilghman | 2007-11-15 19:50:15 -0400 (Thu, 15 Nov 2007) | 4 lines
If we're going to be passing a negative value for the size of a stringfield,
in order to indicate something, then using an UNSIGNED parameter is bad,
mmmmmkay?
................
r89319 | crichter | 2007-11-16 04:54:04 -0400 (Fri, 16 Nov 2007) | 1 line
fixed compilation of chan_misdn, #11269, thanks IgorG.
................
r89320 | rizzo | 2007-11-16 05:51:41 -0400 (Fri, 16 Nov 2007) | 5 lines
move the inner part of config file parsing to a separate function,
so it can be reused in the implementation of cli commands when
they have a similar syntax.
................
r89321 | crichter | 2007-11-16 06:06:55 -0400 (Fri, 16 Nov 2007) | 1 line
fixed #10631, about one way audio. thanks IgorG again.
................
r89322 | rizzo | 2007-11-16 06:07:24 -0400 (Fri, 16 Nov 2007) | 4 lines
add a small new function to retrieve variables from a config
once we have a pointer to the category.
................
r89324 | mmichelson | 2007-11-16 11:44:27 -0400 (Fri, 16 Nov 2007) | 13 lines
Merged revisions 89323 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89323 | mmichelson | 2007-11-16 09:28:22 -0600 (Fri, 16 Nov 2007) | 5 lines
Make realtime queues accessible from the QUEUE_MEMBER_COUNT function.
(closes issue #11271, reported and patched by atis, with small modifications from me)
........
................
r89326 | kpfleming | 2007-11-16 12:56:59 -0400 (Fri, 16 Nov 2007) | 12 lines
Merged revisions 89325 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89325 | kpfleming | 2007-11-16 10:47:46 -0600 (Fri, 16 Nov 2007) | 4 lines
To help combat problems where people build external modules (asterisk-addons or others) and then change the build options of the Asterisk build in a way that makes the incompatible without warning, this commit introduces an MD5 signature of the important build-time options and includes that signature into modules when they are built. When the loader loads one of these modules and notices the problem, it will emit a warning to console and refuse to initialize the module, as doing so could cause the system to be unstable or even crash.
If you upgrade to this version of Asterisk, you must rebuild *all* of your modules that came from other sources before trying to run this version. If you are using Digium's G.729 binary codec module, you will need v33 or newer.
........
................
r89327 | mmichelson | 2007-11-16 13:11:43 -0400 (Fri, 16 Nov 2007) | 7 lines
Adding confirmation playback when forwarding voicemail messages. This will attempt
to play the name(s) of the person(s) to whom you are forwarding the message prior to
prompting for prepending. If no name is found, the extension is read back verbatim.
(closes issue #9046, reported and patched by jaroth)
................
r89328 | rizzo | 2007-11-16 14:48:15 -0400 (Fri, 16 Nov 2007) | 10 lines
both md5sum and variable substitutions such as ${BUILDSUM:0:8}
are not available in FreeBSD.
For the time being, put in a workaround so we can build the system,
and wait for the result of the discussion on whether we can store
the md5 as a string rather than 4 ints (if so, we won't need more
complex tricks with awk or sed for splitting the md5).
1.4 will be fixed when we decide the issue.
................
r89329 | murf | 2007-11-16 14:59:02 -0400 (Fri, 16 Nov 2007) | 1 line
This fixes a problem with pattern ranges; and corrects a situation in res_features, where an extension would be created with the name Zap/51, as an example. THe / is bad because it would tend to mean that the 51 is to be cid matched.
................
r89330 | murf | 2007-11-16 15:26:54 -0400 (Fri, 16 Nov 2007) | 1 line
This corrects a hashtab removal, given a bad argument
................
r89331 | mmichelson | 2007-11-16 15:41:15 -0400 (Fri, 16 Nov 2007) | 6 lines
Added some locks that should have been around astman_send_error,
at least according to the comments.
(closes issue #11258, reported and patched by eliel)
................
r89332 | mmichelson | 2007-11-16 15:51:47 -0400 (Fri, 16 Nov 2007) | 3 lines
Fixing a problem pointed out by Qwell
................
r89333 | rizzo | 2007-11-16 16:04:58 -0400 (Fri, 16 Nov 2007) | 21 lines
Start untangling header inclusion in a way that does not affect
build times - tested, there is no measureable difference before and
after this commit.
In this change:
use asterisk/compat.h to include a small set of system headers:
inttypes.h, unistd.h, stddef.h, stddint.h, sys/types.h, stdarg.h,
stdlib.h, alloca.h, stdio.h
Where available, the inclusion is conditional on HAVE_FOO_H as determined
by autoconf.
Normally, source files should not include any of the above system headers,
and instead use either "asterisk.h" or "asterisk/compat.h" which does it
better.
For the time being I have left alone second-level directories
(main/db1-ast, etc.).
................
r89334 | rizzo | 2007-11-16 16:15:21 -0400 (Fri, 16 Nov 2007) | 3 lines
put back default optimization to -O6 (previously changed by mistake)
................
r89335 | rizzo | 2007-11-16 16:28:19 -0400 (Fri, 16 Nov 2007) | 4 lines
remove duplicate headers.
Properly check for netdb.h (there is actually tens of places to fix)
................
r89336 | rizzo | 2007-11-16 17:08:28 -0400 (Fri, 16 Nov 2007) | 4 lines
remove redundant #include "asterisk/compat.h",
but make sure that asterisk/compiler.h is included everywhere
................
r89338 | rizzo | 2007-11-16 17:23:50 -0400 (Fri, 16 Nov 2007) | 3 lines
logger.h does not need options.h
................
r89340 | russell | 2007-11-16 18:33:24 -0400 (Fri, 16 Nov 2007) | 12 lines
Blocked revisions 89339 via svnmerge
........
r89339 | russell | 2007-11-16 16:26:44 -0600 (Fri, 16 Nov 2007) | 5 lines
Temporarily revert revision 89325, which added md5 magic for keeping track of
what build options were used. We agreed that we should remove this before
making a 1.4 release, and then we can put it back in. Then, we can take a
month or so to play around with it to get it how we want it.
........
................
r89341 | rizzo | 2007-11-16 18:37:17 -0400 (Fri, 16 Nov 2007) | 9 lines
whitespace only change - adjust indentation and add some
comments on the content of these two files.
utils.h (which is included in over 150 files) contains a lot of
unrelated functions which require the inclusion of a large number
of other headers. At some point we should partition its content
in a better way.
................
r89345 | rizzo | 2007-11-16 19:28:28 -0400 (Fri, 16 Nov 2007) | 4 lines
paths are already in include/asterisk/paths.h so don't duplicate
them in include/asterisk.h
................
r89346 | murf | 2007-11-16 19:33:32 -0400 (Fri, 16 Nov 2007) | 1 line
My goodness, haven't handled an extension deletion. Add code to ast_context_remove_extension2() to remove an extension from the trie. Done by marking it deleted. The scoreboard won't update for it any more. Also, a couple of calls to insert hashtab had a spurious ->exten, which was removed.
................
r89347 | twilson | 2007-11-16 19:44:14 -0400 (Fri, 16 Nov 2007) | 2 lines
Fix broken parking dial-back
................
r89348 | rizzo | 2007-11-16 19:54:45 -0400 (Fri, 16 Nov 2007) | 6 lines
remove a bunch of duplicate includes
Reproduce with
grep -r #include . | grep -v .svn | grep -v Binary | sort | uniq -c | sort -nr
................
r89349 | rizzo | 2007-11-16 20:02:33 -0400 (Fri, 16 Nov 2007) | 3 lines
more removal of duplicate #include lines
................
r89350 | rizzo | 2007-11-16 20:31:32 -0400 (Fri, 16 Nov 2007) | 3 lines
add check for the presence of glob
................
r89351 | rizzo | 2007-11-16 21:49:26 -0400 (Fri, 16 Nov 2007) | 6 lines
acinclude.m4: add a function to help checking sdl-config, gtk-config
and the like (this could be used for gtk and gtk2 as well)
Other files: add tests for sdl, sdl_image and avcodec and regenerate
configure and autoconfig.h.in
................
r89352 | rizzo | 2007-11-16 22:50:52 -0400 (Fri, 16 Nov 2007) | 2 lines
compatibility fix for mingw32
................
r89353 | rizzo | 2007-11-16 22:54:23 -0400 (Fri, 16 Nov 2007) | 2 lines
this script is run on the build system, not on the host.
................
r89354 | rizzo | 2007-11-16 22:57:40 -0400 (Fri, 16 Nov 2007) | 3 lines
use autoconf to check for the existence of sys/poll.h
................
r89355 | rizzo | 2007-11-16 23:07:06 -0400 (Fri, 16 Nov 2007) | 2 lines
use poll as detected by configure
................
r89356 | rizzo | 2007-11-16 23:28:31 -0400 (Fri, 16 Nov 2007) | 3 lines
provide definitions for __LITTLE_ENDIAN and __BIG_ENDIAN if not present.
................
r89357 | rizzo | 2007-11-17 00:17:53 -0400 (Sat, 17 Nov 2007) | 3 lines
add detection for timersub() and winsock.h/winsock2.h
................
r89358 | rizzo | 2007-11-17 00:19:02 -0400 (Sat, 17 Nov 2007) | 3 lines
linker flags for mingw32
................
r89359 | russell | 2007-11-17 02:07:57 -0400 (Sat, 17 Nov 2007) | 4 lines
Use the fix suggested by Tilghman on the -dev to make cutting up the BUILDSUM
friendly to non-bash shells. I think this should work for BSD/mingw as well,
but did not yet remove the switch statement.
................
r89360 | russell | 2007-11-17 02:09:42 -0400 (Sat, 17 Nov 2007) | 2 lines
actually let this compile, oops :(
................
r89361 | russell | 2007-11-17 02:33:07 -0400 (Sat, 17 Nov 2007) | 5 lines
Update the configure script check for sys/poll.h to also provide the result in
include/asterisk/autoconfig.h. Also, move the conditional include of sys/poll.h
or asterisk/poll-compat.h into asterisk/config.h instead of the two headers it
existed in before.
................
r89362 | russell | 2007-11-17 02:34:10 -0400 (Sat, 17 Nov 2007) | 1 line
fix the build of pbx_lua
................
r89363 | rizzo | 2007-11-17 05:30:22 -0400 (Sat, 17 Nov 2007) | 4 lines
timersub is a macro not a function, so write the check in a way
that detects both formats.
................
r89364 | rizzo | 2007-11-17 05:37:12 -0400 (Sat, 17 Nov 2007) | 4 lines
Loader for cygwin where asterisk is really a big dll
(something like this is already in 1.2)
................
r89365 | rizzo | 2007-11-17 05:44:14 -0400 (Sat, 17 Nov 2007) | 4 lines
netdb.h is used for gethostbyname, and it was not included in some
platforms.
................
r89366 | rizzo | 2007-11-17 05:48:45 -0400 (Sat, 17 Nov 2007) | 5 lines
filter out modules that do not compile under windows
(this should be handled with the dependencies generated by
configure and menuselect, but will be fixed later)
................
r89367 | rizzo | 2007-11-17 05:51:45 -0400 (Sat, 17 Nov 2007) | 6 lines
define RTLD_LOCAL for platforms that don't have it.
This is only to complete the build, clearly the linker
behaviour will be completely different and likely to
cause trouble in those cases.
................
r89368 | rizzo | 2007-11-17 05:54:54 -0400 (Sat, 17 Nov 2007) | 7 lines
add a return NULL to a function that is expected to return a value
so compilers that don't understand that this code is NOTREACHED
will not complain (the fault is not much on the compiler but on the
declaration of pthread_exit on certain platforms)
s/certain platform/cygwin/ if you are really curious
................
r89369 | rizzo | 2007-11-17 06:12:43 -0400 (Sat, 17 Nov 2007) | 2 lines
these linker flags apply to both cygwin and mingw32
................
r89370 | rizzo | 2007-11-17 06:26:21 -0400 (Sat, 17 Nov 2007) | 4 lines
some version of flex produce code that wants __STDC_VERSION__
defined, but the compiler does not always define it.
................
r89371 | rizzo | 2007-11-17 06:28:55 -0400 (Sat, 17 Nov 2007) | 3 lines
compatibility fixes for cygwin
................
r89372 | rizzo | 2007-11-17 06:32:56 -0400 (Sat, 17 Nov 2007) | 2 lines
use autoconf results to conditionally compile timersub
................
r89373 | rizzo | 2007-11-17 06:54:52 -0400 (Sat, 17 Nov 2007) | 3 lines
more cygwin/mingw32 compatibility fixes
................
r89374 | rizzo | 2007-11-17 07:08:58 -0400 (Sat, 17 Nov 2007) | 5 lines
another cygwin compatibility fix.
This one must be handled in a better way in configure, also for other
architectures
................
r89375 | rizzo | 2007-11-17 07:10:16 -0400 (Sat, 17 Nov 2007) | 4 lines
and this is the last one to have asterisk compile (not run yet)
natively under cygwin.
................
r89376 | rizzo | 2007-11-17 07:57:52 -0400 (Sat, 17 Nov 2007) | 3 lines
support cygwin targets
................
r89377 | rizzo | 2007-11-17 08:33:15 -0400 (Sat, 17 Nov 2007) | 3 lines
conditional targets for building the windows version
................
r89378 | rizzo | 2007-11-17 08:44:22 -0400 (Sat, 17 Nov 2007) | 3 lines
main is called main not amain!
................
r89379 | rizzo | 2007-11-17 10:00:24 -0400 (Sat, 17 Nov 2007) | 4 lines
wrapper for all generic network headers that have different names
and locations on the various systems.
................
r89380 | rizzo | 2007-11-17 10:11:53 -0400 (Sat, 17 Nov 2007) | 4 lines
start using asterisk/network.h for network related headers.
Also remove some unnecessary includes.
................
r89381 | rizzo | 2007-11-17 10:44:03 -0400 (Sat, 17 Nov 2007) | 3 lines
wrong variable, wrong order -> broken build.
................
r89382 | rizzo | 2007-11-17 10:45:46 -0400 (Sat, 17 Nov 2007) | 2 lines
fix breakage induced by previous mistake
................
r89383 | rizzo | 2007-11-17 10:47:33 -0400 (Sat, 17 Nov 2007) | 2 lines
remove unnecessary includes
................
r89384 | rizzo | 2007-11-17 12:18:53 -0400 (Sat, 17 Nov 2007) | 3 lines
trim more redundant headers
................
r89385 | rizzo | 2007-11-17 12:32:18 -0400 (Sat, 17 Nov 2007) | 3 lines
prefer socket.h over other variants (winsock etc.)
................
r89387 | rizzo | 2007-11-17 13:27:26 -0400 (Sat, 17 Nov 2007) | 5 lines
as discussed some time ago on the -dev list, create embedde object
with a .eo suffix even if they are coming from .cc sources.
This simplifies the handling in the build scripts.
................
r89388 | murf | 2007-11-17 13:46:36 -0400 (Sat, 17 Nov 2007) | 1 line
a quick fix to pbx_dundi.c to make it so it will compile. Hope I did the right thing. And some additions to removal of extens to take care of hashtab pointers in all cases.
................
r89389 | rizzo | 2007-11-17 15:00:07 -0400 (Sat, 17 Nov 2007) | 2 lines
reformulate dependencies in a more correct way
................
r89390 | rizzo | 2007-11-17 15:27:51 -0400 (Sat, 17 Nov 2007) | 4 lines
will i ever get precedences for windows right ?
in the meantime, use a variable to ease enabling/disabling print subdirectories.
................
r89391 | rizzo | 2007-11-17 15:29:04 -0400 (Sat, 17 Nov 2007) | 2 lines
temporarily disable this target in mingw
................
r89392 | rizzo | 2007-11-17 15:29:54 -0400 (Sat, 17 Nov 2007) | 3 lines
if alloca.h is not present, try malloc.h
................
r89393 | mattf | 2007-11-17 17:47:48 -0400 (Sat, 17 Nov 2007) | 1 line
Add SS7 Generic address support (#11156)
................
r89394 | file | 2007-11-17 19:03:16 -0400 (Sat, 17 Nov 2007) | 2 lines
Use autoconf logic to determine the presence of PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP and PTHREAD_MUTEX_RECURSIVE_NP. Enclose error message from network.h in "
................
r89395 | file | 2007-11-18 12:43:08 -0400 (Sun, 18 Nov 2007) | 2 lines
Change autoconf logic a bit so it says what it is looking for in two instances where it didn't.
................
r89396 | file | 2007-11-18 13:01:41 -0400 (Sun, 18 Nov 2007) | 2 lines
Change how we handle alloca to conform with how it is suggested in the autoconf manual for AC_FUNC_ALLOCA. FreeBSD 6 now builds again and no other platforms should be broken by this.
................
r89397 | file | 2007-11-18 13:03:38 -0400 (Sun, 18 Nov 2007) | 2 lines
Revert last commit, apparently buildbot lied to me.
................
r89398 | file | 2007-11-18 13:49:40 -0400 (Sun, 18 Nov 2007) | 2 lines
Use the easy way that rizzo mentioned, only include malloc.h on the Windows platform.
................
r89399 | file | 2007-11-18 17:50:58 -0400 (Sun, 18 Nov 2007) | 2 lines
Add OSX into the logic that uses md5 instead of md5sum.
................
r89404 | oej | 2007-11-19 04:34:26 -0400 (Mon, 19 Nov 2007) | 13 lines
Make some notes about a problem I found with the OPTIONs handler while working with
the bug tracker. Since we don't authenticate devices (peers/users) on OPTIONS we don't
have the proper context set for the user/peer.
However, we might not want to process an authentication for every OPTIONS, so we could
have a config option for this, "optionsforceok" to always answer 200 OK on the request
and not check device or destination, nor add a SDP. If Asterisk sends the OPTIONs request,
it doesn't care about the reply. Some devices use OPTIONs to discover capabilities,
since we should answer like an INVITE from the device and we need to support that properly
too, which we don't today.
So much to do :-)
................
r89405 | oej | 2007-11-19 04:41:14 -0400 (Mon, 19 Nov 2007) | 4 lines
Add some debugging to the routines that finds our local IP address.
Related to bug #9225
................
r89406 | oej | 2007-11-19 05:12:27 -0400 (Mon, 19 Nov 2007) | 9 lines
Adding busy-level to the SIP_PEER() dialplan function.
With this, you can control the peer in the dialplan, so you avoid placing outbound
calls when the device has reached busy-level.
Reported by pj.
Closes bug #11180
................
r89407 | oej | 2007-11-19 05:16:56 -0400 (Mon, 19 Nov 2007) | 2 lines
Update CHANGES
................
r89410 | file | 2007-11-19 10:03:30 -0400 (Mon, 19 Nov 2007) | 6 lines
Change warning messages (which are really debug messages) into debug messages.
(closes issue #11288)
Reported by: IgorG
Patches:
saydebug-89394-1-trunk.patch uploaded by IgorG (license 20)
................
r89412 | rizzo | 2007-11-19 10:36:12 -0400 (Mon, 19 Nov 2007) | 3 lines
revert inclusion of options.h
................
r89417 | file | 2007-11-19 11:27:08 -0400 (Mon, 19 Nov 2007) | 12 lines
Merged revisions 89416 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89416 | file | 2007-11-19 11:24:12 -0400 (Mon, 19 Nov 2007) | 4 lines
Clarify documentation a bit, include that a frame has to pass through the core in order for the Local channel optimization to happen.
(closes issue #11246)
Reported by: jon
........
................
r89420 | file | 2007-11-19 11:55:08 -0400 (Mon, 19 Nov 2007) | 14 lines
Merged revisions 89419 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89419 | file | 2007-11-19 11:53:32 -0400 (Mon, 19 Nov 2007) | 6 lines
Print out the correct filename (features.conf) in the log message when parkpos options are incorrect.
(closes issue #11295)
Reported by: Laureano
Patches:
res_features.c.patch uploaded by Laureano (license 265)
........
................
r89421 | mmichelson | 2007-11-19 12:29:07 -0400 (Mon, 19 Nov 2007) | 3 lines
Adding SYSINFO() dialplan function for retrieval of system information
................
r89422 | murf | 2007-11-19 13:18:26 -0400 (Mon, 19 Nov 2007) | 1 line
a correction to code involved in an extension removal
................
r89424 | rizzo | 2007-11-19 14:52:04 -0400 (Mon, 19 Nov 2007) | 5 lines
include "logger.h" and errno.h from asterisk.h - usage shows that they
were included almost everywhere.
Remove some of the instances.
................
r89425 | rizzo | 2007-11-19 15:09:03 -0400 (Mon, 19 Nov 2007) | 3 lines
another bunch of include removals (errno.h and asterisk/logger.h)
................
r89426 | rizzo | 2007-11-19 15:36:32 -0400 (Mon, 19 Nov 2007) | 5 lines
move the declaration of struct ast_channel ast_frame and ast_module
to compat.h so it is always available - hopefully this will let
us reduce the number of inclusions of channel.h and frame.h
................
r89427 | rizzo | 2007-11-19 15:41:16 -0400 (Mon, 19 Nov 2007) | 2 lines
format handlers don't need network, lock, channel and scheduler headers
................
r89428 | rizzo | 2007-11-19 15:51:55 -0400 (Mon, 19 Nov 2007) | 2 lines
remove some useless includes from codecs
................
r89429 | tilghman | 2007-11-19 16:13:40 -0400 (Mon, 19 Nov 2007) | 5 lines
Change delimiter of SIPPEER to be comma (instead of pipe) and further deprecate the old ':' delimiter
Reported by: pj
Patch by: tilghman
Closes issue #11305
................
r89430 | rizzo | 2007-11-19 16:42:06 -0400 (Mon, 19 Nov 2007) | 2 lines
remove some unnecessary includes.
................
r89431 | rizzo | 2007-11-19 17:04:04 -0400 (Mon, 19 Nov 2007) | 2 lines
remove unnecessary headers
................
r89432 | rizzo | 2007-11-19 17:12:08 -0400 (Mon, 19 Nov 2007) | 2 lines
more errno.h removal
................
r89433 | rizzo | 2007-11-19 17:18:14 -0400 (Mon, 19 Nov 2007) | 2 lines
another few errno.h removals
................
r89438 | murf | 2007-11-19 18:55:38 -0400 (Mon, 19 Nov 2007) | 1 line
These changes were made in response to niklas at tese.se's letter of 11-17-2007, where he had 20 and 201 in two different contexts, included in the same context. In that particular case, we were behaving the same as 1.4, but after experimenting, I quickly found that if 20 and 201 were in the same extension, 1.4 would return 201, and this code returns 20. These changes now enable the current code to replicate the behavior of 1.4 in respect to MATCHMORE in cases like this.
................
r89439 | russell | 2007-11-19 19:03:02 -0400 (Mon, 19 Nov 2007) | 2 lines
Make the SYSINFO documentation reflect which options were compiled in
................
r89440 | russell | 2007-11-19 19:03:37 -0400 (Mon, 19 Nov 2007) | 3 lines
Be a bit more pedantic about the type for holding the md5 sum for the build options.
Also, doxygenify the comment.
................
r89441 | mmichelson | 2007-11-19 19:24:35 -0400 (Mon, 19 Nov 2007) | 7 lines
Changed the "busy-level" option in sip.conf to "busylevel" to be more parallel
with the SIPPEER() argument of the same name. The deprecation procedure is not
being used here since this is a trunk-only option.
(closes issue #11307, reported by pj, patched by me)
................
r89442 | murf | 2007-11-19 20:17:15 -0400 (Mon, 19 Nov 2007) | 1 line
Get rid of some debug messages in pbx.c
................
r89443 | rizzo | 2007-11-20 03:42:38 -0400 (Tue, 20 Nov 2007) | 4 lines
initial makefile changes to build loadable modules under cygwin
(not complete yet - still need to sort out dependecies on res_*)
................
r89444 | oej | 2007-11-20 04:36:32 -0400 (Tue, 20 Nov 2007) | 4 lines
Change terminology a bit for CLI commands handling SIP channels/calls/dialogs/whatever.
Closes issue #11312
................
r89446 | oej | 2007-11-20 10:44:26 -0400 (Tue, 20 Nov 2007) | 4 lines
Fix sip show history.
Closes issue #11312
................
r89447 | file | 2007-11-20 10:49:32 -0400 (Tue, 20 Nov 2007) | 4 lines
Include the compatibility header file in ast_h323.cxx for compatibility reasons.
(closes issue #11311)
Reported by: falves11
................
r89448 | rizzo | 2007-11-20 10:54:52 -0400 (Tue, 20 Nov 2007) | 4 lines
comment a bit the code in acinclude.m4
There is still a lot of code to clean up there, but hopefully
this should clarify what goes on in there.
................
r89449 | file | 2007-11-20 11:00:41 -0400 (Tue, 20 Nov 2007) | 6 lines
Minor documentation tweak and if an incorrect parameter is given to core show translation return the usage information.
(closes issue #11316)
Reported by: eliel
Patches:
translate.c.patch uploaded by eliel (license 64)
................
r89451 | murf | 2007-11-20 11:30:48 -0400 (Tue, 20 Nov 2007) | 9 lines
Merged revisions 89450 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89450 | murf | 2007-11-20 08:22:08 -0700 (Tue, 20 Nov 2007) | 1 line
closes issue #11324; break statements missing in switch cases.
........
................
r89452 | rizzo | 2007-11-20 11:39:00 -0400 (Tue, 20 Nov 2007) | 5 lines
add an argument for extra headers to AC_EXT_LIB_CHECK,
and on passing simplify the code.
Too bad that every time we need to regenerate configure...
................
r89453 | mmichelson | 2007-11-20 12:11:19 -0400 (Tue, 20 Nov 2007) | 6 lines
Changed occurrences of "busy-level" to "busylevel" in sip.conf.sample
in light of commit 89441. Thanks to pj for pointing out the need for this
(closes issue #11307, reported by pj)
................
r89454 | rizzo | 2007-11-20 12:12:10 -0400 (Tue, 20 Nov 2007) | 7 lines
Fix building of modules under cygwin.
After this commit we can actually load modules under windows,
and we can start debugging more interesting problems related
to the load order and functionality of modules.
................
r89455 | rizzo | 2007-11-20 13:11:12 -0400 (Tue, 20 Nov 2007) | 2 lines
prepare to support console_video
................
r89458 | mmichelson | 2007-11-20 13:59:00 -0400 (Tue, 20 Nov 2007) | 17 lines
Merged revisions 89457 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89457 | mmichelson | 2007-11-20 11:50:31 -0600 (Tue, 20 Nov 2007) | 9 lines
According to comments in main/pbx.c, it is essential that if we are going to lock
the conlock as well as the hints lock, it must be locked in that respective order.
In order to prevent a potential deadlock, we need to lock the conlock prior to
locking the hints lock in ast_hint_state_changed (see the call stack example on
issue #11323 for how this can happen).
(closes issue #11323, reported by eelcob, suggestion for patch by eelcob, patch by me)
........
................
r89459 | rizzo | 2007-11-20 14:20:25 -0400 (Tue, 20 Nov 2007) | 4 lines
the 'version' is now $7 not $6
(wait a bit before regenerating configure, i have more changes)
................
r89460 | russell | 2007-11-20 15:11:18 -0400 (Tue, 20 Nov 2007) | 2 lines
fix the zaptel configure script check
................
r89463 | kpfleming | 2007-11-20 15:28:10 -0400 (Tue, 20 Nov 2007) | 2 lines
switch compile-time option checking to string storage mode in this branch too
................
r89464 | russell | 2007-11-20 15:29:08 -0400 (Tue, 20 Nov 2007) | 2 lines
i got a little carried away with commas ...
................
r89465 | rizzo | 2007-11-20 18:18:21 -0400 (Tue, 20 Nov 2007) | 3 lines
move internal function declarations to include/asterisk/_private.h
................
r89466 | rizzo | 2007-11-20 19:16:15 -0400 (Tue, 20 Nov 2007) | 4 lines
move asterisk/paths.h outside asterisk.h and into those files
who really need it.
................
r89467 | tilghman | 2007-11-20 19:28:57 -0400 (Tue, 20 Nov 2007) | 3 lines
Add support for new recorded character sounds
Closes issue #5208
................
r89468 | tilghman | 2007-11-20 19:29:33 -0400 (Tue, 20 Nov 2007) | 2 lines
Make trunk build again
................
r89469 | rizzo | 2007-11-20 20:20:08 -0400 (Tue, 20 Nov 2007) | 3 lines
complete support for X11
................
r89470 | russell | 2007-11-20 20:21:38 -0400 (Tue, 20 Nov 2007) | 9 lines
Merge changes from team/russell/sla_trunk_moh ...
* Added the ability to specify the music on hold class used to play into the
conference when there is only one member and the M option is used.
* Added the ability to specify a music on hold class to play instead of ringing
for the SLATrunk application.
(patched by me, and tested internally)
................
r89472 | rizzo | 2007-11-20 20:22:41 -0400 (Tue, 20 Nov 2007) | 4 lines
X11 checks (at least some - for other platforms with
unusual X11 locations you might need to add more directories)
................
r89473 | rizzo | 2007-11-20 20:23:49 -0400 (Tue, 20 Nov 2007) | 3 lines
more header removal/normalization
................
r89474 | murf | 2007-11-20 21:09:47 -0400 (Tue, 20 Nov 2007) | 1 line
A free in add_pri was ultimately the source of the grief we were having with parking. This set of changes fixes that problem, and introduces some more error messages, and puts debugs into ifdefs for what could be short-term usage. Txs to Terry W. for his help, guidance, and especially patience.
................
r89475 | rizzo | 2007-11-20 21:29:45 -0400 (Tue, 20 Nov 2007) | 3 lines
add check for video4linux
................
r89476 | rizzo | 2007-11-20 21:35:30 -0400 (Tue, 20 Nov 2007) | 3 lines
add missing paths.h
................
r89477 | rizzo | 2007-11-21 04:28:27 -0400 (Wed, 21 Nov 2007) | 3 lines
remove this file, it is not used anywhere.
................
r89478 | murf | 2007-11-21 11:11:43 -0400 (Wed, 21 Nov 2007) | 1 line
closes issue #11265; Thanks to snuffy for his work on neatening up the code and removing duplicated code.
................
r89479 | murf | 2007-11-21 11:17:12 -0400 (Wed, 21 Nov 2007) | 1 line
OOOps! All the debug stuff I inserted was accidentally committed. I hereby revert it.
................
r89480 | kpfleming | 2007-11-21 11:29:39 -0400 (Wed, 21 Nov 2007) | 2 lines
remove some debugging code that doesn't compile on 64-bit platforms
................
r89481 | kpfleming | 2007-11-21 11:45:56 -0400 (Wed, 21 Nov 2007) | 2 lines
get this to actually compile...
................
r89482 | kpfleming | 2007-11-21 12:07:11 -0400 (Wed, 21 Nov 2007) | 2 lines
move these forward declarations back to asterisk.h where they belong... even though asterisk.h includes compat.h, these declarations have nothing to do with the being platform-compatible and are directly related to being part of Asterisk
................
r89483 | mmichelson | 2007-11-21 12:08:12 -0400 (Wed, 21 Nov 2007) | 6 lines
I introduced a deadlock avoidance into 1.4, which I attempted to port to trunk as well.
Unfortunately, since trunk uses read/write locks for the context lock, it means that I have
actually *introduced* a deadlock condition since they are not recursive. Removing this change
for now and will look into introducing a different one.
................
r89484 | russell | 2007-11-21 12:24:17 -0400 (Wed, 21 Nov 2007) | 9 lines
Fix some code that was supposed to ensure that a buffer was terminated, but was
writing to the wrong byte. Also, remove some non-thread safe test code.
(closes issue #11317)
Reported by: IgorG
Patches:
unistim-2.patch uploaded by IgorG (license 20)
- additional changes by me
................
r89487 | mmichelson | 2007-11-21 14:19:22 -0400 (Wed, 21 Nov 2007) | 8 lines
There existed about a 1 in 4 billion chance that reading from /dev/urandom
would return LONG_MIN (1 in 9 quintillion if using 64-bit longs). Since there
is no positive equivalent of LONG_MIN, the result of labs() in this case is
unpredictable. This fixes that situation.
(closes issue #11336, reported and patched by sperreault)
................
r89488 | russell | 2007-11-21 14:24:23 -0400 (Wed, 21 Nov 2007) | 1 line
fix a small gramatical error in a comment
................
r89489 | tilghman | 2007-11-21 14:38:18 -0400 (Wed, 21 Nov 2007) | 6 lines
Change Read to set READSTATUS as an indication of the result
Also, some cleanup to CHANGES.
Reported by: michael-fig
Patch by: michael-fig,tilghman
(Closes issue #11004)
................
r89490 | russell | 2007-11-21 14:52:19 -0400 (Wed, 21 Nov 2007) | 8 lines
Remove obsolete OLD_DSP_ROUTINES code. Also, remove the FAX_DETECT define and
only do the calculations if fax detection is enabled on the dsp.
(closes issue #11331)
Reported by: dimas
Patches:
dsp.patch uploaded by dimas (license 88)
................
r89492 | twilson | 2007-11-21 15:20:33 -0400 (Wed, 21 Nov 2007) | 12 lines
Merged revisions 89491 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89491 | twilson | 2007-11-21 12:59:27 -0600 (Wed, 21 Nov 2007) | 4 lines
If a channel gets masqueraded in the middle of a park, don't play the
announcement to the masqueraded channel, and dial back to the original
channel on timeout.
........
................
r89494 | mmichelson | 2007-11-21 15:27:22 -0400 (Wed, 21 Nov 2007) | 13 lines
Merged revisions 89493 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89493 | mmichelson | 2007-11-21 13:24:22 -0600 (Wed, 21 Nov 2007) | 5 lines
Changing an inaccurate debug message to be less inaccurate. Under the circumstances, this
message would always report that there were 0 members available, even though that may not be true.
........
................
r89496 | mmichelson | 2007-11-21 15:28:43 -0400 (Wed, 21 Nov 2007) | 11 lines
Merged revisions 89495 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89495 | mmichelson | 2007-11-21 13:27:51 -0600 (Wed, 21 Nov 2007) | 3 lines
Fix a small error I made in my previous commit
........
................
r89504 | twilson | 2007-11-21 16:22:40 -0400 (Wed, 21 Nov 2007) | 2 lines
Simplify comparison in parking fix
................
r89505 | murf | 2007-11-21 16:38:00 -0400 (Wed, 21 Nov 2007) | 1 line
closes issue #11290; the proposed patch was a good guess, and would solve the bug to some extent, but was really masking the real issue, that there were bad entries in the table. This fix removes the condition that the hashtab updates be done on exten removal only when the pattern_tree was present, which is silly. The operations that apply to the pattern tree are instead made conditional. Also, threw back in routines that kpfleming deleted because of probs in the 64-bit world. Tested on both 32 and 64-bit machines (compile). Tested the reload problem with over 20 reloads, and no problems. If you find more problems, please reopen 11290.
................
r89506 | rizzo | 2007-11-21 17:30:24 -0400 (Wed, 21 Nov 2007) | 4 lines
enable support for stack backtrace for stuff built in utils/
(this was present in the main tree but forgotten here).
................
r89507 | mattf | 2007-11-21 18:07:55 -0400 (Wed, 21 Nov 2007) | 1 line
Add BRI support to chan_zap
................
r89508 | rizzo | 2007-11-21 18:20:36 -0400 (Wed, 21 Nov 2007) | 2 lines
add a missing return
................
r89509 | mattf | 2007-11-21 18:34:45 -0400 (Wed, 21 Nov 2007) | 1 line
Take some debug code out :-)
................
r89510 | mattf | 2007-11-21 18:37:25 -0400 (Wed, 21 Nov 2007) | 1 line
Remove unneccessary explicit case for BRI
................
r89511 | rizzo | 2007-11-21 19:09:02 -0400 (Wed, 21 Nov 2007) | 3 lines
remove a bunch of useless #include "options.h"
................
r89512 | rizzo | 2007-11-21 19:24:55 -0400 (Wed, 21 Nov 2007) | 2 lines
remove another set of redundant #include "asterisk/options.h"
................
r89513 | murf | 2007-11-21 19:54:12 -0400 (Wed, 21 Nov 2007) | 1 line
closes issue #11285, where an unload of a module that creates a dialplan context, causes a crash when you do a 'dialplan show' of that context. This is because the registrar string is defined in the module, and the stale pointer is traversed. The reporter offered a patch that would always strdup the registrar string, which is practical, but I preferred to destroy the created contexts in each module where one is created. That seemed more symmetric. There were only 6 place in asterisk where this is done: chan_sip, chan_iax2, chan_skinny, res_features, app_dial, and app_queue. The two apps destroyed the context, but left the contexts. All is fixed now and unloads should be dialplan friendly.
................
r89514 | rizzo | 2007-11-21 20:53:13 -0400 (Wed, 21 Nov 2007) | 4 lines
Add a specific header for providers of file and format handling routines,
[... 47671 lines stripped ...]
More information about the asterisk-commits
mailing list