[svn-commits] simon.perreault: branch group/v6 r89579 - in /team/group/v6/trunk: ./ agi/ ap...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Nov 26 09:42:02 CST 2007


Author: simon.perreault
Date: Mon Nov 26 09:41:59 2007
New Revision: 89579

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89579
Log:
Merged revisions 89185-89186,89190,89193,89195-89196,89198,89201-89203,89206-89207,89240,89242,89247,89249-89253,89255-89259,89261-89266,89268-89274,89276-89279,89282-89283,89285,89287,89289-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 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r89185 | tilghman | 2007-11-12 12:44:04 -0500 (Mon, 12 Nov 2007) | 13 lines

Merged revisions 89184 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89184 | tilghman | 2007-11-12 11:29:17 -0600 (Mon, 12 Nov 2007) | 5 lines

Fix two cases of memory corruption caused by background threads.
Reported by: atis
Patch by: tilghman
Fixes issue #10923

........

................
r89186 | murf | 2007-11-12 13:44:36 -0500 (Mon, 12 Nov 2007) | 1 line

Based on a note in asterisk-dev by Brian Capouch, I determined I too agressive in not initializing arrays passed to pbx_substitute_variables_xxxx; I reviewed the code (again) and hopefully found every possible spot where substitute_variables is called conditionally, and made sure the char array involved was set to a null string.
................
r89190 | kpfleming | 2007-11-12 15:16:13 -0500 (Mon, 12 Nov 2007) | 6 lines

(closes issue #11221)
Reported by: eliel
Patches:
      utils.Makefile.patch uploaded by eliel (modified by me) (license 64)


................
r89193 | tilghman | 2007-11-12 15:29:38 -0500 (Mon, 12 Nov 2007) | 12 lines

Blocked revisions 89191 via svnmerge

........
r89191 | tilghman | 2007-11-12 14:16:18 -0600 (Mon, 12 Nov 2007) | 5 lines

If two config writes collide, file corruption could result.  Use a mkstemp() file, instead.
Reported by: paravoid
Patch by: tilghman
Closes issue #10781

........

................
r89195 | qwell | 2007-11-12 15:48:57 -0500 (Mon, 12 Nov 2007) | 9 lines

Merged revisions 89194 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89194 | qwell | 2007-11-12 14:46:52 -0600 (Mon, 12 Nov 2007) | 1 line

Fix a typo pointed out by De_Mon on #asterisk-dev
........

................
r89196 | murf | 2007-11-12 15:49:27 -0500 (Mon, 12 Nov 2007) | 1 line

Thanks to snuff-work, who brought up that these fixes might need to be made.
................
r89198 | murf | 2007-11-12 16:50:02 -0500 (Mon, 12 Nov 2007) | 1 line

Thanks to snuffy for this doxygen update to hashtab.h; closes issue #11223
................
r89201 | murf | 2007-11-12 18:33:55 -0500 (Mon, 12 Nov 2007) | 1 line

Don't forget the ASTERISK_VERSION for the sake of the mtx_prof stuff.
................
r89202 | qwell | 2007-11-12 18:44:20 -0500 (Mon, 12 Nov 2007) | 5 lines

Doxygen fixes.
Also fix a common typo I kept seeing (arguement) in various files.

Closes issue #11222, patch by snuffy (with arguement > argument by me).

................
r89203 | qwell | 2007-11-12 19:19:50 -0500 (Mon, 12 Nov 2007) | 1 line

oops, somebody left out the directory here...
................
r89206 | mmichelson | 2007-11-12 19:57:34 -0500 (Mon, 12 Nov 2007) | 13 lines

Merged revisions 89205 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89205 | mmichelson | 2007-11-12 18:56:46 -0600 (Mon, 12 Nov 2007) | 5 lines

Some sanity checking for MixMonitor. If only 1 argument is given, then the args.options
and args.post_process strings are uninitialized and could contain garbage. This change
handles this situation properly by only using arguments that we have parsed.


........

................
r89207 | mmichelson | 2007-11-12 20:19:53 -0500 (Mon, 12 Nov 2007) | 4 lines

There is the potential to copy uninitialized memory into the mixmonitor->post_process
string. This fix prevents that.


................
r89240 | tilghman | 2007-11-13 09:03:34 -0500 (Tue, 13 Nov 2007) | 12 lines

Merged revisions 89239 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89239 | tilghman | 2007-11-13 07:51:53 -0600 (Tue, 13 Nov 2007) | 4 lines

Debugging is running into the 16-lock limit.  Increase to avoid.
(This define is only effective when debugging is turned on, so there's
no effect for most installations.)

........

................
r89242 | mmichelson | 2007-11-13 11:03:10 -0500 (Tue, 13 Nov 2007) | 13 lines

Merged revisions 89241 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89241 | mmichelson | 2007-11-13 10:02:02 -0600 (Tue, 13 Nov 2007) | 5 lines

Reverting commit made in revision 89205 since it is unnecessary.

Thanks to Kevin for pointing this out


........

................
r89247 | tilghman | 2007-11-13 12:41:02 -0500 (Tue, 13 Nov 2007) | 10 lines

Merged revisions 89246 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89246 | tilghman | 2007-11-13 11:34:11 -0600 (Tue, 13 Nov 2007) | 2 lines

If we set a value for qualify, we should actually pay attention to it, instead of overriding the value

........

................
r89249 | qwell | 2007-11-13 14:48:41 -0500 (Tue, 13 Nov 2007) | 16 lines

Merged revisions 89248 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11237)
........
r89248 | qwell | 2007-11-13 13:47:45 -0600 (Tue, 13 Nov 2007) | 7 lines

