........
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
https://origsvn.digium.com/svn/asterisk/trunk
................
r123272 | russell | 2008-06-17 10:52:13 -0500 (Tue, 17 Jun 2008) | 12 lines
Merged revisions 123271 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r123271 | russell | 2008-06-17 10:48:31 -0500 (Tue, 17 Jun 2008) | 4 lines
Fix a memory leak in astobj2 that was pointed out by seanbright. When a container
got destroyed, the underlying bucket list entry for each object that was in the
container at that time did not get free'd.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r123115 | ctooley | 2008-06-16 15:02:06 -0500 (Mon, 16 Jun 2008) | 1 line
Changes response to the ExternalIVR() P command from pipe delimited to comma delimited. closes issue #12804
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
........
r123165 | murf | 2008-06-16 14:43:46 -0600 (Mon, 16 Jun 2008) | 19 lines
(closes issue #12689)
Reported by: ys
Many thanks to ys for doing the research on this problem.
I didn't think it would be best to unlock the contexts
and then relock them after the remove_extension2() call,
so I added an extra arg to remove_extension2() and set it
appropriately in each call. There were not that many.
I considered forcing the code to lock the contexts before
the call to remove_extension2(), but that would require
a slightly greater degree of changes, especially since
the find_context_locked is local to pbx.c
I did a simple sanity test to make sure the code doesn't
mess things up in general.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123173 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r123166 | jpeeler | 2008-06-16 16:15:12 -0500 (Mon, 16 Jun 2008) | 1 line
Fix some variables that were forgotten to be renamed, related to 117658
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
................
r123111 | tilghman | 2008-06-16 14:23:51 -0500 (Mon, 16 Jun 2008) | 16 lines
Merged revisions 123110 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r123110 | tilghman | 2008-06-16 14:21:58 -0500 (Mon, 16 Jun 2008) | 8 lines
People expect that if "hasvoicemail" is set in users.conf, even if "mailbox"
isn't set, that SIP will detect a mailbox.
(closes issue #12855)
Reported by: PLL
Patches:
20080614__bug12855__2.diff.txt uploaded by Corydon76 (license 14)
Tested by: PLL
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123112 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r123076 | seanbright | 2008-06-16 13:33:10 -0400 (Mon, 16 Jun 2008) | 1 line
Last commit for a bit, minor cleanups and move the lock initialization.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123077 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r123044 | seanbright | 2008-06-16 13:14:11 -0400 (Mon, 16 Jun 2008) | 1 line
Convert to use stringfields. Still some more work to do on config load/reload.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123045 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r122977 | russell | 2008-06-16 08:31:36 -0500 (Mon, 16 Jun 2008) | 2 lines
Note that only one timing interface should get loaded.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122978 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r122926 | russell | 2008-06-16 08:03:40 -0500 (Mon, 16 Jun 2008) | 4 lines
Add a "timing test" CLI command. It opens a timer and configures it for
50 ticks per second, and then counts to see how many ticks it actually
gets in a second.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122927 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r122923 | russell | 2008-06-16 07:48:11 -0500 (Mon, 16 Jun 2008) | 5 lines
- Fix a typo in a timing API call
- Convert the last part of channel.c over to use the timing API. This would
not have made a difference when using the dahdi timing module. I noticed
it when trying to use another timing source. Oops. :)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
................
r122920 | file | 2008-06-16 09:32:02 -0300 (Mon, 16 Jun 2008) | 14 lines
Merged revisions 122919 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r122919 | file | 2008-06-16 09:31:09 -0300 (Mon, 16 Jun 2008) | 6 lines
Only compare the first 15 characters so that even if the charset is specified we still accept it as SDP.
(closes issue #12803)
Reported by: lanzaandrea
Patches:
chan_sip.c.diff uploaded by lanzaandrea (license 496)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r122802 | tilghman | 2008-06-15 10:21:16 -0500 (Sun, 15 Jun 2008) | 8 lines
Add some more IAX2-specific information about the channel to the CHANNEL()
function and begin the transition from SIPCHANINFO() to just using CHANNEL().
(closes issue #12856)
Reported by: mostyn
Patches:
iax_and_sip_channel_info.patch uploaded by mostyn (license 398)
(with some additional cleanup by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122803 65c4cc65-6c06-0410-ace0-fbb531ad65f3