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
https://origsvn.digium.com/svn/asterisk/trunk
................
r122714 | mmichelson | 2008-06-13 16:45:21 -0500 (Fri, 13 Jun 2008) | 17 lines
Merged revisions 122713 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r122713 | mmichelson | 2008-06-13 16:44:53 -0500 (Fri, 13 Jun 2008) | 9 lines
Short circuit the loop in autoservice_run if there are no channels to poll.
If we continued, then the result would be calling poll() with a NULL
pollfd array. While this is fine with POSIX's poll(2) system call, those
who use Asterisk's internal poll mechanism (Darwin systems) would have
a failed assertion occur when poll is called.
(related to issue #10342)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r122526 | russell | 2008-06-13 07:53:08 -0500 (Fri, 13 Jun 2008) | 3 lines
Do not allow res_timing_dahdi to be unloaded. We can re-enable this once we
add automatic use count handling for timing modules.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r122523 | russell | 2008-06-13 07:45:50 -0500 (Fri, 13 Jun 2008) | 11 lines
Merge changes from timing branch
- Convert chan_iax2 to use the timing API
- Convert usage of timing in the core to use the timing API instead of
using DAHDI directly
- Make a change to the timing API to add the set_rate() function
- change the timing core to use a rwlock
- merge a timing implementation, res_timing_dahdi
Basic testing was successful using res_timing_dahdi
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r122461 | mmichelson | 2008-06-12 18:58:01 -0500 (Thu, 12 Jun 2008) | 5 lines
Fix a segfault by not trying to store a stack address for
long-term use. Instead use the heap. I can't believe this
never happened *once* in my developer branch when I was testing.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r122399 | mmichelson | 2008-06-12 16:23:02 -0500 (Thu, 12 Jun 2008) | 4 lines
Recommitting revision 122228, which was accidentally reverted
as a result of commit 122234.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r122241 | russell | 2008-06-12 12:38:27 -0500 (Thu, 12 Jun 2008) | 3 lines
Get default entity ID determination working on Linux again
(closes issue #12839)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r122228 | mmichelson | 2008-06-12 11:25:09 -0500 (Thu, 12 Jun 2008) | 12 lines
Merging the work done in the queue-log-atxfer branch. The
net result of this work is that attended transfers made
by queue members will now show up in the queue_log as a
TRANSFER message instead of COMPLETECALLER as it had been.
As far as the details go, I created a datastore which is
attached to the calling channel just prior to when the caller
is bridged with the queue member. If the calling channel
is masqueraded, then during the "fixup" portion, the TRANSFER
will be logged and the datastore will be removed.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
................
r122128 | murf | 2008-06-12 08:56:26 -0600 (Thu, 12 Jun 2008) | 9 lines
Merged revisions 122127 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r122127 | murf | 2008-06-12 08:51:44 -0600 (Thu, 12 Jun 2008) | 1 line
Arkadia tried to warn me, but the code added to ast_cdr_busy, _failed, and _noanswer was redundant. Didn't spot it until I was resolving conflicts in trunk. Ugh. Redundant code removed. It wasn't harmful. Just dumb.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
https://origsvn.digium.com/svn/asterisk/trunk
................
r122091 | murf | 2008-06-12 08:28:01 -0600 (Thu, 12 Jun 2008) | 45 lines
Merged revisions 122046 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r122046 | murf | 2008-06-12 07:47:34 -0600 (Thu, 12 Jun 2008) | 37 lines
(closes issue #10668)
Reported by: arkadia
Tested by: murf, arkadia
Options added to forkCDR() app and the CDR() func to
remove some roadblocks for CDR applications.
The "show application ForkCDR" output was upgraded
to more fully explain the inner workings of forkCDR.
The A option was added to forkCDR to force the
CDR system to NOT change the disposition on the
original CDR, after the fork. This involves
ast_cdr_answer, _busy, _failed, and so on.
The T option was added to forkCDR to force
obedience of the cdr LOCKED flag in the
ast_cdr_end, all the disposition changing
funcs (ast_cdr_answer, etc), and in the
ast_cdr_setvar func.
The CHANGES file was updated to explain ALL
the new options added to satisfy this bug report
(and some requests made verbally and via
email, irc, etc, over the past months/year)
The 's' option was added to the CDR() func,
to force it to skip LOCKED cdr's in the
chain.
Again, the new options should be totally transparent
to existing apps! Current behavior of CDR,
forkCDR, and the rest of the CDR system should
not change one little bit. Until you add the
new options, at least!
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r122047 | russell | 2008-06-12 09:06:38 -0500 (Thu, 12 Jun 2008) | 4 lines
Don't log not being able to set a default EID. Most people don't care, and
those that do can check their setup using CLI commands.
(closes issue #12839)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r121683 | tilghman | 2008-06-10 16:14:58 -0500 (Tue, 10 Jun 2008) | 4 lines
Move the table cache routines to res_odbc, so they can be used from other
places (app_voicemail, for example).
(Related to bug #11678)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r121649 | mmichelson | 2008-06-10 14:52:21 -0500 (Tue, 10 Jun 2008) | 4 lines
Add an additional sanity check in case an event is passed between
Asterisk boxes with mismatched ie_maps.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
........
r121559 | russell | 2008-06-10 10:12:17 -0500 (Tue, 10 Jun 2008) | 24 lines
Merge another big set of changes from team/russell/events
This commit merges in the rest of the code needed to support distributed device
state. There are two main parts to this commit.
Core changes:
- The device state handling in the core has been updated to understand device
state across a cluster of Asterisk servers. Every time the state of a device
changes, it looks at all of the device states on each node, and determines the
aggregate device state. That resulting device state is what is provided to
modules in Asterisk that take actions based on the state of a device.
New module, res_ais:
- A module has been written to facilitate the communication of events between
nodes in a cluster of Asterisk servers. This module uses the SAForum AIS
(Service Availability Forum Application Interface Specification) CLM and EVT
services (Cluster Management and Event) to handle this task. This module
currently supports sharing Voicemail MWI (Message Waiting Indication) and
device state events between servers. It has been tested with openais, though
other implementations of the spec do exist.
For more information on testing distributed device state, see the following doc:
- doc/distributed_devstate.txt
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121560 65c4cc65-6c06-0410-ace0-fbb531ad65f3