Revert change from revision 67064.
It is documented behavior that if a parking extension already exists while using PARKINGEXTEN,
 dialplan execution will continue.  If blind transferring to a Park with PARKINGEXTEN, you
 must keep this in mind, and handle the failure yourself.

Issue 11237, reported by jon.

........

................
r89250 | russell | 2007-11-13 15:30:13 -0500 (Tue, 13 Nov 2007) | 9 lines

Update the ParkedCall application to grab the first available parked call if no
parked extension is provided as an argument.

(closes issue #10803)
Reported by: outtolunc
Patches: 
      res_features-parkedcall-any.diff4 uploaded by outtolunc (license 237)
	  - modified by me to work a bit differently ...

................
r89251 | russell | 2007-11-13 15:53:49 -0500 (Tue, 13 Nov 2007) | 3 lines

- Convert initialization of a struct to C99 style instead of GNU style
- Fix a minor spelling error in a comment

................
r89252 | russell | 2007-11-13 15:56:32 -0500 (Tue, 13 Nov 2007) | 2 lines

Fix a typo pointed out by outtolunc, thanks :)

................
r89253 | russell | 2007-11-13 16:01:14 -0500 (Tue, 13 Nov 2007) | 3 lines

This fixes a build error on my mac.  It also works on my linux box.  Let me
know if it breaks any other platform ...

................
r89255 | qwell | 2007-11-13 16:08:23 -0500 (Tue, 13 Nov 2007) | 12 lines

Blocked revisions 89254 via svnmerge

