asterisk/asterisk.git
12 years agoMerged revisions 72806 via svnmerge from
Russell Bryant [Sun, 1 Jul 2007 23:53:13 +0000 (23:53 +0000)]
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.

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72807 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 72766 via svnmerge from
Russell Bryant [Sat, 30 Jun 2007 16:53:25 +0000 (16:53 +0000)]
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.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72767 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAdd support for regcontext and regexten to chan_skinny
Jason Parker [Fri, 29 Jun 2007 21:37:43 +0000 (21:37 +0000)]
Add support for regcontext and regexten to chan_skinny

Issue 9762, patch by mvanbaak.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72741 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoFix my recent change for sending large files via the http server. This code
Russell Bryant [Fri, 29 Jun 2007 21:24:40 +0000 (21:24 +0000)]
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!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72738 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAs the comment in the code says:
Luigi Rizzo [Fri, 29 Jun 2007 21:14:12 +0000 (21:14 +0000)]
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.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72727 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 72705 via svnmerge from
Russell Bryant [Fri, 29 Jun 2007 20:56:50 +0000 (20:56 +0000)]
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
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72706 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerge changes from team/russell/http_filetxfer
Russell Bryant [Fri, 29 Jun 2007 20:35:09 +0000 (20:35 +0000)]
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.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72701 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMake sure that we properly recurse in subdirectories to
Luigi Rizzo [Fri, 29 Jun 2007 20:33:35 +0000 (20:33 +0000)]
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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72700 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoFound a grievous logical error in get_vm_state_by_imapuser.
Mark Michelson [Fri, 29 Jun 2007 20:02:00 +0000 (20:02 +0000)]
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.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72670 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years ago72665 not applicable to trunk
Luigi Rizzo [Fri, 29 Jun 2007 19:09:36 +0000 (19:09 +0000)]
72665 not applicable to trunk

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72666 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoBlocked revisions 72599 via svnmerge
Joshua Colp [Fri, 29 Jun 2007 14:27:24 +0000 (14:27 +0000)]
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.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72600 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoBlocked revisions 72597 via svnmerge
Joshua Colp [Fri, 29 Jun 2007 14:20:15 +0000 (14:20 +0000)]
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.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72598 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 72556 via svnmerge from
Tilghman Lesher [Fri, 29 Jun 2007 04:56:08 +0000 (04:56 +0000)]
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)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72557 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoBlocked revisions 72554 via svnmerge
Tilghman Lesher [Fri, 29 Jun 2007 04:45:13 +0000 (04:45 +0000)]
Blocked revisions 72554 via svnmerge

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

