[asterisk-commits] seanbright: branch seanbright/resolve-shadow-warnings r132503 - in /team/sean...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jul 21 14:17:01 CDT 2008
Author: seanbright
Date: Mon Jul 21 14:16:59 2008
New Revision: 132503
URL: http://svn.digium.com/view/asterisk?view=rev&rev=132503
Log:
Merged revisions 129864,129916,129968,129985,129987,130040,130043-130044,130126,130129,130145,130167,130170,130174,130230,130232,130234,130237,130293,130296-130297,130320,130374,130444,130479,130515,130574,130576,130578,130635,130697,130732-130733,130744,130794,130854,130890,130951,131013,131015,131044,131072,131129,131166,131207,131243,131300,131358,131361,131375,131422,131445,131482,131484,131492,131529,131570,131606,131643,131681,131717,131753,131791,131824,131868,131916,131923,131982,131986,131989,132046,132050,132108-132109,132113,132169,132203,132206,132242,132277,132312,132388,132390,132425,132466,132468,132470 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r129864 | seanbright | 2008-07-10 20:55:06 -0400 (Thu, 10 Jul 2008) | 1 line
Fix some usages of snprintf, and clarify a couple variable names.
................
r129916 | kpfleming | 2008-07-11 08:21:29 -0400 (Fri, 11 Jul 2008) | 10 lines
Merged revisions 129907 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r129907 | kpfleming | 2008-07-11 07:15:42 -0500 (Fri, 11 Jul 2008) | 2 lines
don't attempt to set user/group ownership of extracted sound files (reported on asterisk-users)
........
................
r129968 | kpfleming | 2008-07-11 10:16:15 -0400 (Fri, 11 Jul 2008) | 18 lines
Merged revisions 129966 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r129966 | kpfleming | 2008-07-11 09:03:52 -0500 (Fri, 11 Jul 2008) | 5 lines
fix a flaw found while experimenting with structure alignment and padding; low-fence checking would not work properly on 64-bit platforms, because the compiler was putting 4 bytes of padding between the fence field and the allocation memory block
added a very obvious runtime warning if this condition reoccurs, so the developer who broke it can be chastised into fixing it :-)
........
r129967 | kpfleming | 2008-07-11 09:03:52 -0500 (Fri, 11 Jul 2008) | 5 lines
simplify calculation
........
................
r129985 | russell | 2008-07-11 10:22:26 -0400 (Fri, 11 Jul 2008) | 2 lines
remove space in property value
................
r129987 | russell | 2008-07-11 10:22:44 -0400 (Fri, 11 Jul 2008) | 10 lines
Merged revisions 129970 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r129970 | russell | 2008-07-11 09:18:43 -0500 (Fri, 11 Jul 2008) | 2 lines
add a simple ASTOBJ_TRYWRLOCK macro ...
........
................
r130040 | kpfleming | 2008-07-11 11:57:17 -0400 (Fri, 11 Jul 2008) | 12 lines
Merged revisions 130039 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r130039 | kpfleming | 2008-07-11 10:41:56 -0500 (Fri, 11 Jul 2008) | 4 lines
add support for a configuration parameter for 'inband audio during RELEASE', which is currently mandatory in libpri-1.4.4 but will become configurable in libpri-1.4.5 later today
(related to issue #13042)
........
................
r130043 | kpfleming | 2008-07-11 12:08:37 -0400 (Fri, 11 Jul 2008) | 12 lines
Blocked revisions 130042 via svnmerge
........
r130042 | kpfleming | 2008-07-11 11:08:03 -0500 (Fri, 11 Jul 2008) | 5 lines
new installations should be using DAHDI instead of Zaptel, so the sample config file is now chan_dahdi.conf instead of zapata.conf
also, convert remaining references to zapata.conf in various places
........
................
r130044 | kpfleming | 2008-07-11 12:18:01 -0400 (Fri, 11 Jul 2008) | 2 lines
clean up a bunch more Zaptel-related references
................
r130126 | tilghman | 2008-07-11 13:29:24 -0400 (Fri, 11 Jul 2008) | 17 lines
Merged revisions 130102 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r130102 | tilghman | 2008-07-11 11:50:42 -0500 (Fri, 11 Jul 2008) | 9 lines
Pass the devicestate from an underlying channel up through the Agent channel.
This should make the Agent always report the correct device state, even when
the underlying channel is used for other purposes.
(closes issue #12773)
Reported by: davidw
Patches:
20080710__bug12773.diff.txt uploaded by Corydon76 (license 14)
Tested by: davidw
........
................
r130129 | bbryant | 2008-07-11 14:09:35 -0400 (Fri, 11 Jul 2008) | 8 lines
Janitor patch to change uses of sizeof to ARRAY_LEN
(closes issue #13054)
Reported by: pabelanger
Patches:
ARRAY_LEN.patch2 uploaded by pabelanger (license 224)
Tested by: seanbright
................
r130145 | murf | 2008-07-11 14:24:31 -0400 (Fri, 11 Jul 2008) | 40 lines
(closes issue #13041)
Reported by: eliel
Tested by: murf
(closes issue #12960)
Reported by: mnicholson
In this 'omnibus' fix, I **think** I solved both
the problem in 13041, where unloading pbx_ael.so
caused crashes, or incomplete removal of previous
registrar'ed entries. And I added code to completely
remove all includes, switches, and ignorepats that
had a matching registrar entry, which should
appease 12960.
I also added a lot of seemingly useless brackets
around single statement if's, which helped debug
so much that I'm leaving them there.
I added a routine to check the correlation between
the extension tree lists and the hashtab
tables. It can be amazingly helpful when you have
lots of dialplan stuff, and need to narrow
down where a problem is occurring. It's ifdef'd
out by default.
I cleaned up the code around the new CIDmatch code.
It was leaving hanging extens with bad ptrs, getting confused
over which objects to remove, etc. I tightened
up the code and changed the call to remove_exten
in the merge_and_delete code.
I added more conditions to check for empty context
worthy of deletion. It's not empty if there are
any includes, switches, or ignorepats present.
If I've missed anything, please re-open this bug,
and be prepared to supply example dialplan code.
................
r130167 | seanbright | 2008-07-11 14:32:26 -0400 (Fri, 11 Jul 2008) | 1 line
Missed one. Formatting only.
................
r130170 | tilghman | 2008-07-11 14:52:42 -0400 (Fri, 11 Jul 2008) | 15 lines
Merged revisions 130169 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r130169 | tilghman | 2008-07-11 13:51:56 -0500 (Fri, 11 Jul 2008) | 7 lines
Ensure that a destination callno of 0 will not match for frames that do not
start a dialog (new, lagrq, and ping).
(closes issue #12963)
Reported by: russellb
Patches:
chan_iax2_dup_new_fix4.patch uploaded by jpgrayson (license 492)
........
................
r130174 | mmichelson | 2008-07-11 15:14:15 -0400 (Fri, 11 Jul 2008) | 15 lines
Merged revisions 130173 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r130173 | mmichelson | 2008-07-11 14:13:29 -0500 (Fri, 11 Jul 2008) | 7 lines
Fix a typo in audiohook_read_frame_both.
While this change has not been proven to fix any
specific issue, it is incorrect and could cause
unforeseen problems.
........
................
r130230 | tilghman | 2008-07-11 15:40:55 -0400 (Fri, 11 Jul 2008) | 2 lines
Fix trunk breakage
................
r130232 | tilghman | 2008-07-11 15:53:38 -0400 (Fri, 11 Jul 2008) | 2 lines
Add some debug code and add a missing release
................
r130234 | tilghman | 2008-07-11 15:56:34 -0400 (Fri, 11 Jul 2008) | 2 lines
Don't copy on NULL.
................
r130237 | mmichelson | 2008-07-11 16:03:55 -0400 (Fri, 11 Jul 2008) | 11 lines
Merged revisions 130236 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r130236 | mmichelson | 2008-07-11 15:03:23 -0500 (Fri, 11 Jul 2008) | 3 lines
Remove redundant logic
........
................
r130293 | mattf | 2008-07-11 17:36:26 -0400 (Fri, 11 Jul 2008) | 1 line
Support new TRANSPORT definitions in libss7
................
r130296 | murf | 2008-07-11 17:50:21 -0400 (Fri, 11 Jul 2008) | 1 line
a small change to make things compile
................
r130297 | murf | 2008-07-11 18:03:19 -0400 (Fri, 11 Jul 2008) | 11 lines
(closes issue #13041)
Reported by: eliel
OK, now the context registrar slot is strdup'd. It is freed
on destruction. I don't see the need to do this with all
the structs' registrar fields, but if some wild case proves
they should also be handled this way, then we can
put in the extra work at that time.
................
r130320 | kpfleming | 2008-07-11 18:23:55 -0400 (Fri, 11 Jul 2008) | 1 line
not needed here
................
r130374 | mvanbaak | 2008-07-12 06:26:55 -0400 (Sat, 12 Jul 2008) | 13 lines
Blocked revisions 130373 via svnmerge
........
r130373 | mvanbaak | 2008-07-12 12:25:52 +0200 (Sat, 12 Jul 2008) | 6 lines
in 1.4 the functions still have | as argument seperator.
This commit fixes the use of RAND in the ael random function.
(closes issue #13061)
Reported by: danpwi
........
................
r130444 | tilghman | 2008-07-12 22:34:32 -0400 (Sat, 12 Jul 2008) | 2 lines
Unlock list before returning
................
r130479 | mvanbaak | 2008-07-13 10:58:40 -0400 (Sun, 13 Jul 2008) | 3 lines
restore ASTERISKVERSION marker to asterisk.tex.
This got lost in commit 97634
................
r130515 | tilghman | 2008-07-13 13:58:47 -0400 (Sun, 13 Jul 2008) | 12 lines
Merged revisions 130514 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r130514 | tilghman | 2008-07-13 12:56:10 -0500 (Sun, 13 Jul 2008) | 4 lines
Reverting 2 changesets, as it breaks incoming IAX2 calls
(Related to issue #12963)
Reported by: mvanbaak
........
................
r130574 | mvanbaak | 2008-07-13 18:50:31 -0400 (Sun, 13 Jul 2008) | 16 lines
Merged revisions 130573 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r130573 | mvanbaak | 2008-07-14 00:48:51 +0200 (Mon, 14 Jul 2008) | 8 lines
fix memory leak when originate from manager cannot create a thread
(closes issue #13069)
Reported by: gknispel_proformatique
Patches:
asterisk_trunk_action_originate.patch uploaded by gknispel (license 261)
Tested by: gknispel_proformatique, mvanbaak
........
................
r130576 | mvanbaak | 2008-07-13 18:59:35 -0400 (Sun, 13 Jul 2008) | 9 lines
Convert chan_skinny's open-coded linked lists to the list macros
(closes issue #12956)
Reported by: DEA
Patches:
chan_skinny-linkedlists-v2.txt uploaded by DEA (license 3)
Tested by: DEA, mvanbaak
................
r130578 | mvanbaak | 2008-07-13 19:14:03 -0400 (Sun, 13 Jul 2008) | 15 lines
Make all sed calls Posix sed compatible.
To make sure nobody commits script-modified files we first make a backup
of asterisk.tex, run the script, generate the pdf and / or html,
and put the original asterisk.tex back.
This will guard us for the stuff that happened before that someone committed
a locally modified asterisk.tex, with changes done by this script.
(closes issue #13062)
Reported by: mvanbaak
Patches:
sed_without-i-v3.diff uploaded by mvanbaak (license 7)
Tested by: mvanbaak
Feedback from Corydon. Thanks for taking the time to go through this.
................
r130635 | russell | 2008-07-14 06:39:23 -0400 (Mon, 14 Jul 2008) | 10 lines
Merged revisions 130634 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r130634 | russell | 2008-07-14 05:38:14 -0500 (Mon, 14 Jul 2008) | 2 lines
Bump up the debug level for a message.
........
................
r130697 | tilghman | 2008-07-14 11:44:07 -0400 (Mon, 14 Jul 2008) | 7 lines
Swap "static" and "const", so that "static" appears at the beginning of each
declaration (suppresses a warning).
(closes issue #13070)
Reported by: gknispel_proformatique
Patches:
asterisk_trunk_const_static.patch uploaded by gknispel (license 261)
................
r130732 | rizzo | 2008-07-14 12:50:24 -0400 (Mon, 14 Jul 2008) | 3 lines
use ast_pthread_create_detached_background() instead of redoing
it with separate calls
................
r130733 | rizzo | 2008-07-14 12:50:54 -0400 (Mon, 14 Jul 2008) | 3 lines
free memory used by the x11 grabber when closing it.
................
r130744 | mvanbaak | 2008-07-14 13:21:18 -0400 (Mon, 14 Jul 2008) | 18 lines
Merged revisions 130735 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r130735 | mvanbaak | 2008-07-14 19:10:21 +0200 (Mon, 14 Jul 2008) | 10 lines
notify the user that dnsmgr refresh wont work when dnsmgr is not enabled.
Previously this command would automagically appear and disappear.
This was confusing.
(closes issue #12796)
Reported by: chappell
Patches:
dnsmgr_refresh_3.diff uploaded by chappell (license 8)
Tested by: russell, chappell, mvanbaak
........
................
r130794 | mmichelson | 2008-07-14 13:54:11 -0400 (Mon, 14 Jul 2008) | 16 lines
Merged revisions 130792 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r130792 | mmichelson | 2008-07-14 12:50:21 -0500 (Mon, 14 Jul 2008) | 8 lines
Add a check to the CAN_EARLY_BRIDGE macro in app_dial to
be sure there are no audiohooks present on the channels
involved. This fixed a one-way audio situation I had in
my test setup. I couldn't find any open issues that suggested
one-way audio with regards to mixmonitor (or other audiohook)
usage, though.
........
................
r130854 | mmichelson | 2008-07-14 18:22:57 -0400 (Mon, 14 Jul 2008) | 9 lines
Fix a memory leak in the case that /dev/null cannot be
opened when running startup commands from cli.conf
(closes issue #13066)
Reported by: eliel
Patches:
asterisk.c.patch uploaded by eliel (license 64)
................
r130890 | tilghman | 2008-07-14 19:59:54 -0400 (Mon, 14 Jul 2008) | 16 lines
Merged revisions 130889 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r130889 | tilghman | 2008-07-14 18:59:13 -0500 (Mon, 14 Jul 2008) | 8 lines
Override the callerid in all cases when the callerid is set in the user, not
just when a remote callerid is set. Also, if not set in the user, allow the
remote CallerID to pass through.
(closes issue #12875)
Reported by: dimas
Patches:
20080714__bug12875.diff.txt uploaded by Corydon76 (license 14)
........
................
r130951 | tilghman | 2008-07-15 12:20:35 -0400 (Tue, 15 Jul 2008) | 5 lines
Additional option for videosupport (always) that disables the optimization to
fail to setup video RTP if the two endpoints will not support it. This assists
with call files and certain transfers to ensure that if two video phones are
ever connected, they will always share a video feed.
................
r131013 | mvanbaak | 2008-07-15 13:49:48 -0400 (Tue, 15 Jul 2008) | 15 lines
Merged revisions 131012 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r131012 | mvanbaak | 2008-07-15 19:47:15 +0200 (Tue, 15 Jul 2008) | 7 lines
remove 4 lines of redundant code.
(closes issue #13080)
Reported by: gknispel_proformatique
Patches:
trunk_ast_cdr_setapp.patch uploaded by gknispel (license 261)
........
................
r131015 | bbryant | 2008-07-15 14:14:02 -0400 (Tue, 15 Jul 2008) | 8 lines
Fix memory leak in app_queue when a device state is changed but it isn't
a member of any queue.
(closes issue #13073)
Reported by: eliel
Patches:
app_queue.c.patch uploaded by eliel (license 64)
................
r131044 | tilghman | 2008-07-15 14:25:34 -0400 (Tue, 15 Jul 2008) | 16 lines
Merged revisions 130959 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r130959 | tilghman | 2008-07-15 12:19:13 -0500 (Tue, 15 Jul 2008) | 8 lines
astman_send_error does not need a newline appended -- the API takes care of
that for us.
(closes issue #13068)
Reported by: gknispel_proformatique
Patches:
asterisk_1_4_astman_send.patch uploaded by gknispel (license 261)
asterisk_trunk_astman_send.patch uploaded by gknispel (license 261)
........
................
r131072 | russell | 2008-07-15 14:46:40 -0400 (Tue, 15 Jul 2008) | 5 lines
Fix a couple of places in res_agi where the agi_commands lock would not be
released, causing a deadlock. (Reported by mvanbaak in #asterisk-dev,
discovered by bbryant's change to the lock tracking code to yell at you
if a thread exits with a lock still held)
................
r131129 | murf | 2008-07-15 19:36:19 -0400 (Tue, 15 Jul 2008) | 21 lines
(closes issue #12960)
Reported by: mnicholson
Spent most of the day on this bug, and the
solution was so simple. Just had to find and
understand the problem.
The problem was, that the routine to copy
the existing switches, includes, and ignorepats
from the old context to the new one, wasn't
getting called when the context is already
existent. (In other words, if AEL is adding
a new context to the mix, they get copied,
but if pbx_config already defined a context,
then the copy wasn't happening. This made
no sense, so I moved the call to copy the
includes & etc, no matter the case.
................
r131166 | tilghman | 2008-07-15 20:52:48 -0400 (Tue, 15 Jul 2008) | 3 lines
Fix rotate strategy
(Closes issue #13086)
................
r131207 | russell | 2008-07-16 11:08:22 -0400 (Wed, 16 Jul 2008) | 3 lines
Add missing terminator to ast_event_subscribe to fix a crash.
(from rev 131206 in the 1.6.0 branch)
................
r131243 | murf | 2008-07-16 13:59:33 -0400 (Wed, 16 Jul 2008) | 27 lines
Merged revisions 131242 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r131242 | murf | 2008-07-16 11:53:43 -0600 (Wed, 16 Jul 2008) | 19 lines
(closes issue #13090)
Reported by: murf
The problem was that, esoteric as it is, because the hangerupper
context immediately preceded the std-priv-extent macro, that
the checking code accidentally would fall from traversing hangerupper
into the std-priv-exten macro, where it would hit the hangerupper
in the 'includes', and proceed into an infinite recursion.
A small fix to traverse into the statements of the context instead
of the context solves this issue.
I also added some commented out printfs for debug, which were pretty
handy in the face of a dorky gdb.
This was a problem around since the package was first written;
but evidently pretty rare in turning up in the field.
........
................
r131300 | mmichelson | 2008-07-16 14:59:27 -0400 (Wed, 16 Jul 2008) | 21 lines
Merged revisions 131299 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r131299 | mmichelson | 2008-07-16 13:57:34 -0500 (Wed, 16 Jul 2008) | 13 lines
Make absolutely certain that the transfer datastore
is removed from the calling channel once the caller
is finished in the queue. This could have weird con-
sequences when dialing local queue members when multiple
transfers occur on a single call.
Also fixed a memory leak that would occur when an
attended transfer occurred from a queue member.
(closes issue #13047)
Reported by: festr
........
................
r131358 | mmichelson | 2008-07-16 15:37:42 -0400 (Wed, 16 Jul 2008) | 14 lines
Merged revisions 131357 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r131357 | mmichelson | 2008-07-16 14:37:08 -0500 (Wed, 16 Jul 2008) | 6 lines
Apparently, "thread safety" is important, whatever
that means. :P
(Thanks Russell!)
........
................
r131361 | mmichelson | 2008-07-16 15:57:02 -0400 (Wed, 16 Jul 2008) | 9 lines
Don't try to dereference the dbfile pointer if
we know that it's NULL.
(closes issue #13092)
Reported by: gknispel_proformatique
Patches:
trunk_sqlite_check_vars_null.patch uploaded by gknispel (license 261)
................
r131375 | mmichelson | 2008-07-16 16:24:12 -0400 (Wed, 16 Jul 2008) | 22 lines
Merged revisions 131369 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r131369 | mmichelson | 2008-07-16 15:23:02 -0500 (Wed, 16 Jul 2008) | 14 lines
Move the init_queue call back to where it used to be (changed
Sept 12 last year). It was moved then to prevent a memory leak.
Since then, the same memory leak recurred and was fixed in a
better way.
Now it has been found that the placement of this init_queue
call can cause problems if a realtime queue has values changed
to an empty string. The problem is that the default value
for that queue parameter would not be set.
(closes issue #13084)
Reported by: elbriga
........
................
r131422 | russell | 2008-07-16 16:48:27 -0400 (Wed, 16 Jul 2008) | 15 lines
Merged revisions 131421 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r131421 | russell | 2008-07-16 15:47:53 -0500 (Wed, 16 Jul 2008) | 7 lines
Always ensure that the channel's tech_pvt reference is NULL after calling the
destroy callback.
(closes issue #13060)
Reported by: jpgrayson
Patches:
chan_iax2_tech_pvt_crash.patch uploaded by jpgrayson (license 492)
........
................
r131445 | bbryant | 2008-07-16 17:24:18 -0400 (Wed, 16 Jul 2008) | 9 lines
Fixes an issue with "core show sysinfo" that used the wrong operator to
calculate the number of bytes from a sysinfo structure.
unsigned long.
(closes issue #13057)
Reported by: eliel
Patches:
asterisk.c.patch uploaded by eliel (license 64)
................
r131482 | tilghman | 2008-07-16 17:50:08 -0400 (Wed, 16 Jul 2008) | 9 lines
Blocked revisions 131480 via svnmerge
........
r131480 | tilghman | 2008-07-16 16:46:06 -0500 (Wed, 16 Jul 2008) | 2 lines
Apparently, in certain cases, a callno is already destroyed when iax2_destroy is called.
........
................
r131484 | bbryant | 2008-07-16 17:54:08 -0400 (Wed, 16 Jul 2008) | 4 lines
Fixes sysinfo operator issue also fixed elsewhere in r131445.
(issue #13057)
................
r131492 | bbryant | 2008-07-16 18:17:36 -0400 (Wed, 16 Jul 2008) | 14 lines
Merged revisions 131491 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r131491 | bbryant | 2008-07-16 17:17:07 -0500 (Wed, 16 Jul 2008) | 6 lines
Fix a bug in iax2 registration that allowed peers to register with
case-insensitive names (user_cmp_cb and peer_cmp_cb are now both
case-sensitive).
(closes issue #13091)
........
................
r131529 | bbryant | 2008-07-16 18:28:01 -0400 (Wed, 16 Jul 2008) | 7 lines
Janitor project: convert free to ast_free
(closes issue #13082)
Reported by: eliel
Patches:
app_rpt.c.patch uploaded by eliel (license 64)
................
r131570 | murf | 2008-07-16 19:53:02 -0400 (Wed, 16 Jul 2008) | 20 lines
(closes issue #13089)
Reported by: murf
Most of this bug was already fixed by Tilghman before
I opened it; Many thanks to Tilghman for his fix
in svn version 125794. That fix cleared up some of the
fields in the lock_info.
This commit changes the address that is stored for the
lock in the lock_info struct, so that it is the same
as that passed into the locking macros. This makes
searching for a lock_info (as in log_show_lock())
by its lock addr possible. The lock_addr field is
infinitely more useful if it is the same as what
is 'publicly' available outside the lock_info code.
Many thanks to kpfleming, putnopvut, and Russell for their
invaluable insights earlier today.
................
r131606 | tilghman | 2008-07-17 10:00:27 -0400 (Thu, 17 Jul 2008) | 7 lines
Change several 'core' commands to be 'dialplan' commands (with appropriate
deprecation, of course)
(closes issue #13016)
Reported by: caio1982
Patches:
dialplan_globals6.diff uploaded by caio1982 (license 22)
................
r131643 | russell | 2008-07-17 10:46:29 -0400 (Thu, 17 Jul 2008) | 5 lines
Instead of attempting to pass through AST_EVENT_DEVICE_STATE, use DEVICE_STATE_CHANGE
instead. DEVICE_STATE is a state change on one server, and DEVICE_STATE_CHANGE is
the "real" state of that device across all servers sharing state. This would have
only been a problem with distributed device state.
................
r131681 | tilghman | 2008-07-17 11:45:25 -0400 (Thu, 17 Jul 2008) | 4 lines
Fix memory leak.
(Closes issue #13096)
Reported by gknispel_proformatique
................
r131717 | bbryant | 2008-07-17 14:14:42 -0400 (Thu, 17 Jul 2008) | 8 lines
Fix a memory leak in register_group_feature when attempting to register
a feature without specifying a group or feature to register.
(closes issue #13101)
Reported by: eliel
Patches:
features.c.patch uploaded by eliel (license 64)
................
r131753 | tilghman | 2008-07-17 14:36:34 -0400 (Thu, 17 Jul 2008) | 6 lines
Fix memory leaks
(closes issue #13099)
Reported by: gknispel_proformatique
Patches:
res_config_sqlite_leak_on_error.patch uploaded by gknispel (license 261)
................
r131791 | tilghman | 2008-07-17 16:37:14 -0400 (Thu, 17 Jul 2008) | 15 lines
Merged revisions 131790 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r131790 | tilghman | 2008-07-17 15:35:44 -0500 (Thu, 17 Jul 2008) | 7 lines
Revert part of issue #5620 (revision 6965) as it appears that it was in error.
This should fix talk call progress on analog lines.
(closes issue #12178)
Reported by: michael-fig
Patches:
20080717__bug12178.diff.txt uploaded by Corydon76 (license 14)
........
................
r131824 | mmichelson | 2008-07-17 17:26:41 -0400 (Thu, 17 Jul 2008) | 10 lines
Document that the duration of dtmf may be passed to
the SendDTMF application. Also correct the default
pause between digits.
(closes issue #13102)
Reported by: eliel
Patches:
app_senddtmf.c.patch uploaded by eliel (license 64)
................
r131868 | jpeeler | 2008-07-17 18:40:00 -0400 (Thu, 17 Jul 2008) | 6 lines
Add configuration option to chan_dahdi.conf to allow buffering policy and number of buffers to be configured per channel. Syntax:
buffers=<num of buffers>,<policy>
Where the number of buffers is some non-negative integer and the policy is either "full", "half", or "immediate".
................
r131916 | bbryant | 2008-07-18 11:38:22 -0400 (Fri, 18 Jul 2008) | 12 lines
Merged revisions 131915 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r131915 | bbryant | 2008-07-18 10:34:42 -0500 (Fri, 18 Jul 2008) | 4 lines
Fix a bug in blind transfers where the BLINDTRANSFER variable isn't always set to the other end of the blind transfer.
(closes issue #12586)
........
................
r131923 | kpfleming | 2008-07-18 12:16:12 -0400 (Fri, 18 Jul 2008) | 10 lines
Merged revisions 131921 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r131921 | kpfleming | 2008-07-18 11:15:41 -0500 (Fri, 18 Jul 2008) | 2 lines
remove the dlfcn compatibility stuff, because no platforms that Asterisk currently runs on it use it, and it doesn't build anyway
........
................
r131982 | tilghman | 2008-07-18 12:33:56 -0400 (Fri, 18 Jul 2008) | 10 lines
Merged revisions 131970 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r131970 | tilghman | 2008-07-18 11:30:31 -0500 (Fri, 18 Jul 2008) | 2 lines
Make the ast_assert call within ast_sched_del report something useful.
........
................
r131986 | tilghman | 2008-07-18 12:48:18 -0400 (Fri, 18 Jul 2008) | 10 lines
Merged revisions 131985 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r131985 | tilghman | 2008-07-18 11:46:23 -0500 (Fri, 18 Jul 2008) | 2 lines
Preserve ABI compatibility with last change
........
................
r131989 | tilghman | 2008-07-18 13:10:34 -0400 (Fri, 18 Jul 2008) | 10 lines
Merged revisions 131988 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r131988 | tilghman | 2008-07-18 12:10:01 -0500 (Fri, 18 Jul 2008) | 2 lines
Oops
........
................
r132046 | tilghman | 2008-07-18 13:39:18 -0400 (Fri, 18 Jul 2008) | 10 lines
Blocked revisions 132042 via svnmerge
........
r132042 | tilghman | 2008-07-18 12:33:42 -0500 (Fri, 18 Jul 2008) | 3 lines
Spinlock within the destroy, to allow a scheduled job to continue, if it's
waiting on the mutex which the destroy thread has.
........
................
r132050 | bbryant | 2008-07-18 13:55:41 -0400 (Fri, 18 Jul 2008) | 8 lines
Fix magic Revision keywords in hashtab.c and change cdr_radius.c to use
the same keyword as the other files (patch by eliel).
(closes issue #13104)
Reported by: eliel
Patches:
revision.patch uploaded by eliel (license 64)
................
r132108 | mattf | 2008-07-18 14:50:00 -0400 (Fri, 18 Jul 2008) | 1 line
Make sure we break the poll so that messages queued will be sent on the SS7 when using CLI commands for blocking and blocking of CICs and linksets.
................
r132109 | tilghman | 2008-07-18 14:50:37 -0400 (Fri, 18 Jul 2008) | 14 lines
Merged revisions 132107 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r132107 | tilghman | 2008-07-18 13:47:50 -0500 (Fri, 18 Jul 2008) | 6 lines
Textual clarification
(closes issue #13106)
Reported by: flefoll
Patches:
config.c.br14.120173.patch-unknown-directive uploaded by flefoll (license 244)
........
................
r132113 | tilghman | 2008-07-18 15:09:39 -0400 (Fri, 18 Jul 2008) | 14 lines
Merged revisions 132112 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r132112 | tilghman | 2008-07-18 14:06:10 -0500 (Fri, 18 Jul 2008) | 6 lines
Fix for Taiwanese number syntax
(closes issue #12319)
Reported by: CharlesWang
Patches:
saynumber-tw-1.4.18.1.patch uploaded by CharlesWang (license 444)
........
................
r132169 | pari | 2008-07-18 16:14:05 -0400 (Fri, 18 Jul 2008) | 5 lines
updateconfig is not uri decoding variables,values from the GET url
................
r132203 | tilghman | 2008-07-18 16:41:02 -0400 (Fri, 18 Jul 2008) | 2 lines
Fix trunk devmode
................
r132206 | tilghman | 2008-07-18 16:57:47 -0400 (Fri, 18 Jul 2008) | 5 lines
Russell pointed out that using ast_strdupa() within a loop like this is
probably not a good idea, as we might run out of stack space. Therefore,
changing this over to use the ast_str infrastructure for buffers is
probably a good idea.
................
r132242 | bbryant | 2008-07-18 18:19:56 -0400 (Fri, 18 Jul 2008) | 4 lines
Fixes problem where manager users loaded from users.conf would be
removed early (before the routine to load the configuration was
finished) because a variable wasn't initialized.
................
r132277 | mvanbaak | 2008-07-19 06:46:12 -0400 (Sat, 19 Jul 2008) | 7 lines
fix a couple of comments in sqlite resource driver.
(closes issue #13110)
Reported by: gknispel_proformatique
Patches:
res_config_sqlite_comments.patch uploaded by gknispel (license 261)
................
r132312 | kpfleming | 2008-07-19 12:46:33 -0400 (Sat, 19 Jul 2008) | 10 lines
Merged revisions 132311 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r132311 | kpfleming | 2008-07-19 11:45:52 -0500 (Sat, 19 Jul 2008) | 2 lines
grant a license exception to allow distribution of Asterisk binaries that use the UW IMAP Toolkit (which is licensed under a non-GPL-compatible license)
........
................
r132388 | russell | 2008-07-21 09:51:05 -0400 (Mon, 21 Jul 2008) | 3 lines
Enable higher quality resampling, as it doesn't have a noticeable performance
impact on my machine ..
................
r132390 | russell | 2008-07-21 10:47:41 -0400 (Mon, 21 Jul 2008) | 16 lines
Remove libresample from the Asterisk source tree. It is now available in its
own repository, and must be installed like any other library for Asterisk to
use. The two modules that require it are codec_resample and app_jack.
To install libresample:
$ svn co http://svn.digium.com/svn/libresample/trunk libresample
$ cd libresample
$ ./configure
$ make
$ sudo make install
This code is currently in our own repository because the build system did not
include the appropriate targets for building a dynamic library or for installing
the library.
................
r132425 | jpeeler | 2008-07-21 11:33:13 -0400 (Mon, 21 Jul 2008) | 2 lines
make buffers config option (chan_dahdi.conf) parsing safer and added logging in case of failure
................
r132466 | bbryant | 2008-07-21 13:22:02 -0400 (Mon, 21 Jul 2008) | 3 lines
Fix an issue in iax2 where a call that's been rejected still kept an open channel on the side that attempted to make the call (not the side of the
call that rejected the call). Changes were load tested and also approved by Russell.
................
r132468 | bbryant | 2008-07-21 13:42:45 -0400 (Mon, 21 Jul 2008) | 5 lines
Fix bug where ast_parse_arg would inadvertantly enable sip tcp when parsing a tcpbindaddr if it was disabled.
(closes issue #13117)
Reported by: pj
................
r132470 | bbryant | 2008-07-21 13:55:04 -0400 (Mon, 21 Jul 2008) | 11 lines
Add "iax2 set debug peer" command and remove deprecated iax2 debug
commands that conflicted with adding new features to the newer debug
commaands.
(closes issue #13103)
Reported by: mvanbaak
Patches:
2008071901__issue13103_iax2_set_debug_peer.diff uploaded by
mvanbaak (license 7)
Tested by: bbryant, mvanbaak
................
Removed:
team/seanbright/resolve-shadow-warnings/include/asterisk/dlfcn-compat.h
team/seanbright/resolve-shadow-warnings/include/asterisk/libresample.h
team/seanbright/resolve-shadow-warnings/main/dlfcn.c
team/seanbright/resolve-shadow-warnings/main/libresample/
Modified:
team/seanbright/resolve-shadow-warnings/ (props changed)
team/seanbright/resolve-shadow-warnings/CHANGES
team/seanbright/resolve-shadow-warnings/LICENSE
team/seanbright/resolve-shadow-warnings/UPGRADE.txt
team/seanbright/resolve-shadow-warnings/apps/app_chanspy.c
team/seanbright/resolve-shadow-warnings/apps/app_dial.c
team/seanbright/resolve-shadow-warnings/apps/app_jack.c
team/seanbright/resolve-shadow-warnings/apps/app_milliwatt.c
team/seanbright/resolve-shadow-warnings/apps/app_minivm.c
team/seanbright/resolve-shadow-warnings/apps/app_queue.c
team/seanbright/resolve-shadow-warnings/apps/app_rpt.c
team/seanbright/resolve-shadow-warnings/apps/app_senddtmf.c
team/seanbright/resolve-shadow-warnings/apps/app_voicemail.c
team/seanbright/resolve-shadow-warnings/build_tools/menuselect-deps.in
team/seanbright/resolve-shadow-warnings/build_tools/prep_tarball
team/seanbright/resolve-shadow-warnings/cdr/cdr_radius.c
team/seanbright/resolve-shadow-warnings/channels/chan_agent.c
team/seanbright/resolve-shadow-warnings/channels/chan_dahdi.c
team/seanbright/resolve-shadow-warnings/channels/chan_gtalk.c
team/seanbright/resolve-shadow-warnings/channels/chan_iax2.c
team/seanbright/resolve-shadow-warnings/channels/chan_jingle.c
team/seanbright/resolve-shadow-warnings/channels/chan_sip.c
team/seanbright/resolve-shadow-warnings/channels/chan_skinny.c
team/seanbright/resolve-shadow-warnings/channels/chan_unistim.c
team/seanbright/resolve-shadow-warnings/channels/console_video.c
team/seanbright/resolve-shadow-warnings/channels/h323/ast_h323.cxx
team/seanbright/resolve-shadow-warnings/channels/misdn/isdn_lib.c
team/seanbright/resolve-shadow-warnings/channels/vgrabbers.c
team/seanbright/resolve-shadow-warnings/codecs/codec_dahdi.c
team/seanbright/resolve-shadow-warnings/codecs/codec_g722.c
team/seanbright/resolve-shadow-warnings/codecs/codec_resample.c
team/seanbright/resolve-shadow-warnings/configs/chan_dahdi.conf.sample
team/seanbright/resolve-shadow-warnings/configs/sip.conf.sample
team/seanbright/resolve-shadow-warnings/configure
team/seanbright/resolve-shadow-warnings/configure.ac
team/seanbright/resolve-shadow-warnings/contrib/utils/zones2indications.c
team/seanbright/resolve-shadow-warnings/doc/ss7.txt
team/seanbright/resolve-shadow-warnings/doc/tex/Makefile
team/seanbright/resolve-shadow-warnings/doc/tex/asterisk.tex
team/seanbright/resolve-shadow-warnings/funcs/func_sysinfo.c
team/seanbright/resolve-shadow-warnings/include/asterisk/astobj.h
team/seanbright/resolve-shadow-warnings/include/asterisk/autoconfig.h.in
team/seanbright/resolve-shadow-warnings/include/asterisk/lock.h
team/seanbright/resolve-shadow-warnings/include/asterisk/module.h
team/seanbright/resolve-shadow-warnings/include/asterisk/res_odbc.h
team/seanbright/resolve-shadow-warnings/include/asterisk/sched.h
team/seanbright/resolve-shadow-warnings/main/Makefile
team/seanbright/resolve-shadow-warnings/main/abstract_jb.c
team/seanbright/resolve-shadow-warnings/main/asterisk.c
team/seanbright/resolve-shadow-warnings/main/astmm.c
team/seanbright/resolve-shadow-warnings/main/audiohook.c
team/seanbright/resolve-shadow-warnings/main/cdr.c
team/seanbright/resolve-shadow-warnings/main/cli.c
team/seanbright/resolve-shadow-warnings/main/config.c
team/seanbright/resolve-shadow-warnings/main/dnsmgr.c
team/seanbright/resolve-shadow-warnings/main/dsp.c
team/seanbright/resolve-shadow-warnings/main/features.c
team/seanbright/resolve-shadow-warnings/main/hashtab.c
team/seanbright/resolve-shadow-warnings/main/loader.c
team/seanbright/resolve-shadow-warnings/main/logger.c
team/seanbright/resolve-shadow-warnings/main/manager.c
team/seanbright/resolve-shadow-warnings/main/pbx.c
team/seanbright/resolve-shadow-warnings/main/say.c
team/seanbright/resolve-shadow-warnings/main/sched.c
team/seanbright/resolve-shadow-warnings/main/threadstorage.c
team/seanbright/resolve-shadow-warnings/main/utils.c
team/seanbright/resolve-shadow-warnings/makeopts.in
team/seanbright/resolve-shadow-warnings/pbx/dundi-parser.c
team/seanbright/resolve-shadow-warnings/res/Makefile
team/seanbright/resolve-shadow-warnings/res/ael/pval.c
team/seanbright/resolve-shadow-warnings/res/res_agi.c
team/seanbright/resolve-shadow-warnings/res/res_config_ldap.c
team/seanbright/resolve-shadow-warnings/res/res_config_pgsql.c
team/seanbright/resolve-shadow-warnings/res/res_config_sqlite.c
team/seanbright/resolve-shadow-warnings/res/res_odbc.c
team/seanbright/resolve-shadow-warnings/sounds/Makefile
team/seanbright/resolve-shadow-warnings/utils/astman.c
Propchange: team/seanbright/resolve-shadow-warnings/
------------------------------------------------------------------------------
Binary property 'branch-1.4-blocked' - no diff available.
Propchange: team/seanbright/resolve-shadow-warnings/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Propchange: team/seanbright/resolve-shadow-warnings/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Mon Jul 21 14:16:59 2008
@@ -1,1 +1,1 @@
-/trunk:1-129854
+/trunk:1-132502
Modified: team/seanbright/resolve-shadow-warnings/CHANGES
URL: http://svn.digium.com/view/asterisk/team/seanbright/resolve-shadow-warnings/CHANGES?view=diff&rev=132503&r1=132502&r2=132503
==============================================================================
--- team/seanbright/resolve-shadow-warnings/CHANGES (original)
+++ team/seanbright/resolve-shadow-warnings/CHANGES Mon Jul 21 14:16:59 2008
@@ -35,9 +35,9 @@
* CHANNEL() now has options for the maximum, minimum, and standard or normal
deviation of jitter, rtt, and loss for a call using chan_sip.
-Zaptel channel driver (chan_zap) Changes
+DAHDI channel driver (chan_dahdi) Changes
----------------------------------------
- * Channels can now be configured using named sections in zapata.conf, just
+ * Channels can now be configured using named sections in chan_dahdi.conf, just
[... 6180 lines stripped ...]
More information about the asterisk-commits
mailing list