https://origsvn.digium.com/svn/asterisk/trunk
................
r124316 | tilghman | 2008-06-20 15:17:04 -0500 (Fri, 20 Jun 2008) | 16 lines
Merged revisions 124315 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r124315 | tilghman | 2008-06-20 15:16:02 -0500 (Fri, 20 Jun 2008) | 8 lines
When using a Local channel, started by a call file, with a destination of an
AGI script, the AGI script does not always get notified of a hangup if the
underlying channel hangs up early.
(closes issue #11833)
Reported by: IgorG
Patches:
local_hangup-v1.diff uploaded by IgorG (license 20)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r124180 | mmichelson | 2008-06-19 17:34:03 -0500 (Thu, 19 Jun 2008) | 10 lines
Fix attachment behavior when using IMAP storage for voicemails
1. Filenames had an extra "msg" in the attachment name
2. The attachment was being saved twice
(closes issue #12894)
Reported by: jaroth
Patches:
imap_attach.patch uploaded by jaroth (license 50)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124181 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r124127 | mvanbaak | 2008-06-19 22:48:33 +0200 (Thu, 19 Jun 2008) | 10 lines
Older versions of GNU gcc do not allow 'NULL' as sentinel.
They want (char *)NULL as sentinel.
An example is OpenBSD (confirmed on 4.3) that ships with gcc 3.3.4
This commit introduces a contstant SENTINEL which is declared as:
#define SENTINEL ((char *)NULL)
All places I could test compile on my openbsd system are converted.
Update CODING-GUIDELINES to tell about this constant.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r123988 | tilghman | 2008-06-19 12:55:34 -0500 (Thu, 19 Jun 2008) | 3 lines
Detect if the installed gcc version supports the warn_unused_result attribute.
Reported by mvanbaak via IRC -dev.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r123828 | seanbright | 2008-06-19 10:24:43 -0400 (Thu, 19 Jun 2008) | 7 lines
Include original position in TRANSFER entries written to queue_log.
(closes issue #12888)
Reported by: slavon
Patches:
app_queue_transfer_patch_trunk.diff uploaded by slavon (license 288)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
................
r123715 | tilghman | 2008-06-18 15:23:58 -0500 (Wed, 18 Jun 2008) | 15 lines
Merged revisions 123710 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r123710 | tilghman | 2008-06-18 15:22:42 -0500 (Wed, 18 Jun 2008) | 7 lines
Set the variables top-down, so that if a script sets a variable more than once,
the last one will take precedence.
(closes issue #12673)
Reported by: phber
Patches:
20080519__bug12673.diff.txt uploaded by Corydon76 (license 14)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
........
r123652 | mmichelson | 2008-06-18 10:08:56 -0500 (Wed, 18 Jun 2008) | 7 lines
A portion of the code which handled the 'c' queue option had been
removed. No telling when it happened. Anyway, it's back in now
and works properly.
(Based on issue reported on mailing list)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r123650 | mmichelson | 2008-06-18 09:54:47 -0500 (Wed, 18 Jun 2008) | 4 lines
Silly pointers. This fixes a memory corruption I introduced
with the attended transfer logging.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123651 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
........
r123546 | bbryant | 2008-06-17 16:46:57 -0500 (Tue, 17 Jun 2008) | 5 lines
Updates all usages of ast_tcptls_session_instance to be managed by reference counts so that they only get destroyed when all threads are done using
them, and memory does not get free'd causing strange issues with SIP.
This code was originally written by russellb in the team/group/issue_11972/ branch.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r123526 | mmichelson | 2008-06-17 16:26:31 -0500 (Tue, 17 Jun 2008) | 13 lines
_ys pointed out in #asterisk-bugs that he was experiencing
a memory leak when running the astobj2 test CLI command. After
searching, it appears the leak was in the command handler itself.
Each object was allocated (recount = 1) and then linked into
a container (refounct = 2). Then at the end of the function,
the container was unreffed, causing all the objects to have
their refcount decremented by one, leaving the refcount for
all objects allocated in that function at 1. I've now added
an extra unref to the mix so that the refcount equals zero
when the container is unreffed.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r122243 | jpeeler | 2008-06-12 12:39:38 -0500 (Thu, 12 Jun 2008) | 2 lines
Make sure we hangup any calls we have and NULL out the ss7call value when we get a reset circuit message. Fixes crash bug. (from mattf r121857, moving from chan_zap to chan_dahdi)
........
r122244 | jpeeler | 2008-06-12 12:49:37 -0500 (Thu, 12 Jun 2008) | 2 lines
Fix pseudo channel allocation errors on startup when using SS7. (from mattf r121914, moving from chan_zap to chan_dahdi)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r123358 | tilghman | 2008-06-17 13:23:01 -0500 (Tue, 17 Jun 2008) | 6 lines
If we don't match registrar when destroying a context, it can cause a crash.
(closes issue #12835)
Reported by: ys
Patches:
pbx.c.diff uploaded by ys (license 281)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
................
r123334 | mmichelson | 2008-06-17 13:09:54 -0500 (Tue, 17 Jun 2008) | 19 lines
Merged revisions 123333 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r123333 | mmichelson | 2008-06-17 13:09:16 -0500 (Tue, 17 Jun 2008) | 11 lines
Cisco BTS sends SIP responses with a tab between the Cseq number and
SIP request method in the Cseq: header. Asterisk did not handle this
properly, but with this patch, all is well.
(closes issue #12834)
Reported by: tobias_e
Patches:
12834.patch uploaded by putnopvut (license 60)
Tested by: tobias_e
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
................
r123275 | mmichelson | 2008-06-17 10:57:43 -0500 (Tue, 17 Jun 2008) | 20 lines
Merged revisions 123274 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r123274 | mmichelson | 2008-06-17 10:56:55 -0500 (Tue, 17 Jun 2008) | 12 lines
davidw pointed out that the holdtime calculation used by
app_queue does not use "boxcar" filtering as the comments
say. The term "boxcar" means that the number of samples used
to calculate stays constant, with new samples replacing the
oldest ones. The queue holdtime calculation uses all holdtime
samples collected since the queue was loaded, so the comment
has been changed to be accurate.
(closes issue #12781)
Reported by: davidw
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123276 65c4cc65-6c06-0410-ace0-fbb531ad65f3