[asterisk-commits] russell: branch bbryant/sip-tcptls r72762 - in /team/bbryant/sip-tcptls: ./ a...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Jun 30 00:06:44 CDT 2007


Author: russell
Date: Sat Jun 30 00:06:43 2007
New Revision: 72762

URL: http://svn.digium.com/view/asterisk?view=rev&rev=72762
Log:
Merged revisions 71338,71365,71372,71413,71425,71434,71475-71476,71483,71496-71500,71520-71521,71525,71557,71577,71613,71630,71637,71658,71688,71721,71732,71752,71797,71830,71883,71914,71916,71952,71954,71988,72007,72052,72113,72134,72149,72183,72207,72232-72233,72241,72258,72261,72274,72304,72325-72326,72329-72330,72332,72337,72354,72358,72382,72384,72437,72452,72454-72457,72466,72490-72492,72494,72524,72539,72555,72557,72598,72600,72666,72670,72700-72701,72706,72727,72738,72741 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r71338 | russell | 2007-06-24 13:51:41 -0500 (Sun, 24 Jun 2007) | 3 lines

Conversions to ast_debug()
(issue #9984, patches from eliel and dimas)

................
r71365 | russell | 2007-06-24 15:07:15 -0500 (Sun, 24 Jun 2007) | 18 lines

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

................
r71362 | russell | 2007-06-24 15:06:31 -0500 (Sun, 24 Jun 2007) | 10 lines

Merged revisions 71358 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r71358 | russell | 2007-06-24 15:04:21 -0500 (Sun, 24 Jun 2007) | 2 lines

Revert the patch from issue 9654 due to an unexpected side effect

........

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

................
r71372 | russell | 2007-06-24 15:17:43 -0500 (Sun, 24 Jun 2007) | 11 lines

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

........
r71371 | russell | 2007-06-24 15:16:32 -0500 (Sun, 24 Jun 2007) | 3 lines

Include the menuselect-tree file in tarballs to make builds from tarballs a
little bit faster

........

................
r71413 | file | 2007-06-24 19:52:03 -0500 (Sun, 24 Jun 2007) | 10 lines

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

........
r71412 | file | 2007-06-24 20:49:21 -0400 (Sun, 24 Jun 2007) | 2 lines

Check to make sure the channel pointer is present before queueing up an unhold frame on it. (issue #10046 reported by dimas)

........

................
r71425 | file | 2007-06-24 20:08:22 -0500 (Sun, 24 Jun 2007) | 10 lines

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

........
r71422 | file | 2007-06-24 21:07:31 -0400 (Sun, 24 Jun 2007) | 2 lines

Fix it so 1.4 actually compiles on my box.

........

................
r71434 | file | 2007-06-24 20:11:47 -0500 (Sun, 24 Jun 2007) | 18 lines

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

................
r71430 | file | 2007-06-24 21:10:06 -0400 (Sun, 24 Jun 2007) | 10 lines

Merged revisions 71414 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r71414 | file | 2007-06-24 21:02:49 -0400 (Sun, 24 Jun 2007) | 2 lines

Ignore other URIs after the first in a 300 Multiple Choice response. (issue #10041 reported by homesick)

........

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

................
r71475 | crichter | 2007-06-25 03:53:47 -0500 (Mon, 25 Jun 2007) | 17 lines

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

................
r71096 | crichter | 2007-06-22 17:17:04 +0200 (Fr, 22 Jun 2007) | 9 lines

Merged revisions 68874 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r68874 | crichter | 2007-06-12 09:48:52 +0200 (Di, 12 Jun 2007) | 1 line

if we have already some digits, we just stop the tones.
........

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

................
r71476 | crichter | 2007-06-25 03:57:06 -0500 (Mon, 25 Jun 2007) | 17 lines

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

................
r71106 | crichter | 2007-06-22 17:22:06 +0200 (Fr, 22 Jun 2007) | 9 lines

Merged revisions 68887 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r68887 | crichter | 2007-06-12 10:35:22 +0200 (Di, 12 Jun 2007) | 1 line

if the bridged partner is mISDN too we should not send dtmf tones, they are transmitted inband always
........

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

................
r71483 | crichter | 2007-06-25 04:06:56 -0500 (Mon, 25 Jun 2007) | 17 lines

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

................
r71118 | crichter | 2007-06-22 17:27:53 +0200 (Fr, 22 Jun 2007) | 9 lines

Merged revisions 69053 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r69053 | crichter | 2007-06-13 11:55:54 +0200 (Mi, 13 Jun 2007) | 1 line

restart indicator 0x80 is correct, at least that's what libpri does.
........

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

................
r71496 | crichter | 2007-06-25 04:34:05 -0500 (Mon, 25 Jun 2007) | 17 lines

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

................
r71120 | crichter | 2007-06-22 17:30:08 +0200 (Fr, 22 Jun 2007) | 9 lines

Merged revisions 69887 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r69887 | crichter | 2007-06-19 15:23:04 +0200 (Di, 19 Jun 2007) | 1 line

when we send out a SETUP, but get no response, we should cleanup everything after reception of a hangup.
........

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

................
r71497 | crichter | 2007-06-25 04:37:49 -0500 (Mon, 25 Jun 2007) | 17 lines

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

................
r71121 | crichter | 2007-06-22 17:32:54 +0200 (Fr, 22 Jun 2007) | 9 lines

Merged revisions 70311 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r70311 | crichter | 2007-06-20 16:47:59 +0200 (Mi, 20 Jun 2007) | 1 line

on receiption of cause:44 we mark the channel as in use and inform the user about the situation, we need to test the RESTART stuff then. Also shuffled the empty_chan_in_stack function after the bchannel cleaning functions, to avoid race conditions.
........

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

................
r71498 | crichter | 2007-06-25 04:42:15 -0500 (Mon, 25 Jun 2007) | 17 lines

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

................
r71122 | crichter | 2007-06-22 17:34:31 +0200 (Fr, 22 Jun 2007) | 9 lines

Merged revisions 70342 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r70342 | crichter | 2007-06-20 17:42:39 +0200 (Mi, 20 Jun 2007) | 1 line

forgot one place .. 
........

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

................
r71499 | crichter | 2007-06-25 04:44:35 -0500 (Mon, 25 Jun 2007) | 17 lines

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

................
r71123 | crichter | 2007-06-22 17:38:08 +0200 (Fr, 22 Jun 2007) | 9 lines

Merged revisions 70672 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r70672 | crichter | 2007-06-21 15:11:29 +0200 (Do, 21 Jun 2007) | 1 line

we activate the bchannels in TE mode on incoming calls only when we want to connect the call.
........

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

................
r71500 | crichter | 2007-06-25 04:46:18 -0500 (Mon, 25 Jun 2007) | 17 lines

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

................
r71214 | crichter | 2007-06-23 00:44:42 +0200 (Sa, 23 Jun 2007) | 9 lines

Merged revisions 70341 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r70341 | crichter | 2007-06-20 17:29:09 +0200 (Mi, 20 Jun 2007) | 1 line

fixed a bug that was introduced by copy and paste in the last commit ..bchannels weren't cleaned properly.
........

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

................
r71520 | russell | 2007-06-25 07:40:41 -0500 (Mon, 25 Jun 2007) | 10 lines

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

........
r71519 | russell | 2007-06-25 07:40:06 -0500 (Mon, 25 Jun 2007) | 2 lines

Fix a typo in the Asterisk mib.  (issue #10048, Matti)

........

................
r71521 | file | 2007-06-25 08:00:49 -0500 (Mon, 25 Jun 2007) | 2 lines

Minor header inclusion tweak for new usage of stat()

................
r71525 | file | 2007-06-25 08:04:36 -0500 (Mon, 25 Jun 2007) | 10 lines

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

........
r71522 | file | 2007-06-25 09:03:03 -0400 (Mon, 25 Jun 2007) | 2 lines

Minor tweak for queueing up the unhold frame... this will teach me to do bugs while half asleep. (issue #10046 reported by dimas)

........

................
r71557 | russell | 2007-06-25 08:42:51 -0500 (Mon, 25 Jun 2007) | 2 lines

Convert so more logging to ast_debug (issue #10045, dimas)

................
r71577 | file | 2007-06-25 09:15:05 -0500 (Mon, 25 Jun 2007) | 10 lines

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

........
r71576 | file | 2007-06-25 10:13:45 -0400 (Mon, 25 Jun 2007) | 2 lines

Build a peer as well when hash323 is enabled in users.conf (issue #9599 reported by asagage)

........

................
r71613 | file | 2007-06-25 10:35:10 -0500 (Mon, 25 Jun 2007) | 2 lines

Tweak CLI command completion and some help text. (issue #10049 reported by IgorG)

................
r71630 | mmichelson | 2007-06-25 11:13:26 -0500 (Mon, 25 Jun 2007) | 3 lines

Using inboxcount instead of countmessages.


................
r71637 | murf | 2007-06-25 11:43:33 -0500 (Mon, 25 Jun 2007) | 1 line

Luigi's suggestion to move the llfrom decl was a good one. Done.
................
r71658 | tilghman | 2007-06-25 13:20:18 -0500 (Mon, 25 Jun 2007) | 18 lines

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

................
r71657 | tilghman | 2007-06-25 13:14:59 -0500 (Mon, 25 Jun 2007) | 10 lines

Merged revisions 71656 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r71656 | tilghman | 2007-06-25 13:12:37 -0500 (Mon, 25 Jun 2007) | 2 lines

Issue 10035 - handle_exec returns a result inconsistent with all of the other AGI commands

........

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

................
r71688 | russell | 2007-06-25 14:20:07 -0500 (Mon, 25 Jun 2007) | 3 lines

Allow compilation off app_voicemail with IMAP_STORAE against a system installed
version of the c-client library.  (issue #10047, jcollie)

................
r71721 | mmichelson | 2007-06-25 18:18:19 -0500 (Mon, 25 Jun 2007) | 4 lines

In my commit earlier today, I accidentally left a prototype that isn't defined.
This gets rid of that prototype.


................
r71732 | mmichelson | 2007-06-25 19:10:09 -0500 (Mon, 25 Jun 2007) | 4 lines

Fixes a problem where Asterisk would not compile if IMAP_STORAGE was enabled.
Needed to add a space between file name and options.


................
r71752 | tilghman | 2007-06-26 07:30:59 -0500 (Tue, 26 Jun 2007) | 18 lines

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

................
r71751 | tilghman | 2007-06-26 07:27:47 -0500 (Tue, 26 Jun 2007) | 10 lines

Merged revisions 71750 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r71750 | tilghman | 2007-06-26 07:25:58 -0500 (Tue, 26 Jun 2007) | 2 lines

Issue 10062 - Trying to move a message without selecting one first results in memory corruption

........

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

................
r71797 | mmichelson | 2007-06-26 10:50:11 -0500 (Tue, 26 Jun 2007) | 13 lines

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

........
r71796 | mmichelson | 2007-06-26 10:47:31 -0500 (Tue, 26 Jun 2007) | 5 lines

Fixing bug where the authuser was mistakenly pulled from the mailbox string instead
of the IMAP user.
(closes issue 10054, reported and patched by jaroth)


........

................
r71830 | qwell | 2007-06-26 11:39:22 -0500 (Tue, 26 Jun 2007) | 4 lines

Simplify some code in res_jabber relating to SASL support.

Issue 9988, patch by phsultan.

................
r71883 | mmichelson | 2007-06-26 14:06:47 -0500 (Tue, 26 Jun 2007) | 19 lines

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

........
r71877 | mmichelson | 2007-06-26 14:00:05 -0500 (Tue, 26 Jun 2007) | 11 lines

A few changes, the ultimate goal of which is to keep better track of the number of messages
that a mailbox currently has. A description of the changes:

1. Changed the "updated" field of the vm_state struct to act more as a binary semaphore than a
   counting semaphore, since its current implementation made the inboxcount function not work properly.
   This change falls in line with a change made by UPenn with their IMAP setup and helps to sync our changes with theirs.
2. Eliminated some redundant calls to get_vm_state_by_mailbox inside leave_voicemail
3. Use the play_folder variable to keep track of the number of old and new messages in a mailbox as the messages are deleted
4. Added an increment to the number of new messages that was not there previously in the leave_voicemail function


........

................
r71914 | mmichelson | 2007-06-26 15:34:46 -0500 (Tue, 26 Jun 2007) | 3 lines

Create directory if it does not exist.
(Closes issue 10061, Reported and patched by eliel)

................
r71916 | qwell | 2007-06-26 15:36:50 -0500 (Tue, 26 Jun 2007) | 12 lines

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

........
r71915 | qwell | 2007-06-26 15:36:09 -0500 (Tue, 26 Jun 2007) | 4 lines

Don't dereference a pointer that may be NULL here.

Issue 10017.

........

................
r71952 | mmichelson | 2007-06-26 17:45:16 -0500 (Tue, 26 Jun 2007) | 4 lines

The variable msgnum was being overwritten if IMAP storage was enabled.
Put necessary #ifndef's around the line which would overwrite.


................
r71954 | mmichelson | 2007-06-26 18:03:09 -0500 (Tue, 26 Jun 2007) | 12 lines

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

........
r71953 | mmichelson | 2007-06-26 18:02:09 -0500 (Tue, 26 Jun 2007) | 4 lines

Removing a pointless line. This variable was already set earlier and between then and this
line, there is no way that the values on the right side of the assignment could have changed.


........

................
r71988 | file | 2007-06-26 18:31:23 -0500 (Tue, 26 Jun 2007) | 2 lines

Add rtpdest option to SIP CHANNEL() dialplan function to return the IP address and port that RTP (be it audio/video/text) is going to.

................
r72007 | file | 2007-06-26 20:00:47 -0500 (Tue, 26 Jun 2007) | 10 lines

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

........
r72006 | file | 2007-06-26 20:58:35 -0400 (Tue, 26 Jun 2007) | 2 lines

Make unloading of pbx_dundi actually work.

........

................
r72052 | crichter | 2007-06-27 03:08:58 -0500 (Wed, 27 Jun 2007) | 21 lines

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

................
r72042 | crichter | 2007-06-27 09:58:06 +0200 (Mi, 27 Jun 2007) | 13 lines

Merged revisions 72040-72041 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72040 | crichter | 2007-06-27 09:49:27 +0200 (Mi, 27 Jun 2007) | 1 line

for inbound TE calls, we setup the bchannel when we get the CONNECT_ACKNOWLEDGE, to make sure mISDN has everything ready. removed some #if 0 areas which weren't used anymore.
........
r72041 | crichter | 2007-06-27 09:54:30 +0200 (Mi, 27 Jun 2007) | 1 line

isdn_lib.c didn't compile
........

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

................
r72113 | russell | 2007-06-27 11:38:12 -0500 (Wed, 27 Jun 2007) | 11 lines

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

........
r72112 | russell | 2007-06-27 11:34:24 -0500 (Wed, 27 Jun 2007) | 3 lines

Only output debug information related to RTCP timestamps when RTCP debug
is turned on (issue #10066, patch by me)

........

................
r72134 | qwell | 2007-06-27 12:14:31 -0500 (Wed, 27 Jun 2007) | 14 lines

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

........
r72125 | qwell | 2007-06-27 12:10:32 -0500 (Wed, 27 Jun 2007) | 4 lines

Don't modify a variable that we don't want modified.  Make a copy of it instead.

Issue 10029, patch by phsultan with slight modifications by me (to remove needless casts).

Note: chan_jingle in trunk does not appear to have the same bug.

........

................
r72149 | file | 2007-06-27 12:34:26 -0500 (Wed, 27 Jun 2007) | 10 lines

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

........
r72148 | file | 2007-06-27 13:31:50 -0400 (Wed, 27 Jun 2007) | 2 lines

Make the ast_read_noaudio API call behave better under circumstances where DTMF emulation was happening and a generator was setup. (issue #10065 reported by stevefeinstein)

........

................
r72183 | qwell | 2007-06-27 13:37:44 -0500 (Wed, 27 Jun 2007) | 12 lines

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

........
r72182 | qwell | 2007-06-27 13:36:56 -0500 (Wed, 27 Jun 2007) | 4 lines

Fix another problem in voicemail with missing symbols.

Issue 10074, patch by kryptolus, extended to include #if 0'd blocks (just in case)

........

................
r72207 | kpfleming | 2007-06-27 14:13:54 -0500 (Wed, 27 Jun 2007) | 10 lines

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

........
r72205 | kpfleming | 2007-06-27 14:13:21 -0500 (Wed, 27 Jun 2007) | 2 lines

use the proper type for storing group number bits so that if someone specifies 'group=42' it will actually work instead of being silently ignored

........

................
r72232 | mmichelson | 2007-06-27 14:50:21 -0500 (Wed, 27 Jun 2007) | 10 lines

Adding feature to support the storage and retrieval of voicemail greetings using IMAP storage.
This feature may be turned on by adding imapgreetings=yes to the general section of voicemail.conf
voicemail.conf.sample has details on the options added.

As a result, IMAP storage now has RETRIEVE and DISPOSE macros defined.

In addition to the IMAP greeting changes, I also have added an enum for the voicemail folders
and so now the code should be easier to understand and maintain when it comes to this area.


................
r72233 | file | 2007-06-27 14:57:36 -0500 (Wed, 27 Jun 2007) | 2 lines

Fix -T option. (issue #10073 reported by xylome)

................
r72241 | file | 2007-06-27 15:07:46 -0500 (Wed, 27 Jun 2007) | 2 lines

Fix up properties.

................
r72258 | file | 2007-06-27 15:26:53 -0500 (Wed, 27 Jun 2007) | 18 lines

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

................
r72257 | file | 2007-06-27 16:25:24 -0400 (Wed, 27 Jun 2007) | 10 lines

Merged revisions 72256 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72256 | file | 2007-06-27 16:23:24 -0400 (Wed, 27 Jun 2007) | 2 lines

I may possibly get shot for doing this... but... defer CDR processing until after the channel has been dealt with. This should eliminate all of the issues with channels going funky (SIP/PRI) when you are posting CDRs to a database that is either slow or unavailable and do not want to enable batching.

........

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

................
r72261 | bbryant | 2007-06-27 15:47:45 -0500 (Wed, 27 Jun 2007) | 20 lines

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

................
r72260 | bbryant | 2007-06-27 15:46:12 -0500 (Wed, 27 Jun 2007) | 12 lines

Merged revisions 72259 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72259 | bbryant | 2007-06-27 15:43:53 -0500 (Wed, 27 Jun 2007) | 4 lines

Fixes 100% load when controlling terminal disappears.

Issue #9654, #10010

........

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

................
r72274 | russell | 2007-06-27 16:09:24 -0500 (Wed, 27 Jun 2007) | 21 lines

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

................
r72272 | russell | 2007-06-27 16:08:34 -0500 (Wed, 27 Jun 2007) | 13 lines

Merged revisions 72267 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72267 | russell | 2007-06-27 16:06:45 -0500 (Wed, 27 Jun 2007) | 5 lines

Fix a minor issue with parsing the priority number.  You could have as much
whitespace as you want around a numeric priority, but you couldn't have any
whitespace around a special priority like "n" or "hint".
(issue #10039, reported by mitheloc, fixed by me)

........

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

................
r72304 | mattf | 2007-06-27 16:44:13 -0500 (Wed, 27 Jun 2007) | 1 line

Let's NOT create a deadlock scenario here
................
r72325 | qwell | 2007-06-27 17:17:59 -0500 (Wed, 27 Jun 2007) | 4 lines

Add support for Thai language in say.c

Issue 9417, patch by dome, with some cleanup done by me.

................
r72326 | qwell | 2007-06-27 17:27:09 -0500 (Wed, 27 Jun 2007) | 4 lines

Fix a segfault when trying to tab complete the "core show uptime" command.

Reported in #asterisk-dev on IRC by jcmoore, fixed by me.

................
r72329 | mmichelson | 2007-06-27 17:47:08 -0500 (Wed, 27 Jun 2007) | 4 lines

Added ability to customize which buttons control forward, reverse, pause, and stop during message playback.
(closes issue 9474, reported and patched by jaroth with modifications by me)


................
r72330 | file | 2007-06-27 17:48:15 -0500 (Wed, 27 Jun 2007) | 18 lines

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

................
r72328 | file | 2007-06-27 18:45:49 -0400 (Wed, 27 Jun 2007) | 10 lines

Merged revisions 72327 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72327 | file | 2007-06-27 18:43:11 -0400 (Wed, 27 Jun 2007) | 2 lines

Fix issue where queue log events might be missing. (issue #7765 reported by mtryfoss)

........

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

................
r72332 | file | 2007-06-27 17:58:53 -0500 (Wed, 27 Jun 2007) | 10 lines

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

........
r72331 | file | 2007-06-27 18:58:02 -0400 (Wed, 27 Jun 2007) | 2 lines

Make payload IDs for iLBC/Speex match to our list. Since these are dynamic payloads the other side shouldn't care. (issue #9426 reported by irroot)

........

................
r72337 | bbryant | 2007-06-27 18:04:06 -0500 (Wed, 27 Jun 2007) | 18 lines

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

................
r72335 | bbryant | 2007-06-27 18:03:01 -0500 (Wed, 27 Jun 2007) | 10 lines

Merged revisions 72333 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72333 | bbryant | 2007-06-27 17:58:53 -0500 (Wed, 27 Jun 2007) | 2 lines

Reverted changes for earlier revisions 72259 to 72261. Issue #9654, #10010

........

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

................
r72354 | file | 2007-06-27 18:13:09 -0500 (Wed, 27 Jun 2007) | 2 lines

Add SIPREFERRINGCONTEXT and SIPREFERREDBYHDR variables when a transfer takes place. (issue #8378 reported by jcovert)

................
r72358 | file | 2007-06-27 18:14:39 -0500 (Wed, 27 Jun 2007) | 2 lines

Silly jingle...

................
r72382 | file | 2007-06-27 18:26:46 -0500 (Wed, 27 Jun 2007) | 18 lines

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

................
r72381 | file | 2007-06-27 19:25:12 -0400 (Wed, 27 Jun 2007) | 10 lines

Merged revisions 72378 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72378 | file | 2007-06-27 19:24:01 -0400 (Wed, 27 Jun 2007) | 2 lines

Update documentation to clarify variable usage with MixMonitor. (issue #9494 reported by netoguy)

........

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

................
r72384 | bbryant | 2007-06-27 18:30:31 -0500 (Wed, 27 Jun 2007) | 19 lines

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

................
r72383 | bbryant | 2007-06-27 18:29:14 -0500 (Wed, 27 Jun 2007) | 11 lines

Merged revisions 72373 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72373 | bbryant | 2007-06-27 18:22:13 -0500 (Wed, 27 Jun 2007) | 3 lines

Reinstating patch. This actually fixes the problem, however I was running a development branch without it and mistakenly thought it wasn't fixed. 
Fixes issue #10010, and #9654: 100% CPU usage caused by an asterisk console losing it's controlling terminal.

........

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

................
r72437 | mattf | 2007-06-28 11:35:38 -0500 (Thu, 28 Jun 2007) | 1 line

Fix bug where point code gets corrupted on CPG
................
r72452 | rizzo | 2007-06-28 13:34:07 -0500 (Thu, 28 Jun 2007) | 12 lines

Add -Wdeclaration-after-statement to AST_DEVMODE
to detect declarations in the middle of a block.

Approved by: Russel, Kevin

The fallout will be fixed in separate commits.

I am doing this only on trunk only for the time being, because 1.4
still requires a bit more polishing to give a clean compile
(at least on FreeBSD).


................
r72454 | rizzo | 2007-06-28 13:42:30 -0500 (Thu, 28 Jun 2007) | 1 line

72453 was already applied to trunk some time ago
................
r72455 | rizzo | 2007-06-28 13:59:19 -0500 (Thu, 28 Jun 2007) | 4 lines

move variable declarations to the beginning of a block.
Not applicable to previous branches


................
r72456 | rizzo | 2007-06-28 14:01:43 -0500 (Thu, 28 Jun 2007) | 3 lines

move variable declarations to the beginning of the block


................
r72457 | rizzo | 2007-06-28 14:02:31 -0500 (Thu, 28 Jun 2007) | 4 lines

move variable declarations to the beginning of a block.
Not applicable to previous branches.


................
r72466 | rizzo | 2007-06-28 14:07:38 -0500 (Thu, 28 Jun 2007) | 1 line

72462 is not applicable to trunk
................
r72490 | qwell | 2007-06-28 14:30:39 -0500 (Thu, 28 Jun 2007) | 1 line

Fix building with -Wdeclaration-after-statement
................
r72491 | qwell | 2007-06-28 14:35:23 -0500 (Thu, 28 Jun 2007) | 1 line

Fix building with -Wdeclaration-after-statement, here too
................
r72492 | tilghman | 2007-06-28 14:41:18 -0500 (Thu, 28 Jun 2007) | 2 lines

Remove the ill-advised ast_restrdupa API call and related structures

................
r72494 | russell | 2007-06-28 14:45:09 -0500 (Thu, 28 Jun 2007) | 9 lines

Blocked revisions 72493 via svnmerge

........
r72493 | russell | 2007-06-28 14:44:11 -0500 (Thu, 28 Jun 2007) | 2 lines

regenerate the configure script for rizzo

........

................
r72524 | dhubbard | 2007-06-28 15:52:22 -0500 (Thu, 28 Jun 2007) | 1 line

Added AND, OR, and XOR bitwise operations to MATH for issue 9891, thanks jcmoore
................
r72539 | qwell | 2007-06-28 16:31:00 -0500 (Thu, 28 Jun 2007) | 5 lines

Apparently some builds of gcc don't have declaration-after-statement.
This checks for it in configure, and only uses it if it's available.

If it's wrong, somebody please yell at me and tell me why.

................
r72555 | tilghman | 2007-06-28 23:45:13 -0500 (Thu, 28 Jun 2007) | 9 lines

Blocked revisions 72554 via svnmerge

........
r72554 | tilghman | 2007-06-28 23:43:15 -0500 (Thu, 28 Jun 2007) | 2 lines

Fix 1.4 breakage

........

................
r72557 | tilghman | 2007-06-28 23:56:08 -0500 (Thu, 28 Jun 2007) | 10 lines

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

........
r72556 | tilghman | 2007-06-28 23:47:11 -0500 (Thu, 28 Jun 2007) | 2 lines

Issue 10055 - Change memory allocation to use the heap for a command, since the output has the potential to overflow the stack (as it did here)

........

................
r72598 | file | 2007-06-29 09:20:15 -0500 (Fri, 29 Jun 2007) | 9 lines

Blocked revisions 72597 via svnmerge

........
r72597 | file | 2007-06-29 11:18:36 -0300 (Fri, 29 Jun 2007) | 2 lines

Backport fix for GCC versions without support for declaration-after-statement.

........

................
r72600 | file | 2007-06-29 09:27:24 -0500 (Fri, 29 Jun 2007) | 9 lines

Blocked revisions 72599 via svnmerge

........
r72599 | file | 2007-06-29 11:26:32 -0300 (Fri, 29 Jun 2007) | 2 lines

Minor change for older GCC versions.

........

................
r72666 | rizzo | 2007-06-29 14:09:36 -0500 (Fri, 29 Jun 2007) | 1 line

72665 not applicable to trunk
................
r72670 | mmichelson | 2007-06-29 15:02:00 -0500 (Fri, 29 Jun 2007) | 8 lines

Found a grievous logical error in get_vm_state_by_imapuser.
The imapuser being passed in was never getting compared to imapusers of any of the vm_states
in the vmstates list.

I also found some places in the code where I used my typical brace style and changed it to match
the typical Asterisk brace style.


................
r72700 | rizzo | 2007-06-29 15:33:35 -0500 (Fri, 29 Jun 2007) | 20 lines

Make sure that we properly recurse in subdirectories to
check dependencies for libraries.
Because these targets (e.g. minimime/libmmime.a) are real ones,
declaring them .PHONY would cause them to be rebuilt every time
(see e.g. SVN 64355).

As a workaround I am using the following CHECK_SUBDIR target:

  CHECK_SUBDIR:  # do nothing, just make sure that we recurse in the subdir/
  minimime/libmmime.a: CHECK_SUBDIR
	@cd minimime && $(MAKE) libmmime.a

which seems to do a better job than .PHONY (probably because
.PHONY forces the rebuild even if the recursive make does not think
it is necessary).

If this turns out to be the correct approach, we can then
merge it back into 1.4


................
r72701 | russell | 2007-06-29 15:35:09 -0500 (Fri, 29 Jun 2007) | 7 lines

Merge changes from team/russell/http_filetxfer

Handle transferring large files from the built-in http server.  Previously, the
code attempted to malloc a block as large as the file itself.  Now it uses the
sendfile() system call so that the file isn't copied into userspace at all if
it is available.  Otherwise, it just uses a read/write of small chunks at a time.

................
r72706 | russell | 2007-06-29 15:56:50 -0500 (Fri, 29 Jun 2007) | 9 lines

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

........
r72705 | russell | 2007-06-29 15:56:18 -0500 (Fri, 29 Jun 2007) | 1 line

give format_pcm a more concise destription
........

................
r72727 | rizzo | 2007-06-29 16:14:12 -0500 (Fri, 29 Jun 2007) | 9 lines

As the comment in the code says:

Use weaker error checking because we have some automatically generated
files. However just mask out -Werror, because other warnings below:
     -Wundef -Wstrict-prototypes -Wmissing-declarations
     -Wmissing-prototypes
may actually be important and spot out real bugs.


................
r72738 | russell | 2007-06-29 16:24:40 -0500 (Fri, 29 Jun 2007) | 6 lines

Fix my recent change for sending large files via the http server.  This code
*must* write the file to the FILE *, and not the raw fd.  Otherwise, it breaks
TLS support.

Thanks to rizzo for catching this!

................
r72741 | qwell | 2007-06-29 16:37:43 -0500 (Fri, 29 Jun 2007) | 4 lines

Add support for regcontext and regexten to chan_skinny

Issue 9762, patch by mvanbaak.

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

Modified:
    team/bbryant/sip-tcptls/   (props changed)
    team/bbryant/sip-tcptls/CHANGES
    team/bbryant/sip-tcptls/Makefile
    team/bbryant/sip-tcptls/apps/app_meetme.c
    team/bbryant/sip-tcptls/apps/app_minivm.c
    team/bbryant/sip-tcptls/apps/app_mixmonitor.c
    team/bbryant/sip-tcptls/apps/app_queue.c
    team/bbryant/sip-tcptls/apps/app_record.c
    team/bbryant/sip-tcptls/apps/app_rpt.c
    team/bbryant/sip-tcptls/apps/app_skel.c
    team/bbryant/sip-tcptls/apps/app_sms.c
    team/bbryant/sip-tcptls/apps/app_test.c
    team/bbryant/sip-tcptls/apps/app_voicemail.c
    team/bbryant/sip-tcptls/build_tools/prep_tarball
    team/bbryant/sip-tcptls/channels/chan_agent.c
    team/bbryant/sip-tcptls/channels/chan_gtalk.c
    team/bbryant/sip-tcptls/channels/chan_h323.c
    team/bbryant/sip-tcptls/channels/chan_jingle.c
    team/bbryant/sip-tcptls/channels/chan_misdn.c
    team/bbryant/sip-tcptls/channels/chan_sip.c
    team/bbryant/sip-tcptls/channels/chan_skinny.c
    team/bbryant/sip-tcptls/channels/chan_zap.c
    team/bbryant/sip-tcptls/channels/misdn/isdn_lib.c
    team/bbryant/sip-tcptls/channels/misdn/isdn_lib.h
    team/bbryant/sip-tcptls/channels/misdn/isdn_msg_parser.c
    team/bbryant/sip-tcptls/configs/skinny.conf.sample
    team/bbryant/sip-tcptls/configs/voicemail.conf.sample
    team/bbryant/sip-tcptls/configure
    team/bbryant/sip-tcptls/configure.ac
    team/bbryant/sip-tcptls/doc/asterisk-mib.txt
    team/bbryant/sip-tcptls/doc/imapstorage.tex
    team/bbryant/sip-tcptls/formats/format_pcm.c
    team/bbryant/sip-tcptls/funcs/func_channel.c
    team/bbryant/sip-tcptls/funcs/func_math.c
    team/bbryant/sip-tcptls/include/asterisk/http.h
    team/bbryant/sip-tcptls/include/asterisk/strings.h
    team/bbryant/sip-tcptls/main/Makefile
    team/bbryant/sip-tcptls/main/asterisk.c
    team/bbryant/sip-tcptls/main/cdr.c
    team/bbryant/sip-tcptls/main/channel.c
    team/bbryant/sip-tcptls/main/cli.c
    team/bbryant/sip-tcptls/main/http.c
    team/bbryant/sip-tcptls/main/io.c
    team/bbryant/sip-tcptls/main/jitterbuf.c
    team/bbryant/sip-tcptls/main/loader.c
    team/bbryant/sip-tcptls/main/logger.c
    team/bbryant/sip-tcptls/main/manager.c
    team/bbryant/sip-tcptls/main/minimime/Makefile
    team/bbryant/sip-tcptls/main/rtp.c
    team/bbryant/sip-tcptls/main/say.c
    team/bbryant/sip-tcptls/main/sched.c
    team/bbryant/sip-tcptls/main/translate.c
    team/bbryant/sip-tcptls/main/udptl.c
    team/bbryant/sip-tcptls/makeopts.in
    team/bbryant/sip-tcptls/pbx/pbx_config.c
    team/bbryant/sip-tcptls/pbx/pbx_dundi.c
    team/bbryant/sip-tcptls/res/res_agi.c
    team/bbryant/sip-tcptls/res/res_config_odbc.c
    team/bbryant/sip-tcptls/res/res_config_pgsql.c
    team/bbryant/sip-tcptls/res/res_features.c
    team/bbryant/sip-tcptls/res/res_jabber.c

Propchange: team/bbryant/sip-tcptls/
------------------------------------------------------------------------------
    automerge = *

Propchange: team/bbryant/sip-tcptls/
------------------------------------------------------------------------------
Binary property 'branch-1.4-blocked' - no diff available.

Propchange: team/bbryant/sip-tcptls/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Propchange: team/bbryant/sip-tcptls/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Sat Jun 30 00:06:43 2007
@@ -1,1 +1,1 @@
-/trunk:1-71293
+/trunk:1-72761

Modified: team/bbryant/sip-tcptls/CHANGES
URL: http://svn.digium.com/view/asterisk/team/bbryant/sip-tcptls/CHANGES?view=diff&rev=72762&r1=72761&r2=72762
==============================================================================
--- team/bbryant/sip-tcptls/CHANGES (original)
+++ team/bbryant/sip-tcptls/CHANGES Sat Jun 30 00:06:43 2007
@@ -59,6 +59,8 @@
      required due to the restructuring of how MWI is handled.  See the descriptions 
      in this file of the "pollmailboxes" and "pollfreq" options to voicemail.conf 
      for more information.
+  * Added rtpdest option to CHANNEL() dialplan function.
+  * Added SIPREFERRINGCONTEXT and SIPREFERREDBYHDR variables which are set when a transfer takes place.
 
 IAX2 changes
 ------------
@@ -105,6 +107,8 @@
      to account for this: "pollmailboxes" and "pollfreq".  See the sample
      configuration file for details.
   * Added "tw" language support
+  * Added support for storage of greetings using an IMAP server
+  * Added ability to customize forward, reverse, stop, and pause keys for message playback
 
 Queue changes
 -------------

Modified: team/bbryant/sip-tcptls/Makefile
URL: http://svn.digium.com/view/asterisk/team/bbryant/sip-tcptls/Makefile?view=diff&rev=72762&r1=72761&r2=72762
==============================================================================
--- team/bbryant/sip-tcptls/Makefile (original)
+++ team/bbryant/sip-tcptls/Makefile Sat Jun 30 00:06:43 2007
@@ -193,7 +193,7 @@
 ASTCFLAGS+=-include $(ASTTOPDIR)/include/asterisk/autoconfig.h
 
 ifeq ($(AST_DEVMODE),yes)
-  ASTCFLAGS+=-Werror -Wunused -Wundef
+  ASTCFLAGS+=-Werror -Wunused -Wundef $(AST_DECLARATION_AFTER_STATEMENT)
 endif
 
 ifneq ($(findstring BSD,$(OSARCH)),)

Modified: team/bbryant/sip-tcptls/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/team/bbryant/sip-tcptls/apps/app_meetme.c?view=diff&rev=72762&r1=72761&r2=72762
==============================================================================
--- team/bbryant/sip-tcptls/apps/app_meetme.c (original)
+++ team/bbryant/sip-tcptls/apps/app_meetme.c Sat Jun 30 00:06:43 2007
@@ -2165,8 +2165,8 @@
 					}
 				} else if (f->frametype == AST_FRAME_NULL) {
 					/* Ignore NULL frames. It is perfectly normal to get these if the person is muted. */
-				} else if (option_debug) {
-					ast_log(LOG_DEBUG,
+				} else {
+					ast_debug(1, 
 						"Got unrecognized frame on channel %s, f->frametype=%d,f->subclass=%d\n",
 						chan->name, f->frametype, f->subclass);
 				}

Modified: team/bbryant/sip-tcptls/apps/app_minivm.c
URL: http://svn.digium.com/view/asterisk/team/bbryant/sip-tcptls/apps/app_minivm.c?view=diff&rev=72762&r1=72761&r2=72762
==============================================================================
--- team/bbryant/sip-tcptls/apps/app_minivm.c (original)
+++ team/bbryant/sip-tcptls/apps/app_minivm.c Sat Jun 30 00:06:43 2007
@@ -941,8 +941,7 @@
 		snprintf(tmpcmd, sizeof(tmpcmd), "sox -v %.4f %s.%s %s.%s", vmu->volgain, filename, format, newtmp, format);
 		ast_safe_system(tmpcmd);
 		finalfilename = newtmp;
-		if (option_debug > 2)
-			ast_log	(LOG_DEBUG, "-- VOLGAIN: Stored at: %s.%s - Level: %.4f - Mailbox: %s\n", filename, format, vmu->volgain, vmu->username);
+		ast_debug(3, "-- VOLGAIN: Stored at: %s.%s - Level: %.4f - Mailbox: %s\n", filename, format, vmu->volgain, vmu->username);
 	} else {
 		finalfilename = ast_strdupa(filename);
 	}
@@ -1023,10 +1022,10 @@
 	if (ast_strlen_zero(fromaddress)) {
 		fprintf(p, "From: Asterisk PBX <%s>\n", who);
 	} else {
-		ast_debug(4, "-_-_- Fromaddress template: %s\n", fromaddress);
 		/* Allocate a buffer big enough for variable substitution */
 		int vmlen = strlen(fromaddress) * 3 + 200;
 
+		ast_debug(4, "-_-_- Fromaddress template: %s\n", fromaddress);
 		if ((passdata = alloca(vmlen))) {
 			memset(passdata, 0, vmlen);
 			pbx_substitute_variables_helper(ast, fromaddress, passdata, vmlen);
@@ -1101,8 +1100,8 @@
 	}
 	/* Eww. We want formats to tell us their own MIME type */
 	if (template->attachment) {
+		char *ctype = "audio/x-";
 		ast_debug(3, "-_-_- Attaching file to message: %s\n", fname);
-		char *ctype = "audio/x-";
 		if (!strcasecmp(format, "ogg"))
 			ctype = "application/";
 	
@@ -2405,6 +2404,7 @@
 	char *cat;
 	const char *chanvar;
 	int error = 0;
+	struct minivm_template *template;
 
 	cfg = ast_config_load(VOICEMAIL_CONFIG);
 	ast_mutex_lock(&minivmlock);
@@ -2429,7 +2429,6 @@
 	ast_set2_flag((&globalflags), FALSE, MVM_REVIEW);	
 	ast_set2_flag((&globalflags), FALSE, MVM_OPERATOR);	
 	strcpy(global_charset, "ISO-8859-1");
-	struct minivm_template *template;
 	/* Reset statistics */
 	memset(&global_stats, 0, sizeof(struct minivm_stats));

[... 5450 lines stripped ...]



More information about the asterisk-commits mailing list