(closes issue #11238)
........
r89254 | qwell | 2007-11-13 15:07:08 -0600 (Tue, 13 Nov 2007) | 4 lines

Fix building on newer systems which require a third arg to open() when using O_CREAT.

Issue 11238, reported by puzzled.

........

................
r89256 | murf | 2007-11-13 16:19:11 -0500 (Tue, 13 Nov 2007) | 1 line

closes issue #11233 -- where some fine points in the algorithm to build the tree needed to be corrected. Many thanks for the test case, jtodd
................
r89257 | murf | 2007-11-13 18:43:41 -0500 (Tue, 13 Nov 2007) | 1 line

This hopefully will fix the re-opened 11233. Hadn't covered the case of a context with no patterns. (blush)
................
r89258 | russell | 2007-11-13 19:33:52 -0500 (Tue, 13 Nov 2007) | 4 lines

- Simplify removing an item from a list
- move a verbose message to after the item is added to the list
- make use of the ARRAY_LEN macro in one spot

................
r89259 | kpfleming | 2007-11-13 19:54:38 -0500 (Tue, 13 Nov 2007) | 2 lines

use simpler technique for removing known entries from lists

................
r89261 | russell | 2007-11-13 20:15:26 -0500 (Tue, 13 Nov 2007) | 2 lines

Convert most of the strings in the call_queue struct to use stringfields.

................
r89262 | file | 2007-11-13 20:16:50 -0500 (Tue, 13 Nov 2007) | 12 lines

Merged revisions 89260 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89260 | file | 2007-11-13 21:15:12 -0400 (Tue, 13 Nov 2007) | 4 lines

Return the proper value when the srv_callback function executes properly.
(closes issue #11240)
Reported by: jtodd

........

................
r89263 | russell | 2007-11-13 20:35:28 -0500 (Tue, 13 Nov 2007) | 3 lines

Instead of reserving 800 bytes for periodic announcements, use an array of
ast_str pointers and only alloate space for the strings as needed.

................
r89264 | russell | 2007-11-13 20:40:47 -0500 (Tue, 13 Nov 2007) | 2 lines

Use BEGIN_OPTIONS / END_OPTIONS to make the syntax highlighting in my editor happy

................
r89265 | russell | 2007-11-13 21:57:13 -0500 (Tue, 13 Nov 2007) | 3 lines

- Use the ARRAY_LEN macro in a couple places
- return errors from load_module / unload_module

................
r89266 | russell | 2007-11-13 22:22:09 -0500 (Tue, 13 Nov 2007) | 6 lines

Fix up various coding guidelines issues ...
 - handle memory allocation failures
 - add an ast_ prefix to a publicly exported function
 - put curly braces in the right places
 - add a bunch of spaces where they should be be used

................
r89268 | rizzo | 2007-11-14 08:18:40 -0500 (Wed, 14 Nov 2007) | 18 lines

make the 'name' and 'value' fields in ast_variable const char *
 
This prevents modifying the strings in the stored variables, 
and catched a few instances where this was actually done.

Given the differences between trunk and 1.4 (and the fact that this
is effectively an API change) it is better to fix 1.4 independently.
These are

chan_sip.c::sip_register()
chan_skinny.c:: near line 2847
config.c:: near line 1774
logger.c::make_components()
res_adsi.c:: near line 1049

I may have missed some instances for modules that do not build here.


................
r89269 | tilghman | 2007-11-14 09:46:45 -0500 (Wed, 14 Nov 2007) | 2 lines

Typo

................
r89270 | tilghman | 2007-11-14 10:13:22 -0500 (Wed, 14 Nov 2007) | 2 lines

One more typo in config.c; and missed conversions due to the constifying of ast_variable_new parameters

................
r89271 | murf | 2007-11-14 10:43:30 -0500 (Wed, 14 Nov 2007) | 1 line

A further problem highlighted by 11233 has been resolved; a certain combination of patterns in a certain order, led to a malformed trie, due to a ptr not being initialized in the loop. Also, some tree printing prettifications.
................
r89272 | murf | 2007-11-14 13:05:50 -0500 (Wed, 14 Nov 2007) | 1 line

Rescaled the weights of the patterns to give something more independent of pattern length; and make . less likely to win. Question: which should win for 14102241145-- _1xxxxxxx.   or  _XXXXXXXXXXX  -- right now, the pure X pattern will win.
................
r89273 | tilghman | 2007-11-14 17:59:05 -0500 (Wed, 14 Nov 2007) | 5 lines

Add callerid to the Hangup manager event.
Reported by: outtolunc
Patch by: outtolunc
Closes issue #11248

................
r89274 | tilghman | 2007-11-14 18:08:54 -0500 (Wed, 14 Nov 2007) | 2 lines

Typo

................
r89276 | tilghman | 2007-11-14 19:01:22 -0500 (Wed, 14 Nov 2007) | 13 lines

Merged revisions 89275 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89275 | tilghman | 2007-11-14 17:23:58 -0600 (Wed, 14 Nov 2007) | 5 lines

When a recording ends with '#', we are improperly trimming an extra 200ms from the recording.
Reported by: sim
Patch by: tilghman
Closes issue #11247

........

................
r89277 | murf | 2007-11-14 20:42:12 -0500 (Wed, 14 Nov 2007) | 1 line

Had trouble playing with parking; spent a long time trying to reason out MATCHMORE mode. made these updates and xfers on zaptel lines seem to work ok now
................
r89278 | oej | 2007-11-15 05:21:41 -0500 (Thu, 15 Nov 2007) | 8 lines

Add support for application/dtmf SIP INFO dtmf handling. Yep, another
way of handling DTMF in SIP. Totally undocumented, but implemented
in enough devices so we have to support it. 

Code by sergee, small changes by oej.

Closes issue #11049

................
r89279 | oej | 2007-11-15 05:26:00 -0500 (Thu, 15 Nov 2007) | 2 lines

Exit early instead of deciding to exit after processing the message.

................
r89282 | oej | 2007-11-15 06:27:19 -0500 (Thu, 15 Nov 2007) | 13 lines

Merged revisions 89280 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89280 | oej | 2007-11-15 12:15:09 +0100 (Tor, 15 Nov 2007) | 5 lines

Improve support for multipart messages. Code by gasparz, changes
by me (mostly formatting). Thanks, gasparz!

Closes issue #10947

........

................
r89283 | oej | 2007-11-15 06:31:27 -0500 (Thu, 15 Nov 2007) | 14 lines

Merged revisions 89281 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89281 | oej | 2007-11-15 12:26:22 +0100 (Tor, 15 Nov 2007) | 6 lines

Don't send re-invites during pending INVITE transactions.

Patch by one47 - thanks!

Closes issue #9305

........

................
r89285 | oej | 2007-11-15 07:21:57 -0500 (Thu, 15 Nov 2007) | 5 lines

Always relying on the responses when crossing NAT's are not a good
solution, it breaks communication.
Rizzo - you need to implement a configuration option for this 
code. It's good, but maybe should be off by default.

................
r89287 | mmichelson | 2007-11-15 09:55:35 -0500 (Thu, 15 Nov 2007) | 12 lines

Merged revisions 89286 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89286 | mmichelson | 2007-11-15 08:54:10 -0600 (Thu, 15 Nov 2007) | 4 lines

Adding a missing mutex unlock.

(closes issue 11256, reported and patched by ys)

........

................
r89289 | mmichelson | 2007-11-15 09:58:30 -0500 (Thu, 15 Nov 2007) | 11 lines

Merged revisions 89288 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89288 | mmichelson | 2007-11-15 08:57:28 -0600 (Thu, 15 Nov 2007) | 3 lines

Undoing previous commit since I realize it was wrong


........

................
r89290 | file | 2007-11-15 10:21:04 -0500 (Thu, 15 Nov 2007) | 2 lines

And file said... let trunk build again! Accomplished by some more constification, and marking a function in chan_sip as purposely unused until it is fixed up.

................
r89291 | file | 2007-11-15 10:39:03 -0500 (Thu, 15 Nov 2007) | 2 lines

Fix typo in UPGRADE.txt. 'increase' should have been used, not 'increasing'.

................
r89293 | rizzo | 2007-11-15 11:20:47 -0500 (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 11:30:13 -0500 (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 11:50:16 -0500 (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 12:27:27 -0500 (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 13:11:36 -0500 (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 13:15:48 -0500 (Thu, 15 Nov 2007) | 2 lines

Fix trunk breakage due to chan->lock being renamed.

................
r89303 | tilghman | 2007-11-15 13:39:46 -0500 (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 13:49:31 -0500 (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 18:50:15 -0500 (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 03:54:04 -0500 (Fri, 16 Nov 2007) | 1 line

fixed compilation of chan_misdn, #11269, thanks IgorG.
................
r89320 | rizzo | 2007-11-16 04:51:41 -0500 (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 05:06:55 -0500 (Fri, 16 Nov 2007) | 1 line

fixed #10631, about one way audio. thanks IgorG again.
................
r89322 | rizzo | 2007-11-16 05:07:24 -0500 (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 10:44:27 -0500 (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 11:56:59 -0500 (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 12:11:43 -0500 (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 13:48:15 -0500 (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 13:59:02 -0500 (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 14:26:54 -0500 (Fri, 16 Nov 2007) | 1 line

This corrects a hashtab removal, given a bad argument
................
r89331 | mmichelson | 2007-11-16 14:41:15 -0500 (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 14:51:47 -0500 (Fri, 16 Nov 2007) | 3 lines

Fixing a problem pointed out by Qwell


................
r89333 | rizzo | 2007-11-16 15:04:58 -0500 (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 15:15:21 -0500 (Fri, 16 Nov 2007) | 3 lines

put back default optimization to -O6 (previously changed by mistake)


................
r89335 | rizzo | 2007-11-16 15:28:19 -0500 (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 16:08:28 -0500 (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 16:23:50 -0500 (Fri, 16 Nov 2007) | 3 lines

logger.h does not need options.h


................
r89340 | russell | 2007-11-16 17:33:24 -0500 (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 17:37:17 -0500 (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 18:28:28 -0500 (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 18:33:32 -0500 (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 18:44:14 -0500 (Fri, 16 Nov 2007) | 2 lines

Fix broken parking dial-back

................
r89348 | rizzo | 2007-11-16 18:54:45 -0500 (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 19:02:33 -0500 (Fri, 16 Nov 2007) | 3 lines

more removal of duplicate #include lines


................
r89350 | rizzo | 2007-11-16 19:31:32 -0500 (Fri, 16 Nov 2007) | 3 lines

add check for the presence of glob


................
r89351 | rizzo | 2007-11-16 20:49:26 -0500 (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 21:50:52 -0500 (Fri, 16 Nov 2007) | 2 lines

compatibility fix for mingw32

................
r89353 | rizzo | 2007-11-16 21:54:23 -0500 (Fri, 16 Nov 2007) | 2 lines

this script is run on the build system, not on the host.

................
r89354 | rizzo | 2007-11-16 21:57:40 -0500 (Fri, 16 Nov 2007) | 3 lines

use autoconf to check for the existence of sys/poll.h


................
r89355 | rizzo | 2007-11-16 22:07:06 -0500 (Fri, 16 Nov 2007) | 2 lines

use poll as detected by configure

................
r89356 | rizzo | 2007-11-16 22:28:31 -0500 (Fri, 16 Nov 2007) | 3 lines

provide definitions for __LITTLE_ENDIAN and __BIG_ENDIAN if not present.


................
r89357 | rizzo | 2007-11-16 23:17:53 -0500 (Fri, 16 Nov 2007) | 3 lines

add detection for timersub() and winsock.h/winsock2.h


................
r89358 | rizzo | 2007-11-16 23:19:02 -0500 (Fri, 16 Nov 2007) | 3 lines

linker flags for mingw32


................
r89359 | russell | 2007-11-17 01:07:57 -0500 (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 01:09:42 -0500 (Sat, 17 Nov 2007) | 2 lines

actually let this compile, oops :(

................
r89361 | russell | 2007-11-17 01:33:07 -0500 (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 01:34:10 -0500 (Sat, 17 Nov 2007) | 1 line

fix the build of pbx_lua
................
r89363 | rizzo | 2007-11-17 04:30:22 -0500 (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 04:37:12 -0500 (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 04:44:14 -0500 (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 04:48:45 -0500 (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 04:51:45 -0500 (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 04:54:54 -0500 (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 05:12:43 -0500 (Sat, 17 Nov 2007) | 2 lines

these linker flags apply to both cygwin and mingw32

................
r89370 | rizzo | 2007-11-17 05:26:21 -0500 (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 05:28:55 -0500 (Sat, 17 Nov 2007) | 3 lines

compatibility fixes for cygwin


................
r89372 | rizzo | 2007-11-17 05:32:56 -0500 (Sat, 17 Nov 2007) | 2 lines

use autoconf results to conditionally compile timersub

................
r89373 | rizzo | 2007-11-17 05:54:52 -0500 (Sat, 17 Nov 2007) | 3 lines

more cygwin/mingw32 compatibility fixes


................
r89374 | rizzo | 2007-11-17 06:08:58 -0500 (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 06:10:16 -0500 (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 06:57:52 -0500 (Sat, 17 Nov 2007) | 3 lines

support cygwin targets


................
r89377 | rizzo | 2007-11-17 07:33:15 -0500 (Sat, 17 Nov 2007) | 3 lines

conditional targets for building the windows version


................
r89378 | rizzo | 2007-11-17 07:44:22 -0500 (Sat, 17 Nov 2007) | 3 lines

main is called main not amain!


................
r89379 | rizzo | 2007-11-17 09:00:24 -0500 (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 09:11:53 -0500 (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 09:44:03 -0500 (Sat, 17 Nov 2007) | 3 lines

wrong variable, wrong order -> broken build.


................
r89382 | rizzo | 2007-11-17 09:45:46 -0500 (Sat, 17 Nov 2007) | 2 lines

fix breakage induced by previous mistake

................
r89383 | rizzo | 2007-11-17 09:47:33 -0500 (Sat, 17 Nov 2007) | 2 lines

remove unnecessary includes

................
r89384 | rizzo | 2007-11-17 11:18:53 -0500 (Sat, 17 Nov 2007) | 3 lines

trim more redundant headers


................
r89385 | rizzo | 2007-11-17 11:32:18 -0500 (Sat, 17 Nov 2007) | 3 lines

prefer socket.h over other variants (winsock etc.)


................
r89387 | rizzo | 2007-11-17 12:27:26 -0500 (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 12:46:36 -0500 (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 14:00:07 -0500 (Sat, 17 Nov 2007) | 2 lines

reformulate dependencies in a more correct way

................
r89390 | rizzo | 2007-11-17 14:27:51 -0500 (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 14:29:04 -0500 (Sat, 17 Nov 2007) | 2 lines

temporarily disable this target in mingw

................
r89392 | rizzo | 2007-11-17 14:29:54 -0500 (Sat, 17 Nov 2007) | 3 lines

if alloca.h is not present, try malloc.h


................
r89393 | mattf | 2007-11-17 16:47:48 -0500 (Sat, 17 Nov 2007) | 1 line

Add SS7 Generic address support (#11156)
................
r89394 | file | 2007-11-17 18:03:16 -0500 (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 11:43:08 -0500 (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 12:01:41 -0500 (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 12:03:38 -0500 (Sun, 18 Nov 2007) | 2 lines

Revert last commit, apparently buildbot lied to me.

................
r89398 | file | 2007-11-18 12:49:40 -0500 (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 16:50:58 -0500 (Sun, 18 Nov 2007) | 2 lines

Add OSX into the logic that uses md5 instead of md5sum.

................
r89404 | oej | 2007-11-19 03:34:26 -0500 (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 03:41:14 -0500 (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 04:12:27 -0500 (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 04:16:56 -0500 (Mon, 19 Nov 2007) | 2 lines

Update CHANGES

................
r89410 | file | 2007-11-19 09:03:30 -0500 (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 09:36:12 -0500 (Mon, 19 Nov 2007) | 3 lines

revert inclusion of options.h


................
r89417 | file | 2007-11-19 10:27:08 -0500 (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 10:55:08 -0500 (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 11:29:07 -0500 (Mon, 19 Nov 2007) | 3 lines

Adding SYSINFO() dialplan function for retrieval of system information


................
r89422 | murf | 2007-11-19 12:18:26 -0500 (Mon, 19 Nov 2007) | 1 line

a correction to code involved in an extension removal
................
r89424 | rizzo | 2007-11-19 13:52:04 -0500 (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 14:09:03 -0500 (Mon, 19 Nov 2007) | 3 lines

another bunch of include removals (errno.h and asterisk/logger.h)


................
r89426 | rizzo | 2007-11-19 14:36:32 -0500 (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 14:41:16 -0500 (Mon, 19 Nov 2007) | 2 lines

format handlers don't need network, lock, channel and scheduler headers

................
r89428 | rizzo | 2007-11-19 14:51:55 -0500 (Mon, 19 Nov 2007) | 2 lines

remove some useless includes from codecs

................
r89429 | tilghman | 2007-11-19 15:13:40 -0500 (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 15:42:06 -0500 (Mon, 19 Nov 2007) | 2 lines

remove some unnecessary includes.

................
r89431 | rizzo | 2007-11-19 16:04:04 -0500 (Mon, 19 Nov 2007) | 2 lines

remove unnecessary headers

................
r89432 | rizzo | 2007-11-19 16:12:08 -0500 (Mon, 19 Nov 2007) | 2 lines

more errno.h removal

................
r89433 | rizzo | 2007-11-19 16:18:14 -0500 (Mon, 19 Nov 2007) | 2 lines

another few errno.h removals

................
r89438 | murf | 2007-11-19 17:55:38 -0500 (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 18:03:02 -0500 (Mon, 19 Nov 2007) | 2 lines

Make the SYSINFO documentation reflect which options were compiled in

................
r89440 | russell | 2007-11-19 18:03:37 -0500 (Mon, 19 Nov 2007) | 3 lines

Be a bit more pedantic about the type for holding the md5 sum for the build options.

[... 40005 lines stripped ...]



More information about the svn-commits mailing list