Fix 1.4 breakage

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72555 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoApparently some builds of gcc don't have declaration-after-statement.
Jason Parker [Thu, 28 Jun 2007 21:31:00 +0000 (21:31 +0000)]
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.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72539 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAdded AND, OR, and XOR bitwise operations to MATH for issue 9891, thanks jcmoore
Dwayne M. Hubbard [Thu, 28 Jun 2007 20:52:22 +0000 (20:52 +0000)]
Added AND, OR, and XOR bitwise operations to MATH for issue 9891, thanks jcmoore

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72524 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoBlocked revisions 72493 via svnmerge
Russell Bryant [Thu, 28 Jun 2007 19:45:09 +0000 (19:45 +0000)]
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

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72494 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoRemove the ill-advised ast_restrdupa API call and related structures
Tilghman Lesher [Thu, 28 Jun 2007 19:41:18 +0000 (19:41 +0000)]
Remove the ill-advised ast_restrdupa API call and related structures

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72492 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoFix building with -Wdeclaration-after-statement, here too
Jason Parker [Thu, 28 Jun 2007 19:35:23 +0000 (19:35 +0000)]
Fix building with -Wdeclaration-after-statement, here too

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72491 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoFix building with -Wdeclaration-after-statement
Jason Parker [Thu, 28 Jun 2007 19:30:39 +0000 (19:30 +0000)]
Fix building with -Wdeclaration-after-statement

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72490 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years ago72462 is not applicable to trunk
Luigi Rizzo [Thu, 28 Jun 2007 19:07:38 +0000 (19:07 +0000)]
72462 is not applicable to trunk

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72466 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agomove variable declarations to the beginning of a block.
Luigi Rizzo [Thu, 28 Jun 2007 19:02:31 +0000 (19:02 +0000)]
move variable declarations to the beginning of a block.
Not applicable to previous branches.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72457 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agomove variable declarations to the beginning of the block
Luigi Rizzo [Thu, 28 Jun 2007 19:01:43 +0000 (19:01 +0000)]
move variable declarations to the beginning of the block

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72456 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agomove variable declarations to the beginning of a block.
Luigi Rizzo [Thu, 28 Jun 2007 18:59:19 +0000 (18:59 +0000)]
move variable declarations to the beginning of a block.
Not applicable to previous branches

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72455 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years ago72453 was already applied to trunk some time ago
Luigi Rizzo [Thu, 28 Jun 2007 18:42:30 +0000 (18:42 +0000)]
72453 was already applied to trunk some time ago

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72454 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAdd -Wdeclaration-after-statement to AST_DEVMODE
Luigi Rizzo [Thu, 28 Jun 2007 18:34:07 +0000 (18:34 +0000)]
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).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72452 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoFix bug where point code gets corrupted on CPG
Matthew Fredrickson [Thu, 28 Jun 2007 16:35:38 +0000 (16:35 +0000)]
Fix bug where point code gets corrupted on CPG

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72437 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 72383 via svnmerge from
Brett Bryant [Wed, 27 Jun 2007 23:30:31 +0000 (23:30 +0000)]
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.

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72384 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 72381 via svnmerge from
Joshua Colp [Wed, 27 Jun 2007 23:26:46 +0000 (23:26 +0000)]
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)

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72382 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoSilly jingle...
Joshua Colp [Wed, 27 Jun 2007 23:14:39 +0000 (23:14 +0000)]
Silly jingle...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72358 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAdd SIPREFERRINGCONTEXT and SIPREFERREDBYHDR variables when a transfer takes place...
Joshua Colp [Wed, 27 Jun 2007 23:13:09 +0000 (23:13 +0000)]
Add SIPREFERRINGCONTEXT and SIPREFERREDBYHDR variables when a transfer takes place. (issue #8378 reported by jcovert)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72354 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 72335 via svnmerge from
Brett Bryant [Wed, 27 Jun 2007 23:04:06 +0000 (23:04 +0000)]
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

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72337 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 72331 via svnmerge from
Joshua Colp [Wed, 27 Jun 2007 22:58:53 +0000 (22:58 +0000)]
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)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72332 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 72328 via svnmerge from
Joshua Colp [Wed, 27 Jun 2007 22:48:15 +0000 (22:48 +0000)]
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)

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72330 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAdded ability to customize which buttons control forward, reverse, pause, and stop...
Mark Michelson [Wed, 27 Jun 2007 22:47:08 +0000 (22:47 +0000)]
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)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72329 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoFix a segfault when trying to tab complete the "core show uptime" command.
Jason Parker [Wed, 27 Jun 2007 22:27:09 +0000 (22:27 +0000)]
Fix a segfault when trying to tab complete the "core show uptime" command.

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72326 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAdd support for Thai language in say.c
Jason Parker [Wed, 27 Jun 2007 22:17:59 +0000 (22:17 +0000)]
Add support for Thai language in say.c

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72325 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoLet's NOT create a deadlock scenario here
Matthew Fredrickson [Wed, 27 Jun 2007 21:44:13 +0000 (21:44 +0000)]
Let's NOT create a deadlock scenario here

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72304 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 72272 via svnmerge from
Russell Bryant [Wed, 27 Jun 2007 21:09:24 +0000 (21:09 +0000)]
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)

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72274 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 72260 via svnmerge from
Brett Bryant [Wed, 27 Jun 2007 20:47:45 +0000 (20:47 +0000)]
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

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72261 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 72257 via svnmerge from
Joshua Colp [Wed, 27 Jun 2007 20:26:53 +0000 (20:26 +0000)]
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.

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72258 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoFix up properties.
Joshua Colp [Wed, 27 Jun 2007 20:07:46 +0000 (20:07 +0000)]
Fix up properties.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72241 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoFix -T option. (issue #10073 reported by xylome)
Joshua Colp [Wed, 27 Jun 2007 19:57:36 +0000 (19:57 +0000)]
Fix -T option. (issue #10073 reported by xylome)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72233 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAdding feature to support the storage and retrieval of voicemail greetings using...
Mark Michelson [Wed, 27 Jun 2007 19:50:21 +0000 (19:50 +0000)]
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.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72232 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 72205 via svnmerge from
Kevin P. Fleming [Wed, 27 Jun 2007 19:13:54 +0000 (19:13 +0000)]
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

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72207 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 72182 via svnmerge from
Jason Parker [Wed, 27 Jun 2007 18:37:44 +0000 (18:37 +0000)]
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)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72183 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 72148 via svnmerge from
Joshua Colp [Wed, 27 Jun 2007 17:34:26 +0000 (17:34 +0000)]
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)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72149 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 72125 via svnmerge from
Jason Parker [Wed, 27 Jun 2007 17:14:31 +0000 (17:14 +0000)]
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.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72134 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 72112 via svnmerge from
Russell Bryant [Wed, 27 Jun 2007 16:38:12 +0000 (16:38 +0000)]
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)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72113 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 72042 via svnmerge from
Christian Richter [Wed, 27 Jun 2007 08:08:58 +0000 (08:08 +0000)]
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
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72052 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 72006 via svnmerge from
Joshua Colp [Wed, 27 Jun 2007 01:00:47 +0000 (01:00 +0000)]
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.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72007 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAdd rtpdest option to SIP CHANNEL() dialplan function to return the IP address and...
Joshua Colp [Tue, 26 Jun 2007 23:31:23 +0000 (23:31 +0000)]
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.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71988 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71953 via svnmerge from
Mark Michelson [Tue, 26 Jun 2007 23:03:09 +0000 (23:03 +0000)]
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.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71954 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoThe variable msgnum was being overwritten if IMAP storage was enabled.
Mark Michelson [Tue, 26 Jun 2007 22:45:16 +0000 (22:45 +0000)]
The variable msgnum was being overwritten if IMAP storage was enabled.
Put necessary #ifndef's around the line which would overwrite.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71952 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71915 via svnmerge from
Jason Parker [Tue, 26 Jun 2007 20:36:50 +0000 (20:36 +0000)]
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.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71916 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoCreate directory if it does not exist.
Mark Michelson [Tue, 26 Jun 2007 20:34:46 +0000 (20:34 +0000)]
Create directory if it does not exist.
(Closes issue 10061, Reported and patched by eliel)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71914 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71877 via svnmerge from
Mark Michelson [Tue, 26 Jun 2007 19:06:47 +0000 (19:06 +0000)]
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

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71883 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoSimplify some code in res_jabber relating to SASL support.
Jason Parker [Tue, 26 Jun 2007 16:39:22 +0000 (16:39 +0000)]
Simplify some code in res_jabber relating to SASL support.

