[asterisk-commits] simon.perreault: branch group/v6 r92161 - in /team/group/v6/trunk: ./ apps/ b...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Dec 10 08:33:08 CST 2007
Author: simon.perreault
Date: Mon Dec 10 08:33:07 2007
New Revision: 92161
URL: http://svn.digium.com/view/asterisk?view=rev&rev=92161
Log:
Merged revisions 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,90156-90158,90162,90164,90232,90270,90311,90351,90388,90410,90433,90471,90508,90528,90547,90550,90589,90591,90631,90644,90656,90670,90697,90737-90738,90746,90760,90799,90834,90851-90854,90873,90877-90880,90899,90927-90930,90949,90991,90993,91010-91012,91029,91033,91069,91077,91114,91131,91133,91151-91152,91171-91173,91193,91197,91238,91291,91293,91328,91347-91348,91384-91388,91406-91409,91420,91438,91440,91458,91472,91502,91561,91579,91598,91617-91618,91638,91676,91678,91700,91738,91778-91779,91781-91782,91784,91827,91829,91831-91832,91891,91929-91931,91951-91953,91962,91983,92002,9
2022-92023,92042,92062-92063,92082-92084,92103-92104,92122,92140 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r89576 | file | 2007-11-26 10:28:13 -0500 (Mon, 26 Nov 2007) | 6 lines
Make the behavior of using /dev/urandom for random numbers the same as random().
(closes issue #11348)
Reported by: sperreault
Patches:
ast_random2.diff uploaded by sperreault (license 252)
................
r89578 | file | 2007-11-26 10:36:27 -0500 (Mon, 26 Nov 2007) | 14 lines
Merged revisions 89577 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89577 | file | 2007-11-26 11:34:38 -0400 (Mon, 26 Nov 2007) | 6 lines
If channel allocation fails because the alert pipe could not be created also free the scheduler context.
(closes issue #11355)
Reported by: eliel
Patches:
main.channel.c.patch uploaded by eliel (license 64)
........
................
r89581 | mmichelson | 2007-11-26 10:50:37 -0500 (Mon, 26 Nov 2007) | 14 lines
Merged revisions 89580 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89580 | mmichelson | 2007-11-26 09:48:06 -0600 (Mon, 26 Nov 2007) | 6 lines
Revert vmu->email back to an empty string if it was empty when imap_store_file
was called. This prevents sending a duplicate e-mail.
(closes issue #11204, reported by spditner, patched by me)
........
................
r89582 | file | 2007-11-26 11:20:04 -0500 (Mon, 26 Nov 2007) | 2 lines
Revert change for 11348 until it can be looked at even more.
................
r89583 | murf | 2007-11-26 11:24:27 -0500 (Mon, 26 Nov 2007) | 1 line
Thanks to pnlarsson for noting the spelling error in the cli commands. Also, added some verbage about the new algorithm to CHANGES.
................
r89588 | kpfleming | 2007-11-26 12:21:37 -0500 (Mon, 26 Nov 2007) | 10 lines
Merged revisions 89586 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89586 | kpfleming | 2007-11-26 11:20:36 -0600 (Mon, 26 Nov 2007) | 2 lines
when parsing application options that take arguments, don't indicate that the option was supplied unless a non-zero-length argument was found for it
........
................
r89589 | file | 2007-11-26 12:23:28 -0500 (Mon, 26 Nov 2007) | 14 lines
Merged revisions 89587 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89587 | file | 2007-11-26 13:20:58 -0400 (Mon, 26 Nov 2007) | 6 lines
Close the audio file before sending it to the post processing application.
(closes issue #11357)
Reported by: reformed
Patches:
mixmonitor.patch uploaded by reformed (license 330)
........
................
r89590 | russell | 2007-11-26 12:25:08 -0500 (Mon, 26 Nov 2007) | 1 line
make sure we check to see if the configure script has been executed on a new checkout or after a distclean
................
r89591 | murf | 2007-11-26 12:26:01 -0500 (Mon, 26 Nov 2007) | 1 line
closes issue #11356; Many thanks to snuffy for his code review and changes to cut down duplication. I tested this against hashtest, and it passes. I reviewed the changes, and they look reasonable. I had to remove a few const decls to make things compile on my workstation,
................
r89593 | file | 2007-11-26 12:38:57 -0500 (Mon, 26 Nov 2007) | 14 lines
Merged revisions 89592 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89592 | file | 2007-11-26 13:36:45 -0400 (Mon, 26 Nov 2007) | 6 lines
Use ast_free to free memory, or else we shall implode if MALLOC_DEBUG is enabled.
(closes issue #11347)
Reported by: ys
Patches:
pbx.pbx_config.c.diff uploaded by ys (license 281)
........
................
r89595 | murf | 2007-11-26 12:46:41 -0500 (Mon, 26 Nov 2007) | 1 line
closes issue #11341; made changes to make utils again right with the MTX_PROFILE world.
................
r89596 | russell | 2007-11-26 12:49:47 -0500 (Mon, 26 Nov 2007) | 11 lines
Merged revisions 89594 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89594 | russell | 2007-11-26 11:41:04 -0600 (Mon, 26 Nov 2007) | 3 lines
Add channel locking to a function that needed to be doing it. This is just a
little something I noticed while working on a completely unrelated issue.
........
................
r89600 | file | 2007-11-26 13:04:46 -0500 (Mon, 26 Nov 2007) | 14 lines
Merged revisions 89599 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89599 | file | 2007-11-26 14:02:56 -0400 (Mon, 26 Nov 2007) | 6 lines
Add module counting removal for error conditions.
(closes issue #11333)
Reported by: Laureano
Patches:
res_features_v2.c.patch uploaded by Laureano (license 265)
........
................
r89602 | file | 2007-11-26 13:11:31 -0500 (Mon, 26 Nov 2007) | 2 lines
Perform some module use counting audits. This is now done outside the scope of the application/dialplan function so they do not need to worry about it.
................
r89606 | oej | 2007-11-26 14:24:23 -0500 (Mon, 26 Nov 2007) | 8 lines
- Mark "concise" as deprecated
- Restructure other changes to UPGRADE.txt and CHANGES
We're still looking for scripts that replace
asterisk -rx "show shannels concise"
by using the manager interface, but still produces the same output.
Anyone?
................
r89607 | oej | 2007-11-26 15:19:50 -0500 (Mon, 26 Nov 2007) | 2 lines
Start using Doxygen groupings to group variables and defines.
................
r89609 | oej | 2007-11-26 15:55:09 -0500 (Mon, 26 Nov 2007) | 2 lines
Formatting changes, cleaning up some code
................
r89611 | oej | 2007-11-26 16:12:50 -0500 (Mon, 26 Nov 2007) | 2 lines
Formatting, doxygenification
................
r89612 | file | 2007-11-26 16:14:07 -0500 (Mon, 26 Nov 2007) | 10 lines
Merged revisions 89610 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89610 | file | 2007-11-26 17:10:29 -0400 (Mon, 26 Nov 2007) | 2 lines
Fix issues with async dialing with an application executing. The application has to be terminated and control returned to the thread before hanging things up. (issue #BE-252)
........
................
r89613 | oej | 2007-11-26 16:23:48 -0500 (Mon, 26 Nov 2007) | 3 lines
Rename "limitonpeer" to "counteronpeer" since the call-limit is deprecated.
Both still works in this version.
................
r89615 | russell | 2007-11-26 17:52:36 -0500 (Mon, 26 Nov 2007) | 5 lines
Update the configure script check for libpri to check for the newest function
that was just added.
Cresl1n, please keep this in mind when making these changes to libpri or libss7.
................
r89617 | mmichelson | 2007-11-26 18:05:12 -0500 (Mon, 26 Nov 2007) | 12 lines
Blocked revisions 89616 via svnmerge
........
r89616 | mmichelson | 2007-11-26 17:02:30 -0600 (Mon, 26 Nov 2007) | 5 lines
After issuing a "say load new" tons of warning messages are printed
out to the CLI every time do_say in app_playback is called. Removing these
warnings
........
................
r89619 | mmichelson | 2007-11-26 18:11:29 -0500 (Mon, 26 Nov 2007) | 15 lines
Merged revisions 89618 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89618 | mmichelson | 2007-11-26 17:10:49 -0600 (Mon, 26 Nov 2007) | 7 lines
After issuing a "say load new", if a caller hangs up during the middle of playback of a number,
app_playback will continue to try to play the remaining files. With this change, no more files will
be played back upon hangup.
(closes issue #11345, reported and patched by IgorG)
........
................
r89621 | mmichelson | 2007-11-26 18:15:53 -0500 (Mon, 26 Nov 2007) | 6 lines
Change all instances of "CALLERID(number)" to "CALLERID(num)" for
consistency's sake
(closes issue #11381, reported and patched by jon)
................
r89623 | murf | 2007-11-27 01:47:08 -0500 (Tue, 27 Nov 2007) | 9 lines
Merged revisions 89622 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89622 | murf | 2007-11-26 23:24:02 -0700 (Mon, 26 Nov 2007) | 1 line
closes issue #11379; OK, this is an attempt to make both sides happy. To the cdr.conf file, I added the option 'unanswered', which defaults to 'no'. In this mode, you will see a cdr for a call, whether it was answered or not. The disposition will be NO ANSWER or ANSWERED, as appropriate. The src is as you'd expect, the destination channel will be one of the channels from the Dial() call, usually the last in the list if more than one chan was specified. With unanswered set to 'yes', you will still see this cdr entry in both cases. But in the case where the dial timed out, you will also see a cdr for each line attempted, marked NO ANSWER, with no destination channel name. The new option defaults to 'no', so you don't see the pesky extra cdr's by default, and you will not see the irritating 'not posted' messages.
........
................
r89625 | oej | 2007-11-27 02:36:54 -0500 (Tue, 27 Nov 2007) | 14 lines
Merged revisions 89624 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89624 | oej | 2007-11-27 08:34:19 +0100 (Tis, 27 Nov 2007) | 6 lines
Clarify limitonpeers=yes
(closes issue #11304)
Reported by: pj
........
................
r89632 | tilghman | 2007-11-27 10:41:46 -0500 (Tue, 27 Nov 2007) | 11 lines
Merged revisions 89631 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89631 | tilghman | 2007-11-27 09:38:03 -0600 (Tue, 27 Nov 2007) | 3 lines
Default result of STAT should be "0" not "".
Reported via the -users mailing list, fixed by me.
........
................
r89635 | russell | 2007-11-27 11:13:14 -0500 (Tue, 27 Nov 2007) | 11 lines
Merged revisions 89634 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89634 | russell | 2007-11-27 10:12:33 -0600 (Tue, 27 Nov 2007) | 3 lines
Add a note to the sample voicemail config noting that when using IMAP storage,
only the first format specified will be attached to the message.
........
................
r89637 | file | 2007-11-27 12:01:19 -0500 (Tue, 27 Nov 2007) | 4 lines
Ensure the value returned from ast_random is between 0 and RAND_MAX on 64-bit platforms.
(closes issue #11348)
Reported by: sperreault
................
r89682 | murf | 2007-11-27 13:50:44 -0500 (Tue, 27 Nov 2007) | 1 line
made AEL 8-bit transparent; mainly the lexer was tossing chars with the hi-order bit set. Not nice. Also, allow @ in extension names, and a backslash, also.
................
r89683 | qwell | 2007-11-27 14:12:33 -0500 (Tue, 27 Nov 2007) | 8 lines
Add an S_COR macro, which is similar to the existing S_OR macro,
except with an additional boolean arg.
A hack such as:
foo ? S_OR(bar, "baz") : "baz"
becomes:
S_COR(foo, bar, "baz")
................
r89698 | oej | 2007-11-27 14:24:17 -0500 (Tue, 27 Nov 2007) | 24 lines
The following patch with updates for trunk. Works much better in trunk.
Also by accident fixed a bad typo by a previous committer, which actually made video calls
not work fully...
Merged revisions 89630 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89630 | oej | 2007-11-27 16:23:17 +0100 (Tis, 27 Nov 2007) | 12 lines
If we get a codec offer using a well-known payload type, but using it for another
codec that we don't know, Asterisk did not remove that codec from the list.
With this patch, we remove the codec from audio and video rtp objects and
deny it ever existed. Thanks to lasse for testing.
(closes issue #11376)
Reported by: lasse
Patches:
bug11376.txt uploaded by oej (license 306)
Tested by: lasse
........
................
r89702 | oej | 2007-11-27 14:45:39 -0500 (Tue, 27 Nov 2007) | 3 lines
Starting to merge changes from the "moremanager" branch. Documentation will
follow.
................
r89704 | kpfleming | 2007-11-27 14:47:19 -0500 (Tue, 27 Nov 2007) | 10 lines
Merged revisions 89701 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89701 | kpfleming | 2007-11-27 13:36:55 -0600 (Tue, 27 Nov 2007) | 2 lines
generate a warning when an application option that requires an argument is ignored due to lack of an argument
........
................
r89706 | oej | 2007-11-27 14:50:12 -0500 (Tue, 27 Nov 2007) | 2 lines
Manager events from the "moremanager" branch
................
r89710 | russell | 2007-11-27 15:17:36 -0500 (Tue, 27 Nov 2007) | 1 line
remove a duplicate manager event
................
r89721 | kpfleming | 2007-11-27 15:21:57 -0500 (Tue, 27 Nov 2007) | 10 lines
Merged revisions 89709 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89709 | kpfleming | 2007-11-27 14:16:56 -0600 (Tue, 27 Nov 2007) | 2 lines
on second thought... revert all the other changes i've made in app options parsing leaving only one: if an empty argument is supplied for an option, set that argument pointer to point to an empty string rather than NULL, so that the application can do normal checks on it without worrying about it being NULL
........
................
r89733 | mmichelson | 2007-11-27 15:24:08 -0500 (Tue, 27 Nov 2007) | 13 lines
Blocked revisions 89727 via svnmerge
........
r89727 | mmichelson | 2007-11-27 14:22:59 -0600 (Tue, 27 Nov 2007) | 6 lines
Changing some calls from free() to ast_free() since they were allocated with
ast_calloc().
(closes issue #11390, reported and patched by Laureano)
........
................
r89769 | oej | 2007-11-27 15:36:59 -0500 (Tue, 27 Nov 2007) | 2 lines
More additions from the "moremanager" branch, this time for IAX2.
................
r89770 | oej | 2007-11-27 15:50:48 -0500 (Tue, 27 Nov 2007) | 3 lines
More "moremanager" changes - doxygen docs and changing manager version (finally)
before making more dramatic changes.
................
r89771 | oej | 2007-11-27 16:04:29 -0500 (Tue, 27 Nov 2007) | 2 lines
More "moremanager" fixes. Manager commands to check module status.
................
r89772 | oej | 2007-11-27 16:10:50 -0500 (Tue, 27 Nov 2007) | 2 lines
A few more "moremanager" fixes
................
r89791 | russell | 2007-11-27 17:05:36 -0500 (Tue, 27 Nov 2007) | 49 lines
Merged revisions 89790 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89790 | russell | 2007-11-27 15:45:51 -0600 (Tue, 27 Nov 2007) | 41 lines
Merge changes from team/russell/autoservice_1.4
This set of changes fixes an issue that was reported to me on IRC yesterday.
The user, d1mas, was using chan_zap for incoming calls and was having DTMF
recognition issues in some situations. Specifically, he noticed that the
problem occurred when using DISA or WaitExten. He also noticed that when
using Read, the problem did not occur. His system also used DUNDi for
dialplan lookups.
So, he theorized that if the DUNDi lookups blocked for some period of time,
that audio from the zap channel could get lost. If the audio got lost, then
it wouldn't be run through the DTMF detector, and digits could get lost.
He was correct, and the following set of changes fixes the problem. However,
the changes go a little bit further than what was necessary to fix this exact
problem.
1) I updated pbx_extension_helper() to autoservice the associated channel to
handle cases where extension lookups may take a long time. This would
normally be a dialplan switch that does some lookup over the network, such
as the DUNDi or IAX2 switches.
This ensures that even while a DUNDi lookup is blocking, the channel will be
continuously serviced.
2) I made a change to the autoservice code. This is actually something that
has bothered me for a long time. When a channel is in autoservice, _all_
frames get thrown away. However, some frames really shouldn't be thrown
away. The most notable examples are signalling (CONTROL) frames, and DTMF.
So, this patch queues up important frames while a channel is in autoservice.
When autoservice is stopped on the channel, the queued up frames get stuck
back on the channel so that they can get processed instead of thrown away.
3) I made another change to the autoservice code to handle the case where
autoservice is started on channels recursively.
Previously, you could call ast_autoservice_start() multiple times on a
channel, and it would stop the first time ast_autoservice_stop() gets
called. Now, it will ensure that autoservice doesn't actually stop until
the final call to ast_autoservice_stop().
........
................
r89792 | murf | 2007-11-27 17:14:55 -0500 (Tue, 27 Nov 2007) | 1 line
closes issue #11294; missed the conditional unlock of the contexts when the hash table is used instead; also, used the ast_free_ptr as advised.
................
r89835 | russell | 2007-11-27 17:42:57 -0500 (Tue, 27 Nov 2007) | 5 lines
Bring in a small change from team/russell/chan_refcount
This replaces tab completion code with the use of a public function that
does the same thing
................
r89838 | mmichelson | 2007-11-27 18:11:12 -0500 (Tue, 27 Nov 2007) | 20 lines
Merged revisions 89837 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89837 | mmichelson | 2007-11-27 17:10:05 -0600 (Tue, 27 Nov 2007) | 12 lines
Two changes with regards to the 'eventwhencalled' option of queues.conf
1) Due to some signed vs. unsigned silliness, setting 'eventwhencalled' to
'vars' or 'yes' did exactly the same thing. Thus the sign change of the
ast_true call.
2) The vars2manager function overwrote a \n for every channel variable it parsed, resulting
in bizarre output for the channel variables. This patch remedies this.
(related to issue #11385, however I'm not sure if this will actually be enough to close it)
........
................
r89840 | russell | 2007-11-27 18:17:36 -0500 (Tue, 27 Nov 2007) | 10 lines
Merged revisions 89839 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89839 | russell | 2007-11-27 17:16:00 -0600 (Tue, 27 Nov 2007) | 2 lines
Don't start/stop autoservice in pbx_extension_helper() unless a channel exists
........
................
r89847 | russell | 2007-11-27 18:21:38 -0500 (Tue, 27 Nov 2007) | 11 lines
Merged revisions 89844 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89844 | russell | 2007-11-27 17:21:13 -0600 (Tue, 27 Nov 2007) | 3 lines
Instead of depending on the return value of ast_true(), explicitly set the
eventwhencalled variable to 1.
........
................
r89887 | russell | 2007-11-27 18:50:25 -0500 (Tue, 27 Nov 2007) | 12 lines
Merge changes from team/russell/iax2_frame_queue
This patch is an optimization for chan_iax2. This module is now heavily
multi-threaded. However, there is still a good number of globally shared
resources that prevent things from happen asynchronously. One of those things
was the global IAX frame queue. This queue was used to hold frames that have
been deferred for transmitting by another thread, and frames that may need to
get retransmitted.
I changed the frame queue to be per-call, since almost all of the frame queue
handling only cares about frames specific to a call number.
................
r89888 | russell | 2007-11-27 18:50:58 -0500 (Tue, 27 Nov 2007) | 10 lines
Merged revisions 89886 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89886 | russell | 2007-11-27 17:47:28 -0600 (Tue, 27 Nov 2007) | 2 lines
Don't do frame processing if ast_read() returned NULL.
........
................
r89891 | russell | 2007-11-27 18:56:45 -0500 (Tue, 27 Nov 2007) | 3 lines
Document that the channel is not locked when the send_digit_begin and end
callbacks get called.
................
r89915 | russell | 2007-11-27 19:24:19 -0500 (Tue, 27 Nov 2007) | 12 lines
Merged revisions 89893 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89893 | russell | 2007-11-27 18:20:13 -0600 (Tue, 27 Nov 2007) | 4 lines
- update documentation for some of the goto functions to note that they
handle locking the channel as needed
- update ast_explicit_goto() to lock the channel as needed
........
................
r89946 | mmichelson | 2007-11-27 19:47:22 -0500 (Tue, 27 Nov 2007) | 24 lines
Adding support for realtime music on hold. The following are the main points:
1. When moh is started, we search first in memory to find the class. If we do not
find it in memory, we search realtime instead.
2. When moh is restarted (as in, it had been started on this particular channel, stopped,
and now we're starting it again), if using the "files" mode, then realtime will always
be rechecked. If you are using other modes, however, we will simply reattach to the external
running process which was playing moh earlier in the call. This is a necessary compromise so that
we don't end up with too many background processes.
3. musiconhold.conf has a general section now. It has one option: cachertclasses. If set to yes,
then moh classes found in realtime will be added to the in-memory list. This has the advantage
of not requiring database lookups each time moh is started, but it has the disadvantage of not
truly being realtime.
I have tested this for functionality, and it passes. I also tested this under valgrind and there
are no memory problems reported under typical use.
Special thanks to Sergee for implementing this feature and enduring my complaints on the bugtracker!
(closes issue #11196, reported and patched by sergee)
................
r89947 | russell | 2007-11-27 19:49:55 -0500 (Tue, 27 Nov 2007) | 6 lines
Merge some little changes from team/russell/chan_refcount to help reduce
the diff to trunk.
This just removes some checks on the return value of alloca(), as behavior
is undefined if it runs out of stack space, and we don't check it anywhere else.
................
r89981 | file | 2007-11-28 10:38:03 -0500 (Wed, 28 Nov 2007) | 6 lines
Fix a few log messages.
(closes issue #11396)
Reported by: IgorG
Patches:
spell.v1.diff uploaded by IgorG (license 20)
................
r89982 | file | 2007-11-28 10:48:00 -0500 (Wed, 28 Nov 2007) | 6 lines
Hide CLI commands starting with _ from tab completion as was done previously.
(closes issue #11395)
Reported by: eliel
Patches:
cli.c.patch uploaded by eliel (license 64)
................
r90000 | mmichelson | 2007-11-28 12:37:18 -0500 (Wed, 28 Nov 2007) | 13 lines
Blocked revisions 89999 via svnmerge
........
r89999 | mmichelson | 2007-11-28 11:30:47 -0600 (Wed, 28 Nov 2007) | 6 lines
Recording greetings when using IMAP storage was causing zero-length files to be stored.
Since greetings are not retrieved from IMAP anyway, it is pointless to attempt storing them there.
(closes issue #11359, reported by spditner, patched by me)
........
................
r90038 | qwell | 2007-11-28 15:27:40 -0500 (Wed, 28 Nov 2007) | 4 lines
Remove "old"-style CLI handler, since nothing uses it anymore.
Closes issue #11403, patch by eliel. This also completes the janitor project.
................
r90039 | murf | 2007-11-28 15:33:21 -0500 (Wed, 28 Nov 2007) | 1 line
Made expr2 parser 8-bit transparent
................
r90060 | mmichelson | 2007-11-28 17:10:36 -0500 (Wed, 28 Nov 2007) | 21 lines
Merged revisions 90059 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90059 | mmichelson | 2007-11-28 16:08:50 -0600 (Wed, 28 Nov 2007) | 13 lines
Removing some seemingly pointless code. This sets a channel variable for every priority
executed in the dialplan if you have debug set to anything non-zero. This seems pointless
due to the fact that these channel variables are not referenced anywhere else in the code and
their names are esoteric enough that they would not be practical to reference in the dialplan. Plus
the fact that this behavior isn't documented anywhere means that the change is not likely to cause
any disruption. If anything, this may actually cause a slight performance increase if running with
debug on.
The motivating influence for this code change is the eventwhencalled option for queues. If set to
vars, all channel variables will be output to the manager. These unnecessary channel variables make
the output a lot more difficult to deal with.
........
................
r90061 | mmichelson | 2007-11-28 17:17:38 -0500 (Wed, 28 Nov 2007) | 3 lines
Removing a pointless check of option_debug
................
r90099 | file | 2007-11-28 17:32:57 -0500 (Wed, 28 Nov 2007) | 2 lines
file says... compile before you commit!
................
r90100 | kpfleming | 2007-11-28 17:44:38 -0500 (Wed, 28 Nov 2007) | 10 lines
Merged revisions 90098 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90098 | kpfleming | 2007-11-28 16:30:46 -0600 (Wed, 28 Nov 2007) | 2 lines
it is impossible to set permissions for manager accounts created by users.conf (reported internally, patched by me)
........
................
r90102 | file | 2007-11-28 18:03:09 -0500 (Wed, 28 Nov 2007) | 14 lines
Merged revisions 90101 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90101 | file | 2007-11-28 18:59:28 -0400 (Wed, 28 Nov 2007) | 6 lines
Fix a few memory leaks.
(closes issue #11405)
Reported by: eliel
Patches:
load_realtime.patch uploaded by eliel (license 64)
........
................
r90139 | russell | 2007-11-28 18:47:26 -0500 (Wed, 28 Nov 2007) | 5 lines
Merge some channel.h doxygen updates from team/russell/chan_refcount
This was mostly to note whether a channel needed to be locked or not before
calling these functions. However, I added some other things, too.
................
r90141 | russell | 2007-11-28 18:57:30 -0500 (Wed, 28 Nov 2007) | 3 lines
Merge another small doxygen change from team/russell/chan_refcount to indicate
that a channel doesn't need to be locked before calling a certain function.
................
r90143 | russell | 2007-11-28 19:07:32 -0500 (Wed, 28 Nov 2007) | 12 lines
Merged revisions 90142 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90142 | russell | 2007-11-28 18:06:08 -0600 (Wed, 28 Nov 2007) | 4 lines
Merge a change from team/russell/chan_refcount ...
This makes ast_stopstream() thread-safe.
........
................
r90146 | russell | 2007-11-28 19:28:10 -0500 (Wed, 28 Nov 2007) | 13 lines
Merged revisions 90145 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90145 | russell | 2007-11-28 18:20:34 -0600 (Wed, 28 Nov 2007) | 5 lines
This set of changes is to make some callerID handling thread-safe.
The ast_set_callerid() function needed to lock the channel. Also, the handlers
for the CALLERID() dialplan function needed to lock the channel when reading
or writing callerid values directly on the channel structure.
........
................
r90148 | russell | 2007-11-28 19:37:22 -0500 (Wed, 28 Nov 2007) | 8 lines
Blocked revisions 90147 via svnmerge
........
r90147 | russell | 2007-11-28 18:36:59 -0600 (Wed, 28 Nov 2007) | 1 line
fix some formatting i accidentally changed
........
................
r90149 | kpfleming | 2007-11-29 08:30:50 -0500 (Thu, 29 Nov 2007) | 2 lines
restore behavior from the 1.4 branch... manager users created via users.conf should default to *all* permissions, not none
................
r90150 | kpfleming | 2007-11-29 08:38:11 -0500 (Thu, 29 Nov 2007) | 2 lines
let's try this again... *all* compilation and linking in Asterisk should be done using the standard compilation rules, not manually created ones. changing hashtest.c to use these rules caused the compiler to notice a large number of coding guidelines violations, so those are fixed too.
................
r90156 | tilghman | 2007-11-29 12:31:35 -0500 (Thu, 29 Nov 2007) | 10 lines
Merged revisions 90154 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90154 | tilghman | 2007-11-29 11:18:09 -0600 (Thu, 29 Nov 2007) | 2 lines
Upgrade the core sounds release version
........
................
r90157 | tilghman | 2007-11-29 12:42:21 -0500 (Thu, 29 Nov 2007) | 2 lines
Fix build of trunk
................
r90158 | tilghman | 2007-11-29 12:50:44 -0500 (Thu, 29 Nov 2007) | 13 lines
Merged revisions 90155 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90155 | tilghman | 2007-11-29 11:29:59 -0600 (Thu, 29 Nov 2007) | 5 lines
Use of "private" as a field name in a header file messes with C++ projects
Reported by: chewbacca
Patch by: casper
(Closes issue #11401)
........
................
r90162 | tilghman | 2007-11-29 14:35:49 -0500 (Thu, 29 Nov 2007) | 10 lines
Merged revisions 90160 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90160 | tilghman | 2007-11-29 13:24:11 -0600 (Thu, 29 Nov 2007) | 2 lines
Properly escape input buffers (Fixes AST-2007-025)
........
................
r90164 | mmichelson | 2007-11-29 14:39:31 -0500 (Thu, 29 Nov 2007) | 14 lines
Merged revisions 90163 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90163 | mmichelson | 2007-11-29 13:38:39 -0600 (Thu, 29 Nov 2007) | 6 lines
This patch handles the case where a queue member with a negative penalty is added
via the manager. If a negative value is submitted for a member penalty, we set it to 0.
(closes issue #11411, reported and patched by Laureano)
........
................
r90232 | mmichelson | 2007-11-29 19:16:45 -0500 (Thu, 29 Nov 2007) | 13 lines
Merged revisions 90231 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90231 | mmichelson | 2007-11-29 18:16:04 -0600 (Thu, 29 Nov 2007) | 5 lines
Clear the DTMF buffer if the call times out.
(closes issue #11418, reported and patched by eferro)
........
................
r90270 | file | 2007-11-30 09:45:36 -0500 (Fri, 30 Nov 2007) | 14 lines
Merged revisions 90269 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90269 | file | 2007-11-30 10:43:15 -0400 (Fri, 30 Nov 2007) | 6 lines
Fix locking issues under one legged replaces scenarios.
(closes issue #11420)
Reported by: irroot
Patches:
chan_sip_oneleg.patch uploaded by irroot (license 52)
........
................
r90311 | russell | 2007-11-30 13:47:14 -0500 (Fri, 30 Nov 2007) | 10 lines
Merged revisions 90310 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90310 | russell | 2007-11-30 12:46:46 -0600 (Fri, 30 Nov 2007) | 2 lines
Add some notes on the behavior of ao2_unlink() after a discussion with Tilghman
........
................
r90351 | russell | 2007-11-30 14:34:47 -0500 (Fri, 30 Nov 2007) | 16 lines
Merged revisions 90348 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90348 | russell | 2007-11-30 13:26:04 -0600 (Fri, 30 Nov 2007) | 8 lines
Change the behavior of ao2_link(). Previously, in inherited a reference.
Now, it automatically increases the reference count to reflect the reference
that is now held by the container.
This was done to be more consistent with ao2_unlink(), which automatically
releases the reference held by the container. It also makes it so it is
no longer possible for a pointer to be invalid after ao2_link() returns.
........
................
r90388 | mmichelson | 2007-11-30 16:19:57 -0500 (Fri, 30 Nov 2007) | 15 lines
Adding support for the "automixmonitor" dial and queue options.
This works in much the same way as the automonitor, except that instead of using the monitor
app, it uses the mixmonitor app. By providing an 'x' or 'X' as a dial or queue option, a DTMF
sequence may be entered (as defined in features.conf) to start the one-touch mixmonitor.
This patch also introduces some new API calls to the audiohooks code for searching for an audiohook
by type and for searching for a running audiohook by type.
Big thanks to joetester for writing the initial patch, testing it and patiently waiting for it to
be committed.
(closes issue #10185, reported and patched by xmarksthespot)
................
r90410 | qwell | 2007-11-30 20:37:50 -0500 (Fri, 30 Nov 2007) | 4 lines
Only reload if the config file has changed.
Closes issue #11281, patch by eliel.
................
r90433 | tilghman | 2007-12-02 04:42:48 -0500 (Sun, 02 Dec 2007) | 15 lines
Merged revisions 90432 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90432 | tilghman | 2007-12-02 03:34:23 -0600 (Sun, 02 Dec 2007) | 7 lines
Clarify the return value on autoservice. Specifically, if you started
autoservice and autoservice was already on, it would erroneously return an
error.
Reported by: adiemus
Patch by: dimas
(Closes issue #11433)
........
................
r90471 | russell | 2007-12-02 13:20:13 -0500 (Sun, 02 Dec 2007) | 14 lines
Merged revisions 90470 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90470 | russell | 2007-12-02 12:18:52 -0600 (Sun, 02 Dec 2007) | 6 lines
The other day when I went through making changes as a result of the ao2_link()
change, I added some code to set pointers to NULL after they were unreferenced.
This pointed out that in this place, the object was unreferenced before the
code was done using it. So, move the unref down a little bit.
(crash reported by jmls on IRC)
........
................
r90508 | file | 2007-12-03 09:14:43 -0500 (Mon, 03 Dec 2007) | 4 lines
Remove the file descriptors from the main poll channel when the channel is hung up during the dialing attempt, and make sure a channel exists before trying to remove it at the end.
(closes issue #11441)
Reported by: blitzrage
................
r90528 | mmichelson | 2007-12-03 11:46:01 -0500 (Mon, 03 Dec 2007) | 6 lines
Updating sample queues.conf file to show how multiple periodic announcements
may be specified since this was not documented previously
(closes issue #11432, reported and patched by Laureano)
................
r90547 | qwell | 2007-12-03 13:21:49 -0500 (Mon, 03 Dec 2007) | 11 lines
Blocked revisions 90546 via svnmerge
........
r90546 | qwell | 2007-12-03 12:20:49 -0600 (Mon, 03 Dec 2007) | 4 lines
Only log debug messages if debug is enabled.
Closes issue #11416, patch by casper.
........
................
r90550 | file | 2007-12-03 13:44:16 -0500 (Mon, 03 Dec 2007) | 10 lines
Merged revisions 90548 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90548 | file | 2007-12-03 14:40:56 -0400 (Mon, 03 Dec 2007) | 2 lines
Preserve the indication currently playing on a channel when a masquerade operation happens. (issue #BE-88)
........
................
r90589 | file | 2007-12-03 15:07:34 -0500 (Mon, 03 Dec 2007) | 10 lines
Merged revisions 90588 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90588 | file | 2007-12-03 16:05:42 -0400 (Mon, 03 Dec 2007) | 2 lines
Do not create a smoother for G723.1 frames, they need to be left alone to their native 20/24 byte size.
........
................
r90591 | tilghman | 2007-12-03 15:30:02 -0500 (Mon, 03 Dec 2007) | 2 lines
Avoid an additional function call. Reported by: eliel Patch by: eliel (Closes issue #11438)
................
r90631 | qwell | 2007-12-03 15:58:26 -0500 (Mon, 03 Dec 2007) | 13 lines
Merged revisions 90607 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
(Closes issue #11436)
........
r90607 | qwell | 2007-12-03 14:51:17 -0600 (Mon, 03 Dec 2007) | 4 lines
Fix crash in ParkAndAnnounce application.
Issue #11436, reported by lytledd, patch by eliel.
........
................
r90644 | mmichelson | 2007-12-03 16:00:44 -0500 (Mon, 03 Dec 2007) | 13 lines
Merged revisions 90639 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90639 | mmichelson | 2007-12-03 14:59:51 -0600 (Mon, 03 Dec 2007) | 5 lines
Changing some bad logic when calculating the interdigit timeout.
(closes issue #11402, reported and patched by eferro)
........
................
r90656 | file | 2007-12-03 16:03:05 -0500 (Mon, 03 Dec 2007) | 2 lines
Add AGI commands for speech recognition. These mirror the dialplan applications mostly but present the information in a nicer fashion. The SPEECH RECOGNIZE command for example will return the results instead of having to query the dialplan functions.
................
r90670 | mmichelson | 2007-12-03 16:24:56 -0500 (Mon, 03 Dec 2007) | 5 lines
Replacing some calls to free() with ast_free().
(closes issue #11448, reported and patched by jaroth)
................
r90697 | qwell | 2007-12-03 17:07:57 -0500 (Mon, 03 Dec 2007) | 13 lines
Merged revisions 90696 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
(Closes issue #11383)
........
r90696 | qwell | 2007-12-03 16:06:36 -0600 (Mon, 03 Dec 2007) | 4 lines
Make sure we always close the conference fd if we have an open one.
Issue 11383, reported by markmhy, patch by eliel.
........
................
r90737 | tilghman | 2007-12-03 18:29:57 -0500 (Mon, 03 Dec 2007) | 13 lines
Merged revisions 90736 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90736 | tilghman | 2007-12-03 17:23:55 -0600 (Mon, 03 Dec 2007) | 5 lines
If both dbhost and dbsock were not set, a NULL deref could result
Reported by: xrg
Patch by: tilghman
(Closes issue #11387)
........
................
r90738 | qwell | 2007-12-03 18:48:04 -0500 (Mon, 03 Dec 2007) | 4 lines
Add manager events for when a monitor is started or stopped.
Closes issue #10191, patch by dgradecak.
................
r90746 | murf | 2007-12-03 18:49:40 -0500 (Mon, 03 Dec 2007) | 1 line
A small fix from snuffy
................
r90760 | tilghman | 2007-12-03 18:52:23 -0500 (Mon, 03 Dec 2007) | 13 lines
Merged revisions 90753 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90753 | tilghman | 2007-12-03 17:50:51 -0600 (Mon, 03 Dec 2007) | 5 lines
Solaris requires the inclusion of sys/loadavg.h for getloadavg().
Reported by: snuffy
Patch by: snuffy,tilghman
(Closes issue #11430)
........
................
r90799 | file | 2007-12-04 00:31:00 -0500 (Tue, 04 Dec 2007) | 9 lines
Blocked revisions 90798 via svnmerge
........
r90798 | file | 2007-12-04 01:29:33 -0400 (Tue, 04 Dec 2007) | 2 lines
Fix build issue on the build cluster.
........
................
r90834 | rizzo | 2007-12-04 06:50:05 -0500 (Tue, 04 Dec 2007) | 2 lines
fix build on cygwin
................
r90851 | tilghman | 2007-12-04 10:01:57 -0500 (Tue, 04 Dec 2007) | 5 lines
Pass the Asterisk version to AGI scripts as part of the initial dump of info
Reported by: acunningham
[... 19292 lines stripped ...]
More information about the asterisk-commits
mailing list