[asterisk-commits] file: branch file/bridging r73297 - in /team/file/bridging: ./ apps/ build_to...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 4 18:55:06 CDT 2007


Author: file
Date: Wed Jul  4 18:55:04 2007
New Revision: 73297

URL: http://svn.digium.com/view/asterisk?view=rev&rev=73297
Log:
Merged revisions 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,72767,72807,72867-72869,72889,72920-72923,72927-72932,72935-72940,72982,72986-72987,73003,73006,73054,73127,73144,73174-73175,73191,73209,73254 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r72207 | kpfleming | 2007-06-27 16:13:54 -0300 (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 16:50:21 -0300 (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 16:57:36 -0300 (Wed, 27 Jun 2007) | 2 lines

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

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

Fix up properties.

................
r72258 | file | 2007-06-27 17:26:53 -0300 (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 17:47:45 -0300 (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 18:09:24 -0300 (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 18:44:13 -0300 (Wed, 27 Jun 2007) | 1 line

Let's NOT create a deadlock scenario here
................
r72325 | qwell | 2007-06-27 19:17:59 -0300 (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 19:27:09 -0300 (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 19:47:08 -0300 (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 19:48:15 -0300 (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 19:58:53 -0300 (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 20:04:06 -0300 (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 20:13:09 -0300 (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 20:14:39 -0300 (Wed, 27 Jun 2007) | 2 lines

Silly jingle...

................
r72382 | file | 2007-06-27 20:26:46 -0300 (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 20:30:31 -0300 (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 13:35:38 -0300 (Thu, 28 Jun 2007) | 1 line

Fix bug where point code gets corrupted on CPG
................
r72452 | rizzo | 2007-06-28 15:34:07 -0300 (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 15:42:30 -0300 (Thu, 28 Jun 2007) | 1 line

72453 was already applied to trunk some time ago
................
r72455 | rizzo | 2007-06-28 15:59:19 -0300 (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 16:01:43 -0300 (Thu, 28 Jun 2007) | 3 lines

move variable declarations to the beginning of the block


................
r72457 | rizzo | 2007-06-28 16:02:31 -0300 (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 16:07:38 -0300 (Thu, 28 Jun 2007) | 1 line

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

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

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

Remove the ill-advised ast_restrdupa API call and related structures

................
r72494 | russell | 2007-06-28 16:45:09 -0300 (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 17:52:22 -0300 (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 18:31:00 -0300 (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-29 01:45:13 -0300 (Fri, 29 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-29 01:56:08 -0300 (Fri, 29 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 11:20:15 -0300 (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 11:27:24 -0300 (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 16:09:36 -0300 (Fri, 29 Jun 2007) | 1 line

72665 not applicable to trunk
................
r72670 | mmichelson | 2007-06-29 17:02:00 -0300 (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 17:33:35 -0300 (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 17:35:09 -0300 (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 17:56:50 -0300 (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 18:14:12 -0300 (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 18:24:40 -0300 (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 18:37:43 -0300 (Fri, 29 Jun 2007) | 4 lines

Add support for regcontext and regexten to chan_skinny

Issue 9762, patch by mvanbaak.

................
r72767 | russell | 2007-06-30 13:53:25 -0300 (Sat, 30 Jun 2007) | 11 lines

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

........
r72766 | russell | 2007-06-30 11:50:40 -0500 (Sat, 30 Jun 2007) | 3 lines

Tweak the configure script so that error output isn't spewed to the console
when searching for GTK2 libs, and they aren't found.

........

................
r72807 | russell | 2007-07-01 20:53:13 -0300 (Sun, 01 Jul 2007) | 21 lines

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

................
r72806 | russell | 2007-07-01 18:52:45 -0500 (Sun, 01 Jul 2007) | 13 lines

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

........
r72805 | russell | 2007-07-01 18:51:34 -0500 (Sun, 01 Jul 2007) | 5 lines

When appending lines to call files to keep track of retries, write a leading
newline just in case the original call file did not have a newline at the end.
This fix is in response to a problem I saw reported on the asterisk-users
mailing list.

........

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

................
r72867 | crichter | 2007-07-02 06:17:07 -0300 (Mon, 02 Jul 2007) | 17 lines

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

................
r72850 | crichter | 2007-07-02 10:14:43 +0200 (Mo, 02 Jul 2007) | 9 lines

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

........
r72087 | crichter | 2007-06-27 11:26:53 +0200 (Mi, 27 Jun 2007) | 1 line

simplified channel finding and locking a lot. removed unnecessary #ifdefed areas.
........

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

................
r72868 | crichter | 2007-07-02 06:23:08 -0300 (Mon, 02 Jul 2007) | 17 lines

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

................
r72851 | crichter | 2007-07-02 10:27:19 +0200 (Mo, 02 Jul 2007) | 9 lines

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

........
r72099 | crichter | 2007-06-27 15:22:37 +0200 (Mi, 27 Jun 2007) | 1 line

simplified generation for dummy bchannels, also we mark them as dummies, so they are not used later as real-bchannels, optimized the RESTART mechanisms, we block a channel now on cause:44, and send out a RESTART automatically, then on reception of RESTART_ACKNOWLEDGE we unblock the channel again.
........

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

................
r72869 | crichter | 2007-07-02 06:34:19 -0300 (Mon, 02 Jul 2007) | 17 lines

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

................
r72852 | crichter | 2007-07-02 10:41:08 +0200 (Mo, 02 Jul 2007) | 9 lines

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

........
r72585 | crichter | 2007-06-29 15:08:26 +0200 (Fr, 29 Jun 2007) | 1 line

check if the bchannel stack id is already used, if so don't use it a second time. Also added a release_chan lock, so that the same chan_list object cannot be freed twice. chan_misdn does not crash anymore on heavy load with these changes.
........

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

................
r72889 | file | 2007-07-02 11:39:49 -0300 (Mon, 02 Jul 2007) | 10 lines

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

........
r72888 | file | 2007-07-02 11:32:59 -0300 (Mon, 02 Jul 2007) | 2 lines

Added additional DTMF debug messages for when emulation occurs.

........

................
r72920 | russell | 2007-07-02 13:42:17 -0300 (Mon, 02 Jul 2007) | 2 lines

update application documentation dump

................
r72921 | russell | 2007-07-02 13:42:47 -0300 (Mon, 02 Jul 2007) | 3 lines

change the "core dump appdocs" CLI command to use the new API for creating
CLI commands

................
r72922 | russell | 2007-07-02 14:11:53 -0300 (Mon, 02 Jul 2007) | 2 lines

Add "core dump funcdocs" CLI command

................
r72923 | russell | 2007-07-02 14:12:20 -0300 (Mon, 02 Jul 2007) | 2 lines

update documentation to include dialplan functions

................
r72927 | russell | 2007-07-02 15:19:21 -0300 (Mon, 02 Jul 2007) | 11 lines

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

........
r72926 | russell | 2007-07-02 13:18:46 -0500 (Mon, 02 Jul 2007) | 3 lines

Remove a bogus comment and add proper locking to the handler function for the
CLI command to show information on manager actions.

........

................
r72928 | russell | 2007-07-02 15:45:50 -0300 (Mon, 02 Jul 2007) | 2 lines

Add a CLI command to dump the built-in manager action documentation

................
r72929 | russell | 2007-07-02 15:46:13 -0300 (Mon, 02 Jul 2007) | 2 lines

Update the documentation to include a manager action reference

................
r72930 | russell | 2007-07-02 16:01:16 -0300 (Mon, 02 Jul 2007) | 2 lines

Add a note that the AGI commands array is not handled in a thread-safe way

................
r72931 | russell | 2007-07-02 16:29:50 -0300 (Mon, 02 Jul 2007) | 2 lines

Add a CLI command to export the AGI command docs

................
r72932 | russell | 2007-07-02 16:31:26 -0300 (Mon, 02 Jul 2007) | 2 lines

Add AGI commands to the documentation

................
r72935 | file | 2007-07-02 17:27:28 -0300 (Mon, 02 Jul 2007) | 2 lines

Fix building under Solaris.

................
r72936 | file | 2007-07-02 17:35:35 -0300 (Mon, 02 Jul 2007) | 2 lines

Yet another Solaris tweak...

................
r72937 | russell | 2007-07-02 17:42:14 -0300 (Mon, 02 Jul 2007) | 2 lines

Add a CLI command to output docs on CLI commands to a file

................
r72938 | russell | 2007-07-02 17:42:40 -0300 (Mon, 02 Jul 2007) | 2 lines

Add CLI commands to the docs

................
r72939 | russell | 2007-07-02 17:45:53 -0300 (Mon, 02 Jul 2007) | 3 lines

Fix up the AGI doc dump CLI command and update the AGI commands tex file to not
include a bunch of empty entries.

................
r72940 | murf | 2007-07-02 18:50:15 -0300 (Mon, 02 Jul 2007) | 9 lines

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

........
r72933 | murf | 2007-07-02 14:16:31 -0600 (Mon, 02 Jul 2007) | 1 line

support for floating point numbers added to ast_expr2 $\[...\] exprs. Fixes bug 9508, where the expr code fails with fp numbers. The MATH function returns fp numbers by default, so this fix is considered necessary.
........

................
r72982 | russell | 2007-07-02 19:27:46 -0300 (Mon, 02 Jul 2007) | 7 lines

* Move LaTeX docs into a tex/ subdirectory of the doc/ dir
* Add a Makefile in doc/tex/ for generating PDF and HTML
* Add a README.txt file to doc/tex/ to document which tools are used and what
  web sites to visit for getting them.
* Update build_tools/prep_tarball to put the proper Asterisk version string
  in the automatically generated PDF for release tarballs

................
r72986 | russell | 2007-07-02 20:02:16 -0300 (Mon, 02 Jul 2007) | 6 lines

After some discussion on the asterisk-dev list, we determined that this approach
for extracting application, function, manager, and agi documentation is the wrong
one to take.  The most severe problem is that the output depends on which modules
are loaded as well as compile time options, which both determine which parts are
available.

................
r72987 | qwell | 2007-07-02 23:51:08 -0300 (Mon, 02 Jul 2007) | 4 lines

Correct an issue where the wrong type was being used to start sasl.

Pointed out by and patch provided by mog.

................
r73003 | tilghman | 2007-07-03 02:21:02 -0300 (Tue, 03 Jul 2007) | 2 lines

Typo (closes issue 10105)

................
r73006 | crichter | 2007-07-03 05:22:13 -0300 (Tue, 03 Jul 2007) | 17 lines

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

................
r73005 | crichter | 2007-07-03 10:17:06 +0200 (Di, 03 Jul 2007) | 9 lines

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

........
r73004 | crichter | 2007-07-03 10:04:35 +0200 (Di, 03 Jul 2007) | 1 line

fixed issue, that misdn_l2l1_check could only be called from mISDN Source channels.. #9449
........

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

................
r73054 | tilghman | 2007-07-03 09:40:26 -0300 (Tue, 03 Jul 2007) | 18 lines

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

................
r73053 | tilghman | 2007-07-03 07:38:53 -0500 (Tue, 03 Jul 2007) | 10 lines

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

........
r73052 | tilghman | 2007-07-03 07:34:14 -0500 (Tue, 03 Jul 2007) | 2 lines

RetryDial should accept a 0 argument, but it does not, because atoi does not distinguish between 0 and error (closes issue #10106)

........

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

................
r73127 | russell | 2007-07-03 15:25:30 -0300 (Tue, 03 Jul 2007) | 4 lines

Fix up the device state processing thread in app_queue so that it's not
possible for there to be entries in the queue and the thread is just sleeping
(Thanks to mmichelson for bringing the problem to my attention)

................
r73144 | qwell | 2007-07-03 17:34:27 -0300 (Tue, 03 Jul 2007) | 5 lines

Add support for changing the exit key from # to any DTMF.
This does not break existing configs - the arguments to p are optional.

Issue 8827, initial patch by junky, mostly rewritten by fw to re-use option p, further modified by me.

................
r73174 | qwell | 2007-07-03 18:21:51 -0300 (Tue, 03 Jul 2007) | 2 lines

Fix a build warning, and potential issue if option p is not set at all.

................
r73175 | qwell | 2007-07-03 18:44:27 -0300 (Tue, 03 Jul 2007) | 6 lines

mkstemp doesn't specify a file mode, so we should chmod it to VOICEMAIL_FILE_MODE

Taken from a larger patch by ltd - the rest of which is no longer necessary in trunk.

Closes issue #9231

................
r73191 | murf | 2007-07-03 19:17:09 -0300 (Tue, 03 Jul 2007) | 1 line

blocking 73143 (revert of 9508 bug fix for 1.4) -- don't want it backed out of trunk, too
................
r73209 | crichter | 2007-07-04 05:43:27 -0300 (Wed, 04 Jul 2007) | 17 lines

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

................
r73208 | crichter | 2007-07-04 10:27:44 +0200 (Mi, 04 Jul 2007) | 9 lines

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

........
r73207 | crichter | 2007-07-04 10:20:54 +0200 (Mi, 04 Jul 2007) | 1 line

bad bug in overlapdial case, we called start_pbx multiple times, because the state wasn't changed..
........

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

................
r73254 | crichter | 2007-07-04 11:58:58 -0300 (Wed, 04 Jul 2007) | 17 lines

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

................
r73253 | crichter | 2007-07-04 16:53:48 +0200 (Mi, 04 Jul 2007) | 9 lines

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

........
r73252 | crichter | 2007-07-04 16:50:58 +0200 (Mi, 04 Jul 2007) | 1 line

bchannel configurations like echocancel and volume control, need to be setuped on inbound calls too.
........

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

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

Added:
    team/file/bridging/doc/tex/
      - copied from r73254, trunk/doc/tex/
    team/file/bridging/doc/tex/Makefile
      - copied unchanged from r73254, trunk/doc/tex/Makefile
    team/file/bridging/doc/tex/README.txt
      - copied unchanged from r73254, trunk/doc/tex/README.txt
    team/file/bridging/doc/tex/ael.tex
      - copied unchanged from r73254, trunk/doc/tex/ael.tex
    team/file/bridging/doc/tex/ajam.tex
      - copied unchanged from r73254, trunk/doc/tex/ajam.tex
    team/file/bridging/doc/tex/app-sms.tex
      - copied unchanged from r73254, trunk/doc/tex/app-sms.tex
    team/file/bridging/doc/tex/asterisk-conf.tex
      - copied unchanged from r73254, trunk/doc/tex/asterisk-conf.tex
    team/file/bridging/doc/tex/asterisk.tex
      - copied unchanged from r73254, trunk/doc/tex/asterisk.tex
    team/file/bridging/doc/tex/billing.tex
      - copied unchanged from r73254, trunk/doc/tex/billing.tex
    team/file/bridging/doc/tex/cdrdriver.tex
      - copied unchanged from r73254, trunk/doc/tex/cdrdriver.tex
    team/file/bridging/doc/tex/chaniax.tex
      - copied unchanged from r73254, trunk/doc/tex/chaniax.tex
    team/file/bridging/doc/tex/channelvariables.tex
      - copied unchanged from r73254, trunk/doc/tex/channelvariables.tex
    team/file/bridging/doc/tex/cliprompt.tex
      - copied unchanged from r73254, trunk/doc/tex/cliprompt.tex
    team/file/bridging/doc/tex/configuration.tex
      - copied unchanged from r73254, trunk/doc/tex/configuration.tex
    team/file/bridging/doc/tex/dundi.tex
      - copied unchanged from r73254, trunk/doc/tex/dundi.tex
    team/file/bridging/doc/tex/enum.tex
      - copied unchanged from r73254, trunk/doc/tex/enum.tex
    team/file/bridging/doc/tex/extensions.tex
      - copied unchanged from r73254, trunk/doc/tex/extensions.tex
    team/file/bridging/doc/tex/freetds.tex
      - copied unchanged from r73254, trunk/doc/tex/freetds.tex
    team/file/bridging/doc/tex/hardware.tex
      - copied unchanged from r73254, trunk/doc/tex/hardware.tex
    team/file/bridging/doc/tex/ices.tex
      - copied unchanged from r73254, trunk/doc/tex/ices.tex
    team/file/bridging/doc/tex/imapstorage.tex
      - copied unchanged from r73254, trunk/doc/tex/imapstorage.tex
    team/file/bridging/doc/tex/jitterbuffer.tex
      - copied unchanged from r73254, trunk/doc/tex/jitterbuffer.tex
    team/file/bridging/doc/tex/localchannel.tex
      - copied unchanged from r73254, trunk/doc/tex/localchannel.tex
    team/file/bridging/doc/tex/manager.tex
      - copied unchanged from r73254, trunk/doc/tex/manager.tex
    team/file/bridging/doc/tex/misdn.tex
      - copied unchanged from r73254, trunk/doc/tex/misdn.tex
    team/file/bridging/doc/tex/mp3.tex
      - copied unchanged from r73254, trunk/doc/tex/mp3.tex
    team/file/bridging/doc/tex/odbcstorage.tex
      - copied unchanged from r73254, trunk/doc/tex/odbcstorage.tex
    team/file/bridging/doc/tex/privacy.tex
      - copied unchanged from r73254, trunk/doc/tex/privacy.tex
    team/file/bridging/doc/tex/qos.tex
      - copied unchanged from r73254, trunk/doc/tex/qos.tex
    team/file/bridging/doc/tex/queuelog.tex
      - copied unchanged from r73254, trunk/doc/tex/queuelog.tex
    team/file/bridging/doc/tex/queues-with-callback-members.tex
      - copied unchanged from r73254, trunk/doc/tex/queues-with-callback-members.tex
    team/file/bridging/doc/tex/realtime.tex
      - copied unchanged from r73254, trunk/doc/tex/realtime.tex
    team/file/bridging/doc/tex/security.tex
      - copied unchanged from r73254, trunk/doc/tex/security.tex
    team/file/bridging/doc/tex/sla.tex
      - copied unchanged from r73254, trunk/doc/tex/sla.tex
Removed:
    team/file/bridging/doc/ael.tex
    team/file/bridging/doc/ajam.tex
    team/file/bridging/doc/app-sms.tex
    team/file/bridging/doc/ast_appdocs.tex
    team/file/bridging/doc/asterisk-conf.tex
    team/file/bridging/doc/asterisk.tex
    team/file/bridging/doc/billing.tex
    team/file/bridging/doc/cdrdriver.tex
    team/file/bridging/doc/chaniax.tex
    team/file/bridging/doc/channelvariables.tex
    team/file/bridging/doc/cliprompt.tex
    team/file/bridging/doc/configuration.tex
    team/file/bridging/doc/dundi.tex
    team/file/bridging/doc/enum.tex
    team/file/bridging/doc/extensions.tex
    team/file/bridging/doc/freetds.tex
    team/file/bridging/doc/hardware.tex
    team/file/bridging/doc/ices.tex
    team/file/bridging/doc/imapstorage.tex
    team/file/bridging/doc/jitterbuffer.tex
    team/file/bridging/doc/localchannel.tex
    team/file/bridging/doc/manager.tex
    team/file/bridging/doc/misdn.tex
    team/file/bridging/doc/mp3.tex
    team/file/bridging/doc/odbcstorage.tex
    team/file/bridging/doc/privacy.tex
    team/file/bridging/doc/qos.tex
    team/file/bridging/doc/queuelog.tex
    team/file/bridging/doc/queues-with-callback-members.tex
    team/file/bridging/doc/realtime.tex
    team/file/bridging/doc/security.tex
    team/file/bridging/doc/sla.tex
Modified:
    team/file/bridging/   (props changed)
    team/file/bridging/CHANGES
    team/file/bridging/Makefile
    team/file/bridging/UPGRADE.txt
    team/file/bridging/apps/app_dial.c
    team/file/bridging/apps/app_meetme.c
    team/file/bridging/apps/app_minivm.c
    team/file/bridging/apps/app_mixmonitor.c
    team/file/bridging/apps/app_queue.c
    team/file/bridging/apps/app_sms.c
    team/file/bridging/apps/app_voicemail.c
    team/file/bridging/build_tools/prep_tarball
    team/file/bridging/channels/chan_gtalk.c
    team/file/bridging/channels/chan_iax2.c
    team/file/bridging/channels/chan_jingle.c
    team/file/bridging/channels/chan_misdn.c
    team/file/bridging/channels/chan_sip.c
    team/file/bridging/channels/chan_skinny.c
    team/file/bridging/channels/chan_zap.c
    team/file/bridging/channels/misdn/isdn_lib.c
    team/file/bridging/channels/misdn/isdn_lib.h
    team/file/bridging/channels/misdn/isdn_msg_parser.c
    team/file/bridging/configs/skinny.conf.sample
    team/file/bridging/configs/voicemail.conf.sample
    team/file/bridging/configure
    team/file/bridging/configure.ac
    team/file/bridging/formats/format_pcm.c
    team/file/bridging/funcs/func_math.c
    team/file/bridging/include/asterisk/http.h
    team/file/bridging/include/asterisk/strings.h
    team/file/bridging/main/Makefile
    team/file/bridging/main/ast_expr2.c
    team/file/bridging/main/ast_expr2.fl
    team/file/bridging/main/ast_expr2.h
    team/file/bridging/main/ast_expr2.y
    team/file/bridging/main/ast_expr2f.c
    team/file/bridging/main/asterisk.c
    team/file/bridging/main/channel.c
    team/file/bridging/main/cli.c
    team/file/bridging/main/http.c
    team/file/bridging/main/logger.c
    team/file/bridging/main/manager.c
    team/file/bridging/main/minimime/Makefile
    team/file/bridging/main/pbx.c
    team/file/bridging/main/say.c
    team/file/bridging/makeopts.in
    team/file/bridging/pbx/pbx_config.c
    team/file/bridging/pbx/pbx_spool.c
    team/file/bridging/res/res_agi.c
    team/file/bridging/res/res_config_odbc.c
    team/file/bridging/res/res_config_pgsql.c
    team/file/bridging/res/res_features.c
    team/file/bridging/res/res_jabber.c
    team/file/bridging/res/res_limit.c
    team/file/bridging/utils/expr2.testinput

Propchange: team/file/bridging/
------------------------------------------------------------------------------
    automerge = *

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

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

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

Propchange: team/file/bridging/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Wed Jul  4 18:55:04 2007
@@ -1,1 +1,1 @@
-/trunk:1-72189
+/trunk:1-73296

Modified: team/file/bridging/CHANGES
URL: http://svn.digium.com/view/asterisk/team/file/bridging/CHANGES?view=diff&rev=73297&r1=73296&r2=73297
==============================================================================
--- team/file/bridging/CHANGES (original)
+++ team/file/bridging/CHANGES Wed Jul  4 18:55:04 2007
@@ -60,6 +60,7 @@
      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
 ------------
@@ -106,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/file/bridging/Makefile
URL: http://svn.digium.com/view/asterisk/team/file/bridging/Makefile?view=diff&rev=73297&r1=73296&r2=73297
==============================================================================
--- team/file/bridging/Makefile (original)
+++ team/file/bridging/Makefile Wed Jul  4 18:55:04 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)),)
@@ -699,22 +699,4 @@
 
 asterisk.pdf: doc/asterisk.pdf
 
-doc/asterisk.pdf: $(wildcard doc/*.tex)
-ifeq ($(findstring rubber,$(RUBBER)),)
-	@echo "**********************************************"
-	@echo "** You must install the \"rubber\" tool      ***"
-	@echo "** to generate the Asterisk reference PDF. ***"
-	@echo "**********************************************"
-else
-	@echo "**********************************************"
-	@echo "** The Asterisk reference PDF will now be  ***"
-	@echo "** generated.  When complete, it will be   ***"
-	@echo "** located at doc/asterisk.pdf.            ***"	
-	@echo "**********************************************"
-	@cp doc/asterisk.tex doc/asterisk.tex.orig
-	@sed -i -e 's/ASTERISKVERSION/$(ASTERISKVERSION)/' doc/asterisk.tex
-	@cd doc && $(RUBBER) --pdf asterisk.tex
-	@mv doc/asterisk.tex.orig doc/asterisk.tex
-endif
-
 .PHONY: menuselect main sounds clean dist-clean distclean all prereqs cleantest uninstall _uninstall uninstall-all dont-optimize $(SUBDIRS_INSTALL) $(SUBDIRS_CLEAN) $(SUBDIRS_UNINSTALL) $(SUBDIRS) $(MOD_SUBDIRS_EMBED_LDSCRIPT) $(MOD_SUBDIRS_EMBED_LDFLAGS) $(MOD_SUBDIRS_EMBED_LIBS) menuselect.makeopts

Modified: team/file/bridging/UPGRADE.txt
URL: http://svn.digium.com/view/asterisk/team/file/bridging/UPGRADE.txt?view=diff&rev=73297&r1=73296&r2=73297
==============================================================================
--- team/file/bridging/UPGRADE.txt (original)
+++ team/file/bridging/UPGRADE.txt Wed Jul  4 18:55:04 2007
@@ -24,6 +24,12 @@
   style' layout introduced in Asterisk 1.4 (and used by the automatic
   sound file installer in the Makefile).
 
+* The ast_expr2 stuff has been modified to handle floating-point numbers.
+  Numbers of the format D.D are now acceptable input for the expr parser, 
+  Where D is a string of base-10 digits. All math is now done in "long double",
+  if it is available on your compiler/architecture. This was half-way between
+  a bug-fix (because the MATH func returns fp by default), and an enhancement.
+ 
 Voicemail:
 
 * The voicemail configuration values 'maxmessage' and 'minmessage' have

Modified: team/file/bridging/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/team/file/bridging/apps/app_dial.c?view=diff&rev=73297&r1=73296&r2=73297
==============================================================================
--- team/file/bridging/apps/app_dial.c (original)
+++ team/file/bridging/apps/app_dial.c Wed Jul  4 18:55:04 2007
@@ -1846,7 +1846,7 @@
 
 	if ((dialdata = strchr(announce, '|'))) {
 		*dialdata++ = '\0';
-		if ((sleep = atoi(dialdata))) {
+		if (sscanf(dialdata, "%d", &sleep) == 1) {
 			sleep *= 1000;
 		} else {
 			ast_log(LOG_ERROR, "%s requires the numerical argument <sleep>\n",rapp);
@@ -1854,7 +1854,7 @@
 		}
 		if ((dialdata = strchr(dialdata, '|'))) {
 			*dialdata++ = '\0';
-			if (!(loops = atoi(dialdata))) {
+			if (sscanf(dialdata, "%d", &loops) != 1) {
 				ast_log(LOG_ERROR, "%s requires the numerical argument <loops>\n",rapp);
 				goto done;
 			}

Modified: team/file/bridging/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/team/file/bridging/apps/app_meetme.c?view=diff&rev=73297&r1=73296&r2=73297
==============================================================================
--- team/file/bridging/apps/app_meetme.c (original)
+++ team/file/bridging/apps/app_meetme.c Wed Jul  4 18:55:04 2007
@@ -111,8 +111,8 @@
 	CONFFLAG_ADMIN = (1 << 0),
 	/*! If set the user can only receive audio from the conference */
 	CONFFLAG_MONITOR = (1 << 1),
-	/*! If set asterisk will exit conference when '#' is pressed */
-	CONFFLAG_POUNDEXIT = (1 << 2),
+	/*! If set asterisk will exit conference when key defined in p() option is pressed */
+	CONFFLAG_KEYEXIT = (1 << 2),
 	/*! If set asterisk will provide a menu to the user when '*' is pressed */
 	CONFFLAG_STARMENU = (1 << 3),
 	/*! If set the use can only send audio to the conference */
@@ -163,7 +163,8 @@
 
 enum {
 	OPT_ARG_WAITMARKED = 0,
-	OPT_ARG_ARRAY_SIZE = 1,
+	OPT_ARG_EXITKEYS   = 1,
+	OPT_ARG_ARRAY_SIZE = 2,
 };
 
 AST_APP_OPTIONS(meetme_opts, BEGIN_OPTIONS

[... 6845 lines stripped ...]



More information about the asterisk-commits mailing list