Issue 9988, patch by phsultan.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71830 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71796 via svnmerge from
Mark Michelson [Tue, 26 Jun 2007 15:50:11 +0000 (15:50 +0000)]
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)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71797 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71751 via svnmerge from
Tilghman Lesher [Tue, 26 Jun 2007 12:30:59 +0000 (12:30 +0000)]
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

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71752 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoFixes a problem where Asterisk would not compile if IMAP_STORAGE was enabled.
Mark Michelson [Tue, 26 Jun 2007 00:10:09 +0000 (00:10 +0000)]
Fixes a problem where Asterisk would not compile if IMAP_STORAGE was enabled.
Needed to add a space between file name and options.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71732 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoIn my commit earlier today, I accidentally left a prototype that isn't defined.
Mark Michelson [Mon, 25 Jun 2007 23:18:19 +0000 (23:18 +0000)]
In my commit earlier today, I accidentally left a prototype that isn't defined.
This gets rid of that prototype.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71721 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAllow compilation off app_voicemail with IMAP_STORAE against a system installed
Russell Bryant [Mon, 25 Jun 2007 19:20:07 +0000 (19:20 +0000)]
Allow compilation off app_voicemail with IMAP_STORAE against a system installed
version of the c-client library.  (issue #10047, jcollie)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71688 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71657 via svnmerge from
Tilghman Lesher [Mon, 25 Jun 2007 18:20:18 +0000 (18:20 +0000)]
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

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71658 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoLuigi's suggestion to move the llfrom decl was a good one. Done.
Steve Murphy [Mon, 25 Jun 2007 16:43:33 +0000 (16:43 +0000)]
Luigi's suggestion to move the llfrom decl was a good one. Done.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71637 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoUsing inboxcount instead of countmessages.
Mark Michelson [Mon, 25 Jun 2007 16:13:26 +0000 (16:13 +0000)]
Using inboxcount instead of countmessages.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71630 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoTweak CLI command completion and some help text. (issue #10049 reported by IgorG)
Joshua Colp [Mon, 25 Jun 2007 15:35:10 +0000 (15:35 +0000)]
Tweak CLI command completion and some help text. (issue #10049 reported by IgorG)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71613 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71576 via svnmerge from
Joshua Colp [Mon, 25 Jun 2007 14:15:05 +0000 (14:15 +0000)]
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)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71577 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoConvert so more logging to ast_debug (issue #10045, dimas)
Russell Bryant [Mon, 25 Jun 2007 13:42:51 +0000 (13:42 +0000)]
Convert so more logging to ast_debug (issue #10045, dimas)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71557 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71522 via svnmerge from
Joshua Colp [Mon, 25 Jun 2007 13:04:36 +0000 (13:04 +0000)]
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)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71525 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMinor header inclusion tweak for new usage of stat()
Joshua Colp [Mon, 25 Jun 2007 13:00:49 +0000 (13:00 +0000)]
Minor header inclusion tweak for new usage of stat()

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71521 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71519 via svnmerge from
Russell Bryant [Mon, 25 Jun 2007 12:40:41 +0000 (12:40 +0000)]
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)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71520 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71214 via svnmerge from
Christian Richter [Mon, 25 Jun 2007 09:46:18 +0000 (09:46 +0000)]
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.
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71500 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71123 via svnmerge from
Christian Richter [Mon, 25 Jun 2007 09:44:35 +0000 (09:44 +0000)]
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.
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71499 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71122 via svnmerge from
Christian Richter [Mon, 25 Jun 2007 09:42:15 +0000 (09:42 +0000)]
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 ..
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71498 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71121 via svnmerge from
Christian Richter [Mon, 25 Jun 2007 09:37:49 +0000 (09:37 +0000)]
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.
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71497 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71120 via svnmerge from
Christian Richter [Mon, 25 Jun 2007 09:34:05 +0000 (09:34 +0000)]
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.
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71496 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71118 via svnmerge from
Christian Richter [Mon, 25 Jun 2007 09:06:56 +0000 (09:06 +0000)]
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.
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71483 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71106 via svnmerge from
Christian Richter [Mon, 25 Jun 2007 08:57:06 +0000 (08:57 +0000)]
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
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71476 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71096 via svnmerge from
Christian Richter [Mon, 25 Jun 2007 08:53:47 +0000 (08:53 +0000)]
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.
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71475 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71430 via svnmerge from
Joshua Colp [Mon, 25 Jun 2007 01:11:47 +0000 (01:11 +0000)]
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)

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71434 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71422 via svnmerge from
Joshua Colp [Mon, 25 Jun 2007 01:08:22 +0000 (01:08 +0000)]
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.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71425 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71412 via svnmerge from
Joshua Colp [Mon, 25 Jun 2007 00:52:03 +0000 (00:52 +0000)]
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)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71413 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71371 via svnmerge from
Russell Bryant [Sun, 24 Jun 2007 20:17:43 +0000 (20:17 +0000)]
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

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71372 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71362 via svnmerge from
Russell Bryant [Sun, 24 Jun 2007 20:07:15 +0000 (20:07 +0000)]
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

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71365 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoConversions to ast_debug()
Russell Bryant [Sun, 24 Jun 2007 18:51:41 +0000 (18:51 +0000)]
Conversions to ast_debug()
(issue #9984, patches from eliel and dimas)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71338 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71291 via svnmerge from
Tilghman Lesher [Sun, 24 Jun 2007 17:51:55 +0000 (17:51 +0000)]
Merged revisions 71291 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r71291 | tilghman | 2007-06-24 12:50:24 -0500 (Sun, 24 Jun 2007) | 2 lines

Issue 10044 - chan->cdr is NULL here, so peer->cdr is what we really wanted to use

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71292 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71289 via svnmerge from
Tilghman Lesher [Sun, 24 Jun 2007 17:42:39 +0000 (17:42 +0000)]
Merged revisions 71289 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r71289 | tilghman | 2007-06-24 12:39:34 -0500 (Sun, 24 Jun 2007) | 10 lines

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

........
r71288 | tilghman | 2007-06-24 12:32:21 -0500 (Sun, 24 Jun 2007) | 2 lines

Issue 10043 - There is a legitimate need to be able to set variables to the empty string.

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71290 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoIssue 9970 - Ensure directory exists before trying to write an output file
Tilghman Lesher [Sun, 24 Jun 2007 16:20:18 +0000 (16:20 +0000)]
Issue 9970 - Ensure directory exists before trying to write an output file

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71268 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71230 via svnmerge from
Steve Murphy [Sat, 23 Jun 2007 03:32:59 +0000 (03:32 +0000)]
Merged revisions 71230 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r71230 | murf | 2007-06-22 21:29:48 -0600 (Fri, 22 Jun 2007) | 1 line

This patch is meant to fix 8433; where clid and src are lost via bridging.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71231 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoCode cleanups
Tilghman Lesher [Fri, 22 Jun 2007 19:53:57 +0000 (19:53 +0000)]
Code cleanups

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71190 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoUse stat to determine whether the file exists or not. (issue #10038 reported by Mike...
Joshua Colp [Fri, 22 Jun 2007 16:19:53 +0000 (16:19 +0000)]
Use stat to determine whether the file exists or not. (issue #10038 reported by Mike Anikienko)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71158 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoBehold the magic of casting!
Joshua Colp [Fri, 22 Jun 2007 16:14:00 +0000 (16:14 +0000)]
Behold the magic of casting!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71146 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71063 via svnmerge from
Steve Murphy [Fri, 22 Jun 2007 15:15:35 +0000 (15:15 +0000)]
Merged revisions 71063 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r71063 | murf | 2007-06-22 08:10:24 -0600 (Fri, 22 Jun 2007) | 1 line

My conditions for merging amaflags info was naive; DOCUMENTATION is the default, although null is possible; theft of user-settable fields is not good. Just copy them, leave them alone.
This is for bug 10016. (plus a small fix to rtp, to elim a compiler warning (dev mode))
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71093 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71068 via svnmerge from
Jason Parker [Fri, 22 Jun 2007 15:03:32 +0000 (15:03 +0000)]
Merged revisions 71068 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r71068 | qwell | 2007-06-22 10:00:30 -0500 (Fri, 22 Jun 2007) | 12 lines

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

........
r71065 | qwell | 2007-06-22 09:52:18 -0500 (Fri, 22 Jun 2007) | 4 lines

Fix a few silly usages of ast_playstream() - it only ever returns 0...

Issue 10035

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71069 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71066 via svnmerge from
Brett Bryant [Fri, 22 Jun 2007 14:56:36 +0000 (14:56 +0000)]
Merged revisions 71066 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r71066 | bbryant | 2007-06-22 09:53:08 -0500 (Fri, 22 Jun 2007) | 18 lines

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

........
r71064 | bbryant | 2007-06-22 09:39:34 -0500 (Fri, 22 Jun 2007) | 10 lines

Fixed infinite loop when controlling terminal was lost
and return value of input function wasn't checked for
errors. This would cause 100% cpu to be taken up.

(closes issue #9654, issue #10010)
Reported by: mnicholson, and eserra

Idea for the patch from mnicholson, patched by me

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71067 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoIssue 9990 - New API ast_mkdir, which creates parent directories as necessary (and...
Tilghman Lesher [Fri, 22 Jun 2007 04:35:12 +0000 (04:35 +0000)]
Issue 9990 - New API ast_mkdir, which creates parent directories as necessary (and is faster than an outcall to mkdir -p)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71040 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoNothing to see here.
Jason Parker [Fri, 22 Jun 2007 04:13:08 +0000 (04:13 +0000)]
Nothing to see here.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71024 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 71003 via svnmerge from
Russell Bryant [Fri, 22 Jun 2007 03:15:34 +0000 (03:15 +0000)]
Merged revisions 71003 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r71003 | russell | 2007-06-21 22:14:41 -0500 (Thu, 21 Jun 2007) | 3 lines

Fix a small typo which ... well ... completely broke chan_iax2.  oops!
(issue #9937, patch by me)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71004 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAdd manager events for RTCP statistics.
Jason Parker [Thu, 21 Jun 2007 23:07:20 +0000 (23:07 +0000)]
Add manager events for RTCP statistics.

Also adds a new "reporting" permission for manager, since it can be incredibly spammy.
  This permission was discussed on the -dev mailing list some months back.

Issue 8613, patch by johann8384, with some minor changes by me.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70961 65c4cc65-6c06-0410-ace0-fbb531ad65f3