[asterisk-commits] file: branch file/bridging r117370 - in /team/file/bridging: ./ apps/ cdr/ ch...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue May 20 21:38:46 CDT 2008


Author: file
Date: Tue May 20 21:38:45 2008
New Revision: 117370

URL: http://svn.digium.com/view/asterisk?view=rev&rev=117370
Log:
Merged revisions 115580,115582,115584,115586,115588,115591,115593-115596,115598,115600,115669,115705,115737,115784,115813,115847,115850,115886,115939,115941,115945,116001,116039,116089,116138,116179,116222-116224,116229,116234,116237,116239-116240,116297-116298,116350,116353,116407,116410,116461,116467,116469,116471,116522,116557,116590,116592,116594,116631,116663,116694,116731,116765,116797,116800,116848,116884,116919,116948,116979,117024,117052-117053,117082,117084-117085,117088,117133,117136,117182,117212,117262,117264,117266,117295,117297,117335,117367 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r115580 | file | 2008-05-09 13:36:58 -0300 (Fri, 09 May 2008) | 10 lines

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

........
r115579 | file | 2008-05-09 13:34:08 -0300 (Fri, 09 May 2008) | 2 lines

Improve res_ninit and res_ndestroy autoconf logic on the Darwin platform.

........

................
r115582 | tilghman | 2008-05-09 14:28:06 -0300 (Fri, 09 May 2008) | 7 lines

