Commit Graph

15602 Commits

Author SHA1 Message Date
Tilghman Lesher
ce015bd721 Blocked revisions 122716 via svnmerge
........
r122716 | tilghman | 2008-06-13 16:50:28 -0500 (Fri, 13 Jun 2008) | 2 lines

Properly detect the size of char/varchar fields

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-13 22:01:34 +00:00
Mark Michelson
8940e86621 Merged revisions 122714 via svnmerge from
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
2008-06-13 21:47:53 +00:00
Tilghman Lesher
2a666f21b4 Merged revisions 122557 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r122557 | tilghman | 2008-06-13 09:15:07 -0500 (Fri, 13 Jun 2008) | 7 lines

Convert one more delimiter to use comma.
(closes issue #12850)
 Reported by: bcnit
 Patches: 
       20080613__bug12850.diff.txt uploaded by Corydon76 (license 14)
 Tested by: bcnit

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-13 14:15:56 +00:00
Russell Bryant
33bb0de90b Blocked revisions 122526 via svnmerge
........
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
2008-06-13 12:53:42 +00:00
Russell Bryant
684ca6bc77 Blocked revisions 122523 via svnmerge
........
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
2008-06-13 12:46:16 +00:00
Michiel van Baak
53e887f56b Blocked revisions 122493 via svnmerge
........
r122493 | mvanbaak | 2008-06-13 13:20:47 +0200 (Fri, 13 Jun 2008) | 9 lines

Implement call parking in chan_skinny.

(closes issue #11342)
Reported by: DEA
Patches:
      chan_skinny-park.txt uploaded by DEA (license 3)
      chan_skinny-park-v2.diff.txt uploaded by mvanbaak (license 7)
Tested by: DEA, mvanbaak

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-13 11:21:57 +00:00
Jeff Peeler
c902b29042 Merged revisions 122433 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r122433 | jpeeler | 2008-06-12 18:08:37 -0500 (Thu, 12 Jun 2008) | 4 lines

(closes issue 0012193)
Reported by: davidw
Patch by: Corydon76, modified by me to work properly with ParkAndAnnounce app

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-13 00:18:02 +00:00
Mark Michelson
541cd0a771 Blocked revisions 122461 via svnmerge
........
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
2008-06-12 23:58:26 +00:00
Mark Michelson
b38ba0d12d Blocked revisions 122399 via svnmerge
........
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
2008-06-12 21:23:47 +00:00
Russell Bryant
63dd30cfb2 Blocked revisions 122371 via svnmerge
........
r122371 | russell | 2008-06-12 15:38:52 -0500 (Thu, 12 Jun 2008) | 2 lines

Complete the documentation for the timing API.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-12 20:39:14 +00:00
Mark Michelson
d8873c2856 Merged revisions 122312 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r122312 | mmichelson | 2008-06-12 13:53:17 -0500 (Thu, 12 Jun 2008) | 17 lines

Merged revisions 122311 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r122311 | mmichelson | 2008-06-12 13:50:58 -0500 (Thu, 12 Jun 2008) | 9 lines

Properly play a holdtime message if the announce-holdtime option is
set to "once."

(closes issue #12842)
Reported by: ramonpeek
Patches:
      patch001.diff uploaded by ramonpeek (license 266)


........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-12 18:54:01 +00:00
Russell Bryant
c1bc5f317e Merged revisions 122262 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r122262 | russell | 2008-06-12 13:23:54 -0500 (Thu, 12 Jun 2008) | 11 lines

Merged revisions 122259 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r122259 | russell | 2008-06-12 13:22:44 -0500 (Thu, 12 Jun 2008) | 3 lines

Fix some race conditions that cause ast_assert() to report that chan_iax2 tried
to remove an entry that wasn't in the scheduler

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-12 18:24:33 +00:00
Russell Bryant
f31433df6a Blocked revisions 122241 via svnmerge
........
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
2008-06-12 17:38:46 +00:00
Mark Michelson
192213cb84 Blocked revisions 122228 via svnmerge
........
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
2008-06-12 16:28:14 +00:00
Tilghman Lesher
a435acefbe Merged revisions 122174 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r122174 | tilghman | 2008-06-12 10:26:07 -0500 (Thu, 12 Jun 2008) | 16 lines

Merged revisions 122137 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r122137 | tilghman | 2008-06-12 10:18:39 -0500 (Thu, 12 Jun 2008) | 8 lines

Flipflop the sections for two options, since the section for 'X' (exit context)
may otherwise absorb keypresses meant for 's' (admin/user menu).
(closes issue #12836)
 Reported by: blitzrage
 Patches: 
       20080611__bug12836.diff.txt uploaded by Corydon76 (license 14)
 Tested by: blitzrage

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122180 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-12 15:27:34 +00:00
Tilghman Lesher
24df44d002 Merged revisions 122131 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r122131 | tilghman | 2008-06-12 10:14:37 -0500 (Thu, 12 Jun 2008) | 12 lines

Merged revisions 122130 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r122130 | tilghman | 2008-06-12 10:11:30 -0500 (Thu, 12 Jun 2008) | 4 lines

Occasionally, the alertpipe loses its nonblocking status, so detect and correct
that situation before it causes a deadlock.  (Reported and tested by ctooley
via #asterisk-dev)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122132 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-12 15:15:25 +00:00
Steve Murphy
8230420842 Merged revisions 122128 via svnmerge from
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
2008-06-12 15:01:34 +00:00
Steve Murphy
ebdf1fea15 Merged revisions 122091 via svnmerge from
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
2008-06-12 14:38:46 +00:00
Russell Bryant
bc2cdb7766 Blocked revisions 122047 via svnmerge
........
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
2008-06-12 14:07:10 +00:00
Terry Wilson
53c23298db Blocked revisions 121955 via svnmerge
........
r121955 | twilson | 2008-06-11 16:38:40 -0500 (Wed, 11 Jun 2008) | 2 lines

Initialize parkingtime to DEFAULT_PARK_TIME instead of 0

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121956 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-11 21:42:17 +00:00
Matthew Fredrickson
a7e622b086 Merged revisions 121914 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r121914 | mattf | 2008-06-11 13:53:10 -0500 (Wed, 11 Jun 2008) | 1 line

Fix pseudo channel allocation errors on startup when using SS7
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-11 18:57:15 +00:00
Tilghman Lesher
ec5a235672 Merged revisions 121867 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r121867 | tilghman | 2008-06-11 13:19:24 -0500 (Wed, 11 Jun 2008) | 11 lines

Merged revisions 121861 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r121861 | tilghman | 2008-06-11 13:18:16 -0500 (Wed, 11 Jun 2008) | 3 lines

Make calls to ast_assert() actually test something, so that the error message
printed is not nonsensical (reported by mvanbaak via #asterisk-bugs).

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-11 18:20:18 +00:00
Matthew Fredrickson
53a3681770 Merged revisions 121857 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r121857 | mattf | 2008-06-11 12:50:17 -0500 (Wed, 11 Jun 2008) | 1 line

Make sure we hangup any calls we have and NULL out the ss7call value when we get a reset circuit message.  Fixes crash bug
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-11 17:59:43 +00:00
Tilghman Lesher
405f86563f Merged revisions 121855 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r121855 | tilghman | 2008-06-11 12:44:39 -0500 (Wed, 11 Jun 2008) | 3 lines

Expand CDR uniqueid field to 150 chars, to account for maximum systemname.
(Closes issue #12831)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-11 17:45:37 +00:00
Jeff Peeler
8f932db851 Merged revisions 121805 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r121805 | jpeeler | 2008-06-11 11:11:40 -0500 (Wed, 11 Jun 2008) | 9 lines

Merged revisions 121804 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r121804 | jpeeler | 2008-06-11 11:11:09 -0500 (Wed, 11 Jun 2008) | 1 line

add instructions for logging gdb output via set logging on
........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121806 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-11 16:13:00 +00:00
Tilghman Lesher
4ac89d3ca2 Blocked revisions 121683 via svnmerge
........
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
2008-06-10 21:15:57 +00:00
Mark Michelson
0f451254a8 Blocked revisions 121649 via svnmerge
........
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
2008-06-10 19:53:22 +00:00
Donny Kavanagh
cacafd718b Blocked revisions 121599 via svnmerge
........
r121599 | juggie | 2008-06-10 15:03:11 -0400 (Tue, 10 Jun 2008) | 2 lines

Revision 117802 changed frame.data to frame.data.ptr however codec_ilbc.c was not updated.  This resolves that oversight.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-10 19:06:53 +00:00
Sean Bright
291f2c5b0b Merged revisions 121597 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r121597 | seanbright | 2008-06-10 14:35:37 -0400 (Tue, 10 Jun 2008) | 14 lines

Merged revisions 121596 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r121596 | seanbright | 2008-06-10 14:34:45 -0400 (Tue, 10 Jun 2008) | 6 lines

Fixes a problem with some buggy versions of GNU awk (3.1.3) not liking carriage returns in scripts.

(closes issue #12749)
Reported by: alinux
Tested by: Laureano (on #asterisk-dev), juggie

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-10 18:36:29 +00:00
Russell Bryant
e769bad031 Blocked revisions 121559 via svnmerge
........
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
2008-06-10 15:13:20 +00:00
Russell Bryant
da5b26e1c5 Blocked revisions 121555 via svnmerge
........
r121555 | russell | 2008-06-10 09:53:40 -0500 (Tue, 10 Jun 2008) | 22 lines

Merge some more changes from team/russell/events

This commit pulls in a batch of improvements and additions to the event API.
Changes include:
 - the ability to dynamically build a subscription.  This is useful if you're
    building a subscription based on something you receive from the network,
    or from options in a configuration file.
 - Add tables of event types and IE types and the corresponding string
    representation for implementing text based protocols that use these
	events, for showing events on the CLI, reading configuration that
	references event information, among other things.
 - Add a table that maps IE types and the corresponding payload type.
 - an API call to get the total size of an event
 - an API call to get all events from the cache that match a subscription
 - a new IE payload type, raw, which I used for transporting the Entity ID in
    my code for handling distributed device state.
 - Code improvements to reduce code duplication
 - Include the Entity ID of the server that originated the event in every event
 - an additional event type, DEVICE_STATE_CHANGE, to help facilitate distributed
    device state.  DEVICE_STATE is a state change on one server, DEVICE_STATE_CHANGE
	is the aggregate device state change across all servers.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-10 14:55:07 +00:00
Joshua Colp
2494fa613b git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121505 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2008-06-10 14:12:51 +00:00
Russell Bryant
e48336cb97 Blocked revisions 121501 via svnmerge
........
r121501 | russell | 2008-06-10 09:06:29 -0500 (Tue, 10 Jun 2008) | 9 lines

Merge another change from team/russell/events

This commit breaks out some logic from pbx.c into a simple API.  The hint
processing code had logic for taking the state from multiple devices and
turning that into the state for a single extension.  So, I broke this out
and made an API that lets you take multiple device states and determine
the aggregate device state.  I needed this for some core device state changes
to support distributed device state.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-10 14:06:47 +00:00
Joshua Colp
987aadc097 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121498 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2008-06-10 13:38:40 +00:00
Joshua Colp
3c7c23d269 Merged revisions 121444 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r121444 | file | 2008-06-10 09:54:39 -0300 (Tue, 10 Jun 2008) | 12 lines

Merged revisions 121442 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r121442 | file | 2008-06-10 09:52:06 -0300 (Tue, 10 Jun 2008) | 4 lines

Update BRIDGEPEER variable before we do a generic bridge in case we just broke out of a native bridge and fell through to generic.
(closes issue #12815)
Reported by: ramonpeek

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121445 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-10 12:55:24 +00:00
Russell Bryant
255ef74632 Blocked revisions 121439 via svnmerge
........
r121439 | russell | 2008-06-10 07:48:50 -0500 (Tue, 10 Jun 2008) | 13 lines

Merge another change from team/russell/events ...

DUNDi uses a concept called the Entity ID for unique server identifiers.  I have
pulled out the handling of EIDs and made it something available to all of Asterisk.
There is now a global Entity ID that can be used for other purposes as well, such
as code providing distributed device state, which is why I did this.  The global
Entity ID is set automatically, just like it was done in DUNDi, but it can also be
set in asterisk.conf.  DUNDi will now use this global EID unless one is specified
in dundi.conf.

The current EID for the system can be seen in the "core show settings" CLI command.
It is also available in the dialplan via the ENTITYID variable.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121440 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-10 12:49:09 +00:00
Tilghman Lesher
6e7b2fc321 Blocked revisions 121367 via svnmerge
........
r121367 | tilghman | 2008-06-09 17:51:59 -0500 (Mon, 09 Jun 2008) | 2 lines

Expand RQ_INTEGER type out to multiple types, one for each precision

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121438 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-10 03:44:32 +00:00
Russell Bryant
1b8dba640e Merged revisions 121407 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r121407 | russell | 2008-06-09 19:52:46 -0500 (Mon, 09 Jun 2008) | 2 lines

Bump up the debug level of a couple of messages

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-10 00:53:04 +00:00
Russell Bryant
0588f43631 Blocked revisions 121403 via svnmerge
........
r121403 | russell | 2008-06-09 19:43:06 -0500 (Mon, 09 Jun 2008) | 4 lines

Merge a couple of configure script checks in from team/russell/events.  This adds
the checks for the CLM and EVT services from the SAForum AIS.  I'm going to work
on merging in changes from this branch in pieces.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-10 00:43:40 +00:00
Terry Wilson
cd38c5937b Blocked revisions 121365 via svnmerge
........
r121365 | twilson | 2008-06-09 17:42:08 -0500 (Mon, 09 Jun 2008) | 2 lines

Initialize the lock and destroy lock and cond in the destructor (thanks, mmichelson)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-09 22:47:27 +00:00
Tilghman Lesher
aeeaf593b1 Blocked revisions 121334 via svnmerge
........
r121334 | tilghman | 2008-06-09 14:33:23 -0500 (Mon, 09 Jun 2008) | 3 lines

Add storage of the useragent in the realtime database.
(Closes AST-38)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-09 19:34:04 +00:00
Russell Bryant
3abaf28d74 Merged revisions 121282 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r121282 | russell | 2008-06-09 11:37:08 -0500 (Mon, 09 Jun 2008) | 18 lines

Merged revisions 121280 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r121280 | russell | 2008-06-09 11:35:40 -0500 (Mon, 09 Jun 2008) | 10 lines

Do not attempt to do emulation if an END digit is received and the length is
less than the defined minimum digit length, and the other end only wants END
digits (SIP INFO, for example).

(closes issue #12778)
Reported by: tsearle
Patches:
      12778.rev1.txt uploaded by russell (license 2)
Tested by: tsearle

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-09 16:37:36 +00:00
Tilghman Lesher
d623090d7e Merged revisions 121279 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r121279 | tilghman | 2008-06-09 11:35:06 -0500 (Mon, 09 Jun 2008) | 6 lines

Implement FINDLABEL matching for the new extension matching engine.
(closes issue #12800)
 Reported by: chris-mac
 Patches: 
       20080608__bug12800.diff.txt uploaded by Corydon76 (license 14)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-09 16:36:24 +00:00
Mark Michelson
51638f5aa6 Merged revisions 121230 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r121230 | mmichelson | 2008-06-09 10:08:58 -0500 (Mon, 09 Jun 2008) | 27 lines

Merged revisions 121229 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

(Note that this is being merged to trunk/1.6.0 because
it may affect non-callback agents with ackcall set)

........
r121229 | mmichelson | 2008-06-09 10:02:37 -0500 (Mon, 09 Jun 2008) | 16 lines

A unique situation of timeouts brought forth a failure situation for
autologoff in chan_agent. If using AgentCallbackLogin-style agents, 
then if the timeout specified by the Dial() to reach the agent's phone
was shorter than the timeout specified in queues.conf, then autologoff
would only work if the caller hung up while the agent's phone was ringing.
This patch allows autologoff to work in this situation when the call in
queue transfers to the next available agent (as it would have if the timeout
in queues.conf were less than the timeout in the Dial()).

(closes issue #12754)
Reported by: Rodrigo
Patches:
      12754.patch uploaded by putnopvut (license 60)
Tested by: Rodrigo


........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-09 15:10:08 +00:00
Michiel van Baak
63d35b9c38 Blocked revisions 121197 via svnmerge
........
r121197 | mvanbaak | 2008-06-08 13:40:44 +0200 (Sun, 08 Jun 2008) | 12 lines

add a new argument to PrivacyManager to specify a context
where the entered phone number is checked.

You can now define a set of extensions/exten patterns that describe
valid phone numbers. PrivacyManager will check that context for a match
with the given phone number.
This way you get better control. For example people blindly hitting
10 digits just to get past privacymanager

Example line in extensions.conf:
exten => incoming,n,PrivacyManager(3,10,route-outgoing)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-08 11:42:28 +00:00
Jeff Peeler
3e98181722 Merged revisions 121163 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r121163 | jpeeler | 2008-06-07 20:41:59 -0500 (Sat, 07 Jun 2008) | 4 lines

This was accidentally reverted.
Fixes a bug where if a stream monitor thread was not created (caused from failure of opening or starting the stream) pthread_cancel was called with an invalid thread ID.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121164 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-08 01:43:16 +00:00
Jeff Peeler
5680387bea Merged revisions 121131 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r121131 | jpeeler | 2008-06-07 20:16:25 -0500 (Sat, 07 Jun 2008) | 2 lines

Fixes segfault when using ParkAndAnnounce. Also, loop made more efficient as announce template only needs to be checked until the number of colon separated arguments run out, not the entire pointer storage array. Was done in a similiar fashion in 1.4, but here we're using less variables.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-08 01:18:52 +00:00
Russell Bryant
822355271d Merged revisions 121079 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r121079 | russell | 2008-06-07 09:18:44 -0500 (Sat, 07 Jun 2008) | 15 lines

Merged revisions 121078 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r121078 | russell | 2008-06-07 09:10:56 -0500 (Sat, 07 Jun 2008) | 7 lines

Don't run LIST_HEAD_DESTROY on a STATIC list

(closes issue #12807)
Reported by: ys
Patches: 
      chan_agent_local.diff uploaded by ys (license 281)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-07 14:19:41 +00:00
Tilghman Lesher
0b8cef4b18 Blocked revisions 121042 via svnmerge
........
r121042 | tilghman | 2008-06-06 15:24:11 -0500 (Fri, 06 Jun 2008) | 6 lines

Added a facility for sending arbitrary SIP notify commands from AMI.
(closes issue #12562)
 Reported by: michael-fig
 Patches: 
       20080515__bug12562.diff.txt uploaded by Corydon76 (license 14)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-06 20:25:20 +00:00
Tilghman Lesher
9a4ef078a4 Merged revisions 121010 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r121010 | tilghman | 2008-06-06 14:55:08 -0500 (Fri, 06 Jun 2008) | 6 lines

Make extension match characters case-insensitive.
(closes issue #12777)
 Reported by: jsmith
 Patches: 
       lower_case_patterns-trunk-v1.patch uploaded by jsmith (license 15)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-06 19:56:08 +00:00