Allow a password change to be validated by an external script.
(closes issue #12090)
 Reported by: jaroth
 Patches: 
       vm-check-newpassword.diff.txt uploaded by mvanbaak (license 7)
       20080509__bug12090.diff.txt uploaded by Corydon76 (license 14)

................
r115584 | bbryant | 2008-05-09 16:54:45 -0300 (Fri, 09 May 2008) | 15 lines

The following patch adds new options and alters the default behavior of the ENUM* functions. The TXCIDNAME lookup function has also gotten a 
new paramater. The new options for ENUM* functions include 'u', 's', 'i', and 'd' which return the full uri, trigger isn specific rewriting, look 
for branches into an infrastructure enum tree, or do a direct dns lookup of a number respectively. The new paramater for TXCIDNAME adds a 
zone-suffix argument for looking up caller id's in DNS that aren't e164.arpa.

This patch is based on the original code from otmar, modified by snuffy, and tested by jtodd, me, and others.

(closes issue #8089)
Reported by: otmar
Patches:
      20080508_bug8089-1.diff 
	- original code by otmar (license 480), 
	- revised by snuffy (license 35)
Tested by: oej, otmar, jtodd, Corydon76, snuffy, alexnikolov, bbryant

................
r115586 | bbryant | 2008-05-09 17:05:50 -0300 (Fri, 09 May 2008) | 2 lines

Update CHANGES file for previous commit of ENUM and TXCIDNAME changes.

................
r115588 | mmichelson | 2008-05-09 18:22:42 -0300 (Fri, 09 May 2008) | 19 lines

Adding support for "urgent" voicemail messages. Messages which are
marked "urgent" are considered to be higher priority than other messages
and so they will be played before any other messages in a user's mailbox.

There are two ways to leave an urgent message. 
1. send the 'U' option to VoiceMail().
2. Set review=yes in voicemail.conf. This will give instructions for 
   a caller to mark a message as urgent after the message has been recorded.

I have tested that this works correctly with file and ODBC storage, and James
Rothenberger (who wrote initial support for this feature) has tested its use
with IMAP storage.

(closes issue #11817)
Reported by: jaroth
	Based on branch http://svn.digium.com/svn/asterisk/team/jrothenberger/asterisk-urgent
Tested by: putnopvut, jaroth


................
r115591 | mmichelson | 2008-05-09 19:36:50 -0300 (Fri, 09 May 2008) | 3 lines

Remove a debug line


................
r115593 | junky | 2008-05-10 00:04:25 -0300 (Sat, 10 May 2008) | 2 lines

since we unregister, that has not been properly registered, i standardized this.

................
r115594 | junky | 2008-05-10 00:28:50 -0300 (Sat, 10 May 2008) | 3 lines

ameliorate load and unload to dont use DECLINED or FAILED, when theres no .conf involved.


................
r115595 | junky | 2008-05-10 00:30:59 -0300 (Sat, 10 May 2008) | 3 lines

fix a sample since we now required , and not | for the arguments separator


................
r115596 | tilghman | 2008-05-10 11:19:41 -0300 (Sat, 10 May 2008) | 2 lines

Ensure that "calldate" is acceptable for a column name.

................
r115598 | mattf | 2008-05-10 23:19:21 -0300 (Sat, 10 May 2008) | 1 line

Open up audio channel when we get ACM on SS7 event
................
r115600 | mattf | 2008-05-11 00:23:05 -0300 (Sun, 11 May 2008) | 1 line

Add Zap MTP2 support to chan_zap
................
r115669 | bbryant | 2008-05-12 12:17:32 -0300 (Mon, 12 May 2008) | 3 lines

A small change to fix iax2 native bridging.


................
r115705 | qwell | 2008-05-12 13:35:50 -0300 (Mon, 12 May 2008) | 1 line

Correctly document state interface for AddQueueMember.  Discovered while looking at issue #12626.
................
r115737 | mmichelson | 2008-05-12 14:55:08 -0300 (Mon, 12 May 2008) | 15 lines

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

........
r115735 | mmichelson | 2008-05-12 12:51:14 -0500 (Mon, 12 May 2008) | 7 lines

If a thread holds no locks, do not print any information on the thread when issuing
a core show locks command. This will help to de-clutter output somewhat.

Russell said it would be fine to place this improvement in the 1.4 branch, so that's
why it's going here too.


........

................
r115784 | oej | 2008-05-12 15:39:09 -0300 (Mon, 12 May 2008) | 4 lines

Add support for playing an audio file for caller and callee at start and stop of monitoring (one-touch monitor).
Keep messages short, since the other party is waiting while one party hear the message...


................
r115813 | tilghman | 2008-05-12 17:34:38 -0300 (Mon, 12 May 2008) | 8 lines

Add a script which installs every package needed for a Debian install of
Asterisk, and includes possible support (to be contributed) for various other
distributions.
(closes issue #10523)
 Reported by: tzafrir
 Patches: 
       install_prereq_2 uploaded by tzafrir (license 46)

................
r115847 | russell | 2008-05-13 14:14:22 -0300 (Tue, 13 May 2008) | 2 lines

Initialize the start time in smdi_msg_wait.  Somehow this code got lost in trunk.

................
r115850 | russell | 2008-05-13 14:42:17 -0300 (Tue, 13 May 2008) | 2 lines

Re-introduce proper error handling that was removed in recent commits.

................
r115886 | tilghman | 2008-05-13 15:38:11 -0300 (Tue, 13 May 2008) | 11 lines

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

........
r115884 | tilghman | 2008-05-13 13:36:13 -0500 (Tue, 13 May 2008) | 3 lines

If the socket dies (read returns 0=EOF), return immediately.
(Closes issue #12637)

........

................
r115939 | mattf | 2008-05-13 17:11:20 -0300 (Tue, 13 May 2008) | 1 line

Add support for receiving calling party category
................
r115941 | mattf | 2008-05-13 17:18:04 -0300 (Tue, 13 May 2008) | 1 line

Need to clear calling_party_cat variable after we retrieve it
................
r115945 | file | 2008-05-13 17:29:27 -0300 (Tue, 13 May 2008) | 12 lines

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

........
r115944 | file | 2008-05-13 17:28:23 -0300 (Tue, 13 May 2008) | 4 lines

Use the right flag to open the audio in non-blocking.
(closes issue #12616)
Reported by: nicklewisdigiumuser

........

................
r116001 | russell | 2008-05-13 18:07:59 -0300 (Tue, 13 May 2008) | 13 lines

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

........
r115990 | russell | 2008-05-13 16:05:57 -0500 (Tue, 13 May 2008) | 5 lines

Fix an issue that I noticed in autoservice while mmichelson and I were debugging
a different problem.  I noticed that it was theoretically possible for two threads
to attempt to start the autoservice thread at the same time.  This change makes the
process of starting the autoservice thread, thread-safe.

........

................
r116039 | russell | 2008-05-13 18:18:55 -0300 (Tue, 13 May 2008) | 32 lines

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

........
r116038 | russell | 2008-05-13 16:17:23 -0500 (Tue, 13 May 2008) | 24 lines

Fix a deadlock involving channel autoservice and chan_local that was debugged
and fixed by mmichelson and me.

We observed a system that had a bunch of threads stuck in ast_autoservice_stop().
The reason these threads were waiting around is because this function waits to
ensure that the channel list in the autoservice thread gets rebuilt before the
stop() function returns.  However, the autoservice thread was also locked, so
the autoservice channel list was never getting rebuilt.

The autoservice thread was stuck waiting for the channel lock on a local channel.
However, the local channel was locked by a thread that was stuck in the autoservice
stop function.

It turned out that the issue came down to the local_queue_frame() function in
chan_local.  This function assumed that one of the channels passed in as an
argument was locked when called.  However, that was not always the case.  There
were multiple cases in which this channel was not locked when the function was
called.  We fixed up chan_local to indicate to this function whether this channel
was locked or not.  The previous assumption had caused local_queue_frame() to
improperly return with the channel locked, where it would then never get unlocked.

(closes issue #12584)
(related to issue #12603)

........

................
r116089 | mmichelson | 2008-05-13 20:54:01 -0300 (Tue, 13 May 2008) | 20 lines

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

........
r116088 | mmichelson | 2008-05-13 18:47:49 -0500 (Tue, 13 May 2008) | 12 lines

A change to the way channel locks are handled when DEBUG_CHANNEL_LOCKS is defined.

After debugging a deadlock, it was noticed that when DEBUG_CHANNEL_LOCKS
is enabled in menuselect, the actual origin of channel locks is obscured
by the fact that all channel locks appear to happen in the function
ast_channel_lock(). This code change redefines ast_channel_lock to be a
macro which maps to __ast_channel_lock(), which then relays the proper
file name, line number, and function name information to the core lock
functions so that this information will be displayed in the case that
there is some sort of locking error or core show locks is issued.


........

................
r116138 | mmichelson | 2008-05-13 21:20:05 -0300 (Tue, 13 May 2008) | 6 lines

Undo inadvertent changes to chan_skinny caused by the merging of urgent messaging
support.

Thanks to Damien Wedhorn for pointing out the problem.


................
r116179 | oej | 2008-05-14 05:16:25 -0300 (Wed, 14 May 2008) | 2 lines

Doxygen formatting change only

................
r116222 | oej | 2008-05-14 08:32:05 -0300 (Wed, 14 May 2008) | 2 lines

Adding comments

................
r116223 | oej | 2008-05-14 08:37:21 -0300 (Wed, 14 May 2008) | 2 lines

Reformatting

................
r116224 | oej | 2008-05-14 08:51:09 -0300 (Wed, 14 May 2008) | 2 lines

Formatting changes (coding guidelines) while thinking about something else...

................
r116229 | oej | 2008-05-14 09:32:57 -0300 (Wed, 14 May 2008) | 5 lines

Add support for codec settings in originate via call file and manager.

This is to enable video and text in originated calls. Development sponsored
by Omnitor AB, Sweden. (http://www.omnitor.se)

................
r116234 | oej | 2008-05-14 10:05:15 -0300 (Wed, 14 May 2008) | 11 lines

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

........
r116230 | oej | 2008-05-14 14:51:06 +0200 (Ons, 14 Maj 2008) | 3 lines

Accept text messages even with
Content-Type: text/plain;charset=Södermanländska

........

................
r116237 | oej | 2008-05-14 10:37:07 -0300 (Wed, 14 May 2008) | 5 lines

Adding spport for T.140 RED - Simple RTP redundancy to prevent packet loss in text stream

Work sponsored by Omnitor AB, Stockholm, Sweden (http://www.omnitor.se)


................
r116239 | oej | 2008-05-14 11:03:42 -0300 (Wed, 14 May 2008) | 2 lines

Properly declare charset for text messages.

................
r116240 | oej | 2008-05-14 11:16:51 -0300 (Wed, 14 May 2008) | 2 lines

Don't add linefeed on received MESSAGE

................
r116297 | jpeeler | 2008-05-14 13:52:30 -0300 (Wed, 14 May 2008) | 3 lines

Fixed a few problems with multiparking: call not being parked in the correct parking spot, caller not being notified of parking spot position, and improperly hanging up the call during a transfer due to timing out (not providing the extension in which to transfer).


................
r116298 | tilghman | 2008-05-14 13:53:23 -0300 (Wed, 14 May 2008) | 15 lines

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

........
r116296 | tilghman | 2008-05-14 11:46:48 -0500 (Wed, 14 May 2008) | 2 lines

Detect another way for a connection to have gone away.
(closes issue #12618)
 Reported by: ctooley
 Patches: 
       1.4-externalivr-test_fd.diff uploaded by ctooley (license 136)
       trunk-externalivr-test_fd.diff uploaded by ctooley (license 136)

........

................
r116350 | file | 2008-05-14 15:25:54 -0300 (Wed, 14 May 2008) | 4 lines

Make the ldap version setting work without having both version and protocol set.
(closes issue #12613)
Reported by: suretec

................
r116353 | file | 2008-05-14 15:54:16 -0300 (Wed, 14 May 2008) | 12 lines

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

........
r116352 | file | 2008-05-14 15:53:39 -0300 (Wed, 14 May 2008) | 4 lines

Add linux-gnueabi in.
(closes issue #12529)
Reported by: tzafrir

........

................
r116407 | qwell | 2008-05-14 17:36:55 -0300 (Wed, 14 May 2008) | 9 lines

Voicemail "* exit" should not require an exitcontext to be specified.
The behavior in 1.4 was that it would use the current context if an exitcontext existed.

(closes issue #12605)
Reported by: kenjreno
Patches:
      12605-starexit.diff uploaded by qwell (license 4)
Tested by: file

................
r116410 | qwell | 2008-05-14 17:43:26 -0300 (Wed, 14 May 2008) | 9 lines

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

........
r116409 | qwell | 2008-05-14 15:43:08 -0500 (Wed, 14 May 2008) | 1 line

Document exitcontext in app_voicemail sample config
........

................
r116461 | file | 2008-05-14 18:11:49 -0300 (Wed, 14 May 2008) | 6 lines

Add a missing context unlock.
(closes issue #12649)
Reported by: ys
Patches:
      pbx.c.diff uploaded by ys (license 281)

................
r116467 | tilghman | 2008-05-14 18:39:06 -0300 (Wed, 14 May 2008) | 15 lines

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

........
r116466 | tilghman | 2008-05-14 16:38:09 -0500 (Wed, 14 May 2008) | 7 lines

Avoid zombies when the channel exits before the AGI.
(closes issue #12648)
 Reported by: gkloepfer
 Patches: 
       20080514__bug12648.diff.txt uploaded by Corydon76 (license 14)
 Tested by: gkloepfer

........

................
r116469 | russell | 2008-05-14 18:40:43 -0300 (Wed, 14 May 2008) | 12 lines

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

........
r116463 | russell | 2008-05-14 16:32:00 -0500 (Wed, 14 May 2008) | 4 lines

Add ast_assert(), which can be used to handle fatal errors.  It is only compiled
in if dev-mode is enabled, and only aborts if DO_CRASH is defined.
(inspired by issue #12650)

........

................
r116471 | file | 2008-05-14 18:54:03 -0300 (Wed, 14 May 2008) | 2 lines

Fix pedanticness.

................
r116522 | mmichelson | 2008-05-14 19:15:12 -0300 (Wed, 14 May 2008) | 8 lines

Adding a new option to Chanspy(). The 'd' option allows for the spy to
press DTMF digits to switch between spying modes. Pressing 4 activates spy mode,
pressing 5 activates whisper mode, and pressing 6 activates barge mode. Use of
this feature overrides the normal operation of DTMF numbers. 

This feature is courtesy of Switchvox.


................
r116557 | rizzo | 2008-05-15 07:56:29 -0300 (Thu, 15 May 2008) | 10 lines

Use casts or intermediate variables to remove a number
of platform/compiler-dependent warnings when handing
struct timeval fields, both reading and printing them.

It is a lost battle to handle the different ways struct timeval
is handled on the various platforms and compilers, so try
to be pragmatic and go through int/long which are universally
supported.


................
r116590 | mmichelson | 2008-05-15 12:13:11 -0300 (Thu, 15 May 2008) | 8 lines

Prevent crashes from occurring due to a strcmp of a NULL pointer.

(closes issue #12661)
Reported by: jaroth
Patches:
      urgentcompare.patch uploaded by jaroth (license 50)


................
r116592 | mmichelson | 2008-05-15 12:24:29 -0300 (Thu, 15 May 2008) | 9 lines

Modify externnotify to take the number of urgent voicemails as a final argument instead
of the string "Urgent" 

(closes issue #12660)
Reported by: jaroth
Patches:
      externnotify.patch uploaded by jaroth (license 50)


................
r116594 | mmichelson | 2008-05-15 12:40:29 -0300 (Thu, 15 May 2008) | 12 lines

When counting urgent messages when using IMAP storage, take into account that
the urgent messages are not in their own folder but are actually "flagged" messages
in the INBOX.


(closes issue #12659)
Reported by: jaroth
Patches:
      urgentfolder_v2.patch uploaded by jaroth (license 50)
Tested by: jaroth


................
r116631 | tilghman | 2008-05-15 14:58:22 -0300 (Thu, 15 May 2008) | 3 lines

Don't unload config on reload, when config has not changed.
(Closes issue #12652)

................
r116663 | jpeeler | 2008-05-15 18:54:18 -0300 (Thu, 15 May 2008) | 2 lines

Fixes a problem I was having with two SIP phones using Packet2Packet bridging dropping audio nearly immediately. The problem was that the lock on the SIP dialog was not being unlocked while the bridge was still active. (Related to issue #12566)

................
r116694 | tilghman | 2008-05-15 19:05:47 -0300 (Thu, 15 May 2008) | 4 lines

Add an extra check in ast_strlen_zero, and make ast_assert() not print the
file, line, and function name twice.
(Closes issue #12650)

................
r116731 | jdixon | 2008-05-15 21:51:14 -0300 (Thu, 15 May 2008) | 2 lines

Bring all app_rpt and chan_usbradio stuff up to date

................
r116765 | seanbright | 2008-05-16 14:08:59 -0300 (Fri, 16 May 2008) | 1 line

Compile under dev-mode, please.
................
r116797 | mattf | 2008-05-16 17:00:04 -0300 (Fri, 16 May 2008) | 1 line

Try to see if we can make our ringback situation a little better
................
r116800 | file | 2008-05-16 17:30:24 -0300 (Fri, 16 May 2008) | 12 lines

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

........
r116799 | file | 2008-05-16 17:28:11 -0300 (Fri, 16 May 2008) | 4 lines

Check to make sure an RTP structure exists before calling ast_rtp_new_source on it.
(closes issue #12669)
Reported by: sbisker

........

................
r116848 | file | 2008-05-16 18:34:45 -0300 (Fri, 16 May 2008) | 2 lines

Try to fix attended transfers.

................
r116884 | file | 2008-05-17 16:39:35 -0300 (Sat, 17 May 2008) | 6 lines

Improve native transfers when a chain of IAX2 connections are in use.
(closes issue #7567)
Reported by: tjd
Patches:
      bug_7567_update_v2.diff uploaded by snuffy (license 35)

................
r116919 | russell | 2008-05-18 16:58:10 -0300 (Sun, 18 May 2008) | 3 lines

Remove duplicate colon on Reason header
(closes issue #12678)

................
r116948 | tilghman | 2008-05-18 18:15:58 -0300 (Sun, 18 May 2008) | 4 lines

Add a set of text to the file astcanary uses to communicate back the main
Asterisk process, which explains the purpose for the file being there.  This
should assist people who find the file and wonder why it exists.

................
r116979 | russell | 2008-05-19 00:44:28 -0300 (Mon, 19 May 2008) | 12 lines

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

........
r116978 | russell | 2008-05-18 22:44:04 -0500 (Sun, 18 May 2008) | 4 lines

Avoid access of uninitialized memory.  This caused a bunch of crashes for me
while doing load testing of development branch where I'm working on some
performance improvements.

........

................
r117024 | rizzo | 2008-05-19 10:33:08 -0300 (Mon, 19 May 2008) | 4 lines

Allow users to specify 'startgui=1' in oss.conf so that the
graphic screen for the video console is activated at startup.


................
r117052 | rizzo | 2008-05-19 11:22:04 -0300 (Mon, 19 May 2008) | 15 lines

Some fixes to the code to support running on an externally
supplied window.

SDL (at least recent 1.2.x versions) has the ability to run the
graphic output into an externally supplied window, whose ID in the
environment variable SDL_WINDOWID. Ideally, applications should
run unchanged irrespective of who creates the window. Unfortunately,
SDL does not subscribe to mouse, key and resize events on externally
supplied windows, so we need to do ask for these events explicitly.
 
On passing, also add some code to handle SDL_ACTIVEEVENT so if
the X11 window is killed while we are active, we call
"stop now" to terminate the asterisk instance.


................
r117053 | rizzo | 2008-05-19 11:54:34 -0300 (Mon, 19 May 2008) | 2 lines

fix example configuration for video support in chan_oss

................
r117082 | file | 2008-05-19 12:24:44 -0300 (Mon, 19 May 2008) | 14 lines

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

........
r117081 | file | 2008-05-19 12:22:10 -0300 (Mon, 19 May 2008) | 6 lines

Make chan_h323 work with pwlib 1.12.0
(closes issue #12682)
Reported by: bamby
Patches:
      pwlib_nopipe.diff uploaded by bamby (license 430)

........

................
r117084 | rizzo | 2008-05-19 12:47:46 -0300 (Mon, 19 May 2008) | 7 lines

trap potential failures of SDL when SDL_WINDOWID is pointing to a
random window.

This commit is essentially a workaround for some undesirable behaviour of SDL;
we should not be doing this in the application, but in the library.


................
r117085 | file | 2008-05-19 13:03:33 -0300 (Mon, 19 May 2008) | 4 lines

The logger closes the files it is logging to when reloading so we have to read in the logger configuration even if it has not changed so that the logs get opened again.
(closes issue #12665)
Reported by: DennisD

................
r117088 | tilghman | 2008-05-19 13:07:09 -0300 (Mon, 19 May 2008) | 10 lines

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

........
r117086 | tilghman | 2008-05-19 11:05:05 -0500 (Mon, 19 May 2008) | 2 lines

The addition of usleep(2) within ast_assert requires the inclusion of the unistd.h header

........

................
r117133 | file | 2008-05-19 13:22:56 -0300 (Mon, 19 May 2008) | 4 lines

Remove a premature mutex destroy (the destruction callback will end up destroying it) and use a callback to purge remaining classes.
(closes issue #12677)
Reported by: falves11

................
r117136 | file | 2008-05-19 13:53:33 -0300 (Mon, 19 May 2008) | 14 lines

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

........
r117135 | file | 2008-05-19 13:50:52 -0300 (Mon, 19 May 2008) | 6 lines

Use the right pthread lock and condition when waiting.
(closes issue #12664)
Reported by: tomo1657
Patches:
      res_smdi.c.patch uploaded by tomo1657 (license 484)

........

................
r117182 | tilghman | 2008-05-19 17:06:38 -0300 (Mon, 19 May 2008) | 7 lines

Change the default for the pridialplan parameter to the far more common case of
'unknown', and better document the use of each parameter.
(closes issue #12633)
 Reported by: tzafrir
 Patches: 
       pridialplan_unknown_2.diff uploaded by tzafrir (license 46)

................
r117212 | russell | 2008-05-19 17:45:25 -0300 (Mon, 19 May 2008) | 3 lines

Minor formatting change to test a mantis change ...
(issue #12674)

................
r117262 | tilghman | 2008-05-20 13:13:48 -0300 (Tue, 20 May 2008) | 4 lines

Revert part of previous fix, and heavily comment the logic for object
destruction, for future users.
(Closes issue #12677)

................
r117264 | tilghman | 2008-05-20 13:25:16 -0300 (Tue, 20 May 2008) | 3 lines

Increase limit of unshared connections from 1023 to 4.2 billion.
(Related to issue #12677)

................
r117266 | rizzo | 2008-05-20 13:39:39 -0300 (Tue, 20 May 2008) | 5 lines

Reverse the check for Cookie: and remove leftover code implementing
the same thing.
Add an ast_debug() call to help debugging the url matching.


................
r117295 | rizzo | 2008-05-20 14:48:43 -0300 (Tue, 20 May 2008) | 10 lines

Document the possible presence of multiple variables with the
same name in http queries, which might confuse the manager.

Replace calls to ast_uri_decode() with a local function that also
replaces '+' with ' ', as this is the normal encoding for
spaces in http requests.
This allows passing cli commands to the manager through the
http interface.


................
r117297 | rizzo | 2008-05-20 15:07:24 -0300 (Tue, 20 May 2008) | 18 lines

+ Implement a variant of astman_get_header() to return the first or
  last match, and possibly skip empty fields.  The function is useful
  (and used here) when a form submits multiple 'Action' fields to the
  Manager.

  This change slightly modifies the current behaviour, but only in the
  case the user supplies multiple 'Action: ' lines and the first
  ones are empty, so the change is totally harmless.
 
+ Fix style on a couple of "if (displayconnects)" statements;
 
+ Expand a bit the 'Manager Test' interface, to make it slightly
  more user friendly. But also comment that the HTML should not
  be embedded in the C source.
 
None of this stuff needs to be applied to 1.4.


................
r117335 | murf | 2008-05-20 22:00:28 -0300 (Tue, 20 May 2008) | 10 lines

These changes were made via the comments atis_work made at 4:30am (Mountain Time zone- US)
in #asterisk-dev on 20 May 2008. He noted that a backslash was being inserted before commas
in app call arguments in the extensions.conf.aeldump file that you get from aelparse with the
-w arg. This was being generated from code left over from 1.4, where commas were substituted
with '|', and any remaining commas needed to be escaped.

Many thanks to atis for his comment; please let us know if these changes break anything!



................
r117367 | mmichelson | 2008-05-20 23:20:31 -0300 (Tue, 20 May 2008) | 19 lines

Be sure that we cache included files for each source file which loads
a configuration file.  As it was, only the first did so. This led to 
a problem if the included file was changed (but not the configuration 
file which includes it) and the second source file attempted to reload 
the configuration. It would not see that the included file had changed.

In this particular example, res_phoneprov and chan_sip both loaded
sip.conf, which included a file call sip.peers.conf. Since res_phoneprov
was the first to load sip.conf, only it cached the fact that sip.conf
included sip.peers.conf. If sip.peers.conf were changed and sip.conf were
not and a sip reload were issued (meaning that chan_sip attempts to 
reload sip.conf only if it and its included files have changed) the changes
made to sip.peers.conf would not be seen and therefore no action would be
taken.

(closes issue #12693)
Reported by: marsosa


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

Added:
    team/file/bridging/contrib/scripts/install_prereq
      - copied unchanged from r117367, trunk/contrib/scripts/install_prereq
Modified:
    team/file/bridging/   (props changed)
    team/file/bridging/CHANGES
    team/file/bridging/CREDITS
    team/file/bridging/UPGRADE.txt
    team/file/bridging/apps/app_chanspy.c
    team/file/bridging/apps/app_externalivr.c
    team/file/bridging/apps/app_jack.c
    team/file/bridging/apps/app_queue.c
    team/file/bridging/apps/app_rpt.c
    team/file/bridging/apps/app_skel.c
    team/file/bridging/apps/app_voicemail.c
    team/file/bridging/apps/app_waituntil.c
    team/file/bridging/cdr/cdr_csv.c
    team/file/bridging/cdr/cdr_pgsql.c
    team/file/bridging/channels/Makefile
    team/file/bridging/channels/chan_agent.c
    team/file/bridging/channels/chan_alsa.c
    team/file/bridging/channels/chan_iax2.c
    team/file/bridging/channels/chan_local.c
    team/file/bridging/channels/chan_sip.c
    team/file/bridging/channels/chan_skinny.c
    team/file/bridging/channels/chan_unistim.c
    team/file/bridging/channels/chan_usbradio.c
    team/file/bridging/channels/chan_zap.c
    team/file/bridging/channels/console_gui.c
    team/file/bridging/channels/console_video.c
    team/file/bridging/channels/h323/ast_h323.cxx
    team/file/bridging/channels/iax2-parser.h
    team/file/bridging/channels/xpmr/sinetabx.h
    team/file/bridging/channels/xpmr/xpmr.c
    team/file/bridging/channels/xpmr/xpmr.h
    team/file/bridging/channels/xpmr/xpmr_coef.h
    team/file/bridging/configs/oss.conf.sample
    team/file/bridging/configs/queues.conf.sample
    team/file/bridging/configs/voicemail.conf.sample
    team/file/bridging/configs/zapata.conf.sample
    team/file/bridging/configure
    team/file/bridging/configure.ac
    team/file/bridging/doc/tex/channelvariables.tex
    team/file/bridging/funcs/func_enum.c
    team/file/bridging/funcs/func_speex.c
    team/file/bridging/funcs/func_timeout.c
    team/file/bridging/include/asterisk/app.h
    team/file/bridging/include/asterisk/autoconfig.h.in
    team/file/bridging/include/asterisk/channel.h
    team/file/bridging/include/asterisk/enum.h
    team/file/bridging/include/asterisk/frame.h
    team/file/bridging/include/asterisk/lock.h
    team/file/bridging/include/asterisk/rtp.h
    team/file/bridging/include/asterisk/strings.h
    team/file/bridging/include/asterisk/utils.h
    team/file/bridging/main/Makefile
    team/file/bridging/main/abstract_jb.c
    team/file/bridging/main/app.c
    team/file/bridging/main/asterisk.c
    team/file/bridging/main/autoservice.c
    team/file/bridging/main/channel.c
    team/file/bridging/main/config.c
    team/file/bridging/main/enum.c
    team/file/bridging/main/features.c
    team/file/bridging/main/frame.c
    team/file/bridging/main/http.c
    team/file/bridging/main/logger.c
    team/file/bridging/main/manager.c
    team/file/bridging/main/pbx.c
    team/file/bridging/main/rtp.c
    team/file/bridging/main/sched.c
    team/file/bridging/main/taskprocessor.c
    team/file/bridging/main/udptl.c
    team/file/bridging/main/utils.c
    team/file/bridging/pbx/pbx_spool.c
    team/file/bridging/res/res_agi.c
    team/file/bridging/res/res_config_ldap.c
    team/file/bridging/res/res_odbc.c
    team/file/bridging/res/res_smdi.c
    team/file/bridging/sample.call
    team/file/bridging/utils/ael_main.c
    team/file/bridging/utils/astcanary.c

Propchange: team/file/bridging/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Propchange: team/file/bridging/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Tue May 20 21:38:45 2008
@@ -1,1 +1,1 @@
-/trunk:1-115572
+/trunk:1-117369

Modified: team/file/bridging/CHANGES
URL: http://svn.digium.com/view/asterisk/team/file/bridging/CHANGES?view=diff&rev=117370&r1=117369&r2=117370
==============================================================================
--- team/file/bridging/CHANGES (original)
+++ team/file/bridging/CHANGES Tue May 20 21:38:45 2008
@@ -14,11 +14,19 @@
    based on other parameters.  The default is still to search based on the
    forwarding station ID.  However, there are new options that allow you to search
    based on the message desk terminal ID, or the message desk number.
+ * TIMEOUT() has been modified to be accurate down to the millisecond.
+ * ENUM*() functions now include the following new options:
+     - 'u' returns the full URI and does not strip off the URI-scheme.
+	 - 's' triggers ISN specific rewriting
+	 - 'i' looks for branches into an Infrastructure ENUM tree
+	 - 'd' for a direct DNS lookup without any flipping of digits.
+ * TXCIDNAME() has a new zone-suffix parameter (which defaults to 'e164.arpa')
 
 Zaptel channel driver (chan_zap) Changes
 ----------------------------------------
  * Channels can now be configured using named sections in zapata.conf, just
    like other channel drivers, including the use of templates.
+ * The default for pridialplan has changed from 'national' to 'unknown'.
 
 PBX Changes
 -----------
@@ -42,6 +50,11 @@
    quite helpful.
  * Voicemail now permits a mailbox setting to wrap around from first to last
    messages, if the "messagewrap" option is set to a true value.
+ * Voicemail now permits an external script to be run, for password validation.
+   The script should output "VALID" or "INVALID" on stdout, depending upon the
+   wish to validate or invalidate the password given.  Arguments are:
+   "mailbox" "context" "oldpass" "newpass".  See the sample voicemail.conf for
+   more details
  * Dial has a new option: F(context^extension^pri), which permits a callee to
    continue in the dialplan, at the specified label, if the caller hangs up.
  * ChanSpy and ExtenSpy have a new option, 's' which suppresses speaking the
@@ -54,6 +67,11 @@
    to be spoken instead of the channel name or number. For more information on the
    use of this option, issue the command "core show application ChanSpy" from the 
    Asterisk CLI.
+ * Chanspy has a new option, 'd', which allows the spy to use DTMF to swap between
+   spy modes. Use of this feature overrides the typical use of numeric DTMF. In other
+   words, if using the 'd' option, it is not possible to enter a number to append to
+   the first argument to Chanspy(). Pressing 4 will change to spy mode, pressing 5 will
+   change to whisper mode, and pressing 6 will change to barge mode.
 
 SIP Changes
 -----------
@@ -72,6 +90,8 @@
    testing and problem reporting!
  * Added ability to specify registration expiry time on a per registration basis in
    the register line.
+ * Added support for T140 RED - redundancy in T.140 to prevent text loss due to
+   lost packets.
 
 IAX Changes
 -----------
@@ -93,14 +113,16 @@
   * Addresses managed by DNS manager now can check to see if there is a DNS
     SRV record for a given domain and will use that hostname/port if present.
 
-Dialplan function changes
--------------------------
- * TIMEOUT() has been modified to be accurate down to the millisecond.
-
 AMI - The manager (TCP/TLS/HTTP)
 --------------------------------
   * The Status command now takes an optional list of variables to display
     along with channel status.
+
+ODBC Changes
+------------
+  * res_odbc no longer has a limit of 1023 total possible unshared connections,
+    as some people were running into this limit.  This limit has been increased
+    to 4.2 billion.
 
 ------------------------------------------------------------------------------
 --- Functionality changes from Asterisk 1.4.X to Asterisk 1.6.0  -------------
@@ -155,6 +177,7 @@
   * Originate now requires the Originate privilege and, if you want to call out
     to a subshell, it requires the System privilege, as well.  This was done to
     enhance manager security.
+  * Originate now accepts codec settings with "Codecs: alaw, ulaw, h264" 
   * New command: Atxfer. See doc/manager_1_1.txt for more details or 
     manager show command Atxfer from the CLI
 
@@ -406,6 +429,12 @@
      voicemail boxes.  The SMDI interface can also poll for MWI changes when some
      outside entity is modifying the state of the mailbox (such as IMAP storage or
      a web interface of some kind).
+  * Added the support for marking messages as "urgent." There are two methods to accomplish
+     this. One is to pass the 'U' option to VoiceMail(). Another way to mark a message as urgent
+	 is to specify "review=yes" in voicemail.conf. Doing this will cause allow the user to mark
+	 the message as urgent after he has recorded a voicemail by following the voice instructions.
+	When listening to voicemails using VoiceMailMain urgent messages will be presented before other
+	 messages
 
 Queue changes
 -------------

Modified: team/file/bridging/CREDITS
URL: http://svn.digium.com/view/asterisk/team/file/bridging/CREDITS?view=diff&rev=117370&r1=117369&r2=117370
==============================================================================
--- team/file/bridging/CREDITS (original)
+++ team/file/bridging/CREDITS Tue May 20 21:38:45 2008
@@ -19,6 +19,9 @@
 
 John Todd, TalkPlus, Inc.  and JR Richardson, Ntegrated Solutions. - for funding
     the development of SIP Session Timers support.
+
+Omnitor AB, Gunnar Hellström, for funding work with videocaps, T.140 RED,
+originate with video/text and many more contributions.
 
 === WISHLIST CONTRIBUTERS ===
 Jeremy McNamara - SpeeX support

Modified: team/file/bridging/UPGRADE.txt
URL: http://svn.digium.com/view/asterisk/team/file/bridging/UPGRADE.txt?view=diff&rev=117370&r1=117369&r2=117370
==============================================================================
--- team/file/bridging/UPGRADE.txt (original)
+++ team/file/bridging/UPGRADE.txt Tue May 20 21:38:45 2008
@@ -74,6 +74,8 @@
   checking mailboxes for changes so that they can send MWI information to users.
   Examples of situations that would require this option are web interfaces to
   voicemail or an email client in the case of using IMAP storage.
+* The externnotify script should accept an additional (last) parameter
+  containing the number of urgent messages in the INBOX.
 
 Applications:
 

Modified: team/file/bridging/apps/app_chanspy.c
URL: http://svn.digium.com/view/asterisk/team/file/bridging/apps/app_chanspy.c?view=diff&rev=117370&r1=117369&r2=117370
==============================================================================
--- team/file/bridging/apps/app_chanspy.c (original)
+++ team/file/bridging/apps/app_chanspy.c Tue May 20 21:38:45 2008
@@ -64,7 +64,8 @@
 "    - Dialing a series of digits followed by # builds a channel name to append\n"
 "      to 'chanprefix'. For example, executing ChanSpy(Agent) and then dialing\n"
 "      the digits '1234#' while spying will begin spying on the channel\n"
-"      'Agent/1234'.\n"
+"      'Agent/1234'. Note that this feature will be overriden if the 'd' option\n"
+"       is used\n"
 "  Note: The X option supersedes the three features above in that if a valid\n"
 "        single digit extension exists in the correct context ChanSpy will\n"
 "        exit to it. This also disables choosing a channel based on 'chanprefix'\n"
@@ -73,6 +74,11 @@
 "    b                      - Only spy on channels involved in a bridged call.\n"
 "    B                      - Instead of whispering on a single channel barge in on both\n"
 "                             channels involved in the call.\n"
+"    d                      - Override the typical numeric DTMF functionality and instead\n"
+"                             use DTMF to switch between spy modes.\n"
+"                                     4 = spy mode\n"
+"                                     5 = whisper mode\n"
+"                                     6 = barge mode\n"
 "    g(grp)                 - Only spy on channels in which one or more of the groups \n"

[... 38240 lines stripped ...]



More information about the asterisk-commits mailing list