asterisk/asterisk.git
12 years agoMerged revisions 86787 via svnmerge from
Tilghman Lesher [Mon, 22 Oct 2007 17:40:29 +0000 (17:40 +0000)]
Merged revisions 86787 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86787 | tilghman | 2007-10-22 12:38:13 -0500 (Mon, 22 Oct 2007) | 2 lines

Minor FreeBSD build fix

........

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

12 years agoMerged revisions 86756 via svnmerge from
Joshua Colp [Mon, 22 Oct 2007 16:36:56 +0000 (16:36 +0000)]
Merged revisions 86756 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86756 | file | 2007-10-22 13:35:22 -0300 (Mon, 22 Oct 2007) | 4 lines

After reading online I have confirmed that Record-Route headers should be copied to 1xx responses as well.
(closes issue #10113)
Reported by: makoto

........

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

12 years agoMerged revisions 86754 via svnmerge from
Joshua Colp [Mon, 22 Oct 2007 16:19:01 +0000 (16:19 +0000)]
Merged revisions 86754 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86754 | file | 2007-10-22 13:15:18 -0300 (Mon, 22 Oct 2007) | 4 lines

Make sure res is a positive value before performing the check to determine whether the user stopped it or not.
(closes issue #11023)
Reported by: cfc

........

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

12 years agoMerged revisions 86750 via svnmerge from
Russell Bryant [Mon, 22 Oct 2007 15:57:02 +0000 (15:57 +0000)]
Merged revisions 86750 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86750 | russell | 2007-10-22 10:52:48 -0500 (Mon, 22 Oct 2007) | 8 lines

Don't leak a frame in the case that an END frame is received and the time since
the BEGIN is less than that of the defined minimum DTMF duration.

(closes issue #11051)
Reported by: casper
Patches:
      channel.c.86664.diff uploaded by casper (license 55)

........

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

12 years agoThere is a really fun game that you can play before committing code,
Russell Bryant [Mon, 22 Oct 2007 15:49:17 +0000 (15:49 +0000)]
There is a really fun game that you can play before committing code,
and it's called "make".  :)

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

12 years agoMerged revisions 86726 via svnmerge from
Russell Bryant [Mon, 22 Oct 2007 15:45:04 +0000 (15:45 +0000)]
Merged revisions 86726 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86726 | russell | 2007-10-22 10:43:30 -0500 (Mon, 22 Oct 2007) | 4 lines

Update the static mutex initializer to include the initialization of
the internal mutex used to protect the lock debugging data.
(closes issue #11044, patch suggested by Ivan)

........

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

12 years agoresetinterval defaulting to something other than 'never' doesn't seem to accomplish...
Kevin P. Fleming [Mon, 22 Oct 2007 14:59:27 +0000 (14:59 +0000)]
resetinterval defaulting to something other than 'never' doesn't seem to accomplish any good and causes problems for plenty of people...

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

12 years agoMerged revisions 86694 via svnmerge from
Mark Michelson [Mon, 22 Oct 2007 14:58:57 +0000 (14:58 +0000)]
Merged revisions 86694 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86694 | mmichelson | 2007-10-22 09:48:46 -0500 (Mon, 22 Oct 2007) | 5 lines

Account for the fact that sometimes headers may be terminated with \r\n instead of just \n

(closes issue #11043, reported by yehavi)

........

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

12 years agomerging patches that don't compile is bad... mmkay?
Kevin P. Fleming [Mon, 22 Oct 2007 14:56:05 +0000 (14:56 +0000)]
merging patches that don't compile is bad... mmkay?

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

12 years agoMerged revisions 86663 via svnmerge from
Joshua Colp [Mon, 22 Oct 2007 14:28:07 +0000 (14:28 +0000)]
Merged revisions 86663 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86663 | file | 2007-10-22 11:27:03 -0300 (Mon, 22 Oct 2007) | 6 lines

Move log message to before the frame it references is freed.
(closes issue #11050)
Reported by: slavon
Patches:
      channel.c.86662.diff uploaded by casper (license 55)

........

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

12 years agoMerged revisions 86661 via svnmerge from
Joshua Colp [Mon, 22 Oct 2007 14:07:14 +0000 (14:07 +0000)]
Merged revisions 86661 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86661 | file | 2007-10-22 11:05:26 -0300 (Mon, 22 Oct 2007) | 6 lines

Fix tab completion for dundi show peer.
(closes issue #11041)
Reported by: jsmith
Patches:
      asterisk-dundicomplete.diff.txt uploaded by jamesgolovich (license 176)

........

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

12 years agoMerged revisions 86630 via svnmerge from
Joshua Colp [Mon, 22 Oct 2007 13:36:13 +0000 (13:36 +0000)]
Merged revisions 86630 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86630 | file | 2007-10-22 10:33:23 -0300 (Mon, 22 Oct 2007) | 6 lines

Fixes for building under OpenSolaris.
(closes issue #11047)
Reported by: snuffy
Patches:
      11047-fixes.diff uploaded by snuffy (license 35)

........

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

12 years agoMerged revisions 86598 via svnmerge from
Christian Richter [Mon, 22 Oct 2007 10:18:43 +0000 (10:18 +0000)]
Merged revisions 86598 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86598 | crichter | 2007-10-22 11:21:15 +0200 (Mo, 22 Okt 2007) | 1 line

we send DISCONNECT instead of RELEASE/RELEASE_COMPLETE if the dialplan does not match after an overlap call. Also added out_cause=1
........

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

12 years agostarted to add some basic support for supplementary services like CallForwarding...
Christian Richter [Mon, 22 Oct 2007 10:04:04 +0000 (10:04 +0000)]
started to add some basic support for supplementary services like CallForwarding and so forth

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

12 years agoMerged revisions 85532 via svnmerge from
Russell Bryant [Sun, 21 Oct 2007 22:52:20 +0000 (22:52 +0000)]
Merged revisions 85532 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85532 | russell | 2007-10-13 00:24:33 -0500 (Sat, 13 Oct 2007) | 8 lines

Properly handle the case where read() may return the text for more than one
CLI command at once for a remote console.

(closes issue #10888)
Reported by: jamesgolovich
Patches:
      asterisk-climultiple.diff.txt uploaded by jamesgolovich (license 176)

........

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

12 years agoImproved comments and organization for zapata.conf (#10904)
Matthew Fredrickson [Sat, 20 Oct 2007 19:56:26 +0000 (19:56 +0000)]
Improved comments and organization for zapata.conf (#10904)

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

12 years agoAdd better support for blocking and unblocking of CICs (#10965)
Matthew Fredrickson [Fri, 19 Oct 2007 18:46:28 +0000 (18:46 +0000)]
Add better support for blocking and unblocking of CICs (#10965)

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

12 years agoConvert NEW_CLI to AST_CLI.
Jason Parker [Fri, 19 Oct 2007 18:29:40 +0000 (18:29 +0000)]
Convert NEW_CLI to AST_CLI.

Closes issue #11039, as suggested by seanbright.

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

12 years agoMore changes to NEW_CLI.
Jason Parker [Fri, 19 Oct 2007 18:01:00 +0000 (18:01 +0000)]
More changes to NEW_CLI.
Also fixes a few cli messages and some minor formatting.

(closes issue #11001)
Reported by: seanbright
Patches:
      newcli.1.patch uploaded by seanbright (license 71)
      newcli.2.patch uploaded by seanbright (license 71)
      newcli.4.patch uploaded by seanbright (license 71)
      newcli.5.patch uploaded by seanbright (license 71)
      newcli.6.patch uploaded by seanbright (license 71)
      newcli.7.patch uploaded by seanbright (license 71)

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

12 years agoMerged revisions 86502 via svnmerge from
Joshua Colp [Fri, 19 Oct 2007 16:40:52 +0000 (16:40 +0000)]
Merged revisions 86502 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86502 | file | 2007-10-19 13:38:29 -0300 (Fri, 19 Oct 2007) | 4 lines

When returning a DTMF digit from ast_control_streamfile cast it as a char so that 0 does not overlap with the success return code.
(closes issue #11023)
Reported by: cfc

........

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

12 years agoMerged revisions 86471 via svnmerge from
Joshua Colp [Fri, 19 Oct 2007 15:36:27 +0000 (15:36 +0000)]
Merged revisions 86471 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86471 | file | 2007-10-19 12:33:49 -0300 (Fri, 19 Oct 2007) | 6 lines

Fix two issues with domains and transfers. If a port was given in the hostname it was treated as part of the hostname. If domains were configured but external domains were not enabled all transfers would be considered remote.
(closes issue #11027)
Reported by: ramonpeek
Patches:
      11027-1.diff uploaded by ramonpeek (license 266)

........

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

12 years agoMerged revisions 86469 via svnmerge from
Joshua Colp [Fri, 19 Oct 2007 15:10:24 +0000 (15:10 +0000)]
Merged revisions 86469 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86469 | file | 2007-10-19 12:08:12 -0300 (Fri, 19 Oct 2007) | 4 lines

Set port number in received as information for registrations as well.
(closes issue #11028)
Reported by: brad-x

........

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

12 years agoFixed a buffer size issue.
TransNexus OSP Development [Fri, 19 Oct 2007 01:56:47 +0000 (01:56 +0000)]
Fixed a buffer size issue.

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

12 years agoMerged revisions 86405 via svnmerge from
Jason Parker [Thu, 18 Oct 2007 22:03:03 +0000 (22:03 +0000)]
Merged revisions 86405 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(Closes issue #11029)
........
r86405 | qwell | 2007-10-18 16:58:44 -0500 (Thu, 18 Oct 2007) | 4 lines

Add documentation for options in asterisk.conf

Issue 11029, patch by eserra

........

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

12 years agoBlocked revisions 86406 via svnmerge
Jason Parker [Thu, 18 Oct 2007 22:01:53 +0000 (22:01 +0000)]
Blocked revisions 86406 via svnmerge

........
r86406 | qwell | 2007-10-18 17:01:02 -0500 (Thu, 18 Oct 2007) | 1 line

Correct documentation.  I removed the wrong line..
........

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

12 years agoBlocked revisions 86371-86372 via svnmerge
Russell Bryant [Thu, 18 Oct 2007 21:19:30 +0000 (21:19 +0000)]
Blocked revisions 86371-86372 via svnmerge

........
r86371 | russell | 2007-10-18 16:14:15 -0500 (Thu, 18 Oct 2007) | 2 lines

Add support for setting the maximum trunk size for IAX2 trunking

........
r86372 | russell | 2007-10-18 16:16:47 -0500 (Thu, 18 Oct 2007) | 2 lines

Revert erroneous commit.

........

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

12 years agoFixing a segfault from tab-completing a "zap restart" CLI command.
Mark Michelson [Thu, 18 Oct 2007 18:40:48 +0000 (18:40 +0000)]
Fixing a segfault from tab-completing a "zap restart" CLI command.

(patch made by seanbright, pointed out in #asterisk-dev on IRC)

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

12 years agoMerged revisions 86330 via svnmerge from
Russell Bryant [Thu, 18 Oct 2007 18:06:49 +0000 (18:06 +0000)]
Merged revisions 86330 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86330 | russell | 2007-10-18 13:03:10 -0500 (Thu, 18 Oct 2007) | 10 lines

The channel needs to stay locked while running timer callbacks, as they access
and modify channel data that may change elsewhere.  I went through every timer
callback in the source tree to make sure that none of them did any additional
locking that could introduce deadlocks, and all is well.

(closes issue #10765)
Reported by: Ivan
Patches:
      ast_1_4_11_svn_patch_channel_rc.diff uploaded by Ivan (license 229)

........

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

12 years agoMerged revisions 86328 via svnmerge from
Mark Michelson [Thu, 18 Oct 2007 17:40:45 +0000 (17:40 +0000)]
Merged revisions 86328 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86328 | mmichelson | 2007-10-18 12:38:26 -0500 (Thu, 18 Oct 2007) | 5 lines

If a non-existent file is specified to be played either as a periodic announcement
or as a hold/position announcement, the caller would be kicked out of the queue.
No longer does this happen.

........

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

12 years agoChanged some spaces to tabs
Mark Michelson [Thu, 18 Oct 2007 16:16:51 +0000 (16:16 +0000)]
Changed some spaces to tabs

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

12 years agoMerged revisions 86296 via svnmerge from
Russell Bryant [Thu, 18 Oct 2007 15:57:30 +0000 (15:57 +0000)]
Merged revisions 86296 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86296 | russell | 2007-10-18 10:45:55 -0500 (Thu, 18 Oct 2007) | 3 lines

Execute the RELEASE operation on transcoder channels in the destroy callback.
(patch from jsloan)

........

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

12 years agoCode cleanup of acl.c
Tilghman Lesher [Thu, 18 Oct 2007 07:23:41 +0000 (07:23 +0000)]
Code cleanup of acl.c
Reported by dimas
Closes issue #10784

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

12 years agoOn reload, re-read the files in the specified moh directory (closes issue #10536)
Tilghman Lesher [Thu, 18 Oct 2007 07:12:18 +0000 (07:12 +0000)]
On reload, re-read the files in the specified moh directory (closes issue #10536)

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

12 years agoMerged revisions 86237 via svnmerge from
Russell Bryant [Thu, 18 Oct 2007 04:41:33 +0000 (04:41 +0000)]
Merged revisions 86237 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86237 | russell | 2007-10-17 23:40:52 -0500 (Wed, 17 Oct 2007) | 9 lines

Revert a change that I made for issue #10979 which, as has been pointed out to
me in issue #11018, doesn't really make sense.  There is no reason to have
the base64 decode function force a '\0' terminated buffer, when the result is
almost always binary, anyway.  In fact, this caused some breakage, as some code
in res_crypto passed in a buffer exactly the right size to get its binary
result, which got stomped on by this patch.

(closes issue #11018, reported by dimas)

........

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

12 years agoMerged revisions 86202 via svnmerge from
Mark Michelson [Wed, 17 Oct 2007 21:41:06 +0000 (21:41 +0000)]
Merged revisions 86202 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86202 | mmichelson | 2007-10-17 16:39:05 -0500 (Wed, 17 Oct 2007) | 6 lines

Changing the strategy field of the call_queue struct to be signed instead of unsigned,
since the code attempts to set the strategy to -1 if you specify a bogus strategy.
While this isn't a huge issue in 1.4, it could be a problem for someone who, say, tries
to use the roundrobin strategy in trunk (despite all the deprecation warnings in 1.4).

........

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

12 years agoSimplify some preprocessor logic by using #elif
Tilghman Lesher [Wed, 17 Oct 2007 21:16:40 +0000 (21:16 +0000)]
Simplify some preprocessor logic by using #elif

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

12 years agoDocument the changes made earlier today to meetme
Tilghman Lesher [Wed, 17 Oct 2007 20:42:20 +0000 (20:42 +0000)]
Document the changes made earlier today to meetme

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

12 years agoand then, I noticed the clicompat stuff.
Steve Murphy [Wed, 17 Oct 2007 20:06:28 +0000 (20:06 +0000)]
and then, I noticed the clicompat stuff.

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

12 years agomore stub routines to allow linkage in stand-alone environment, with thread debugs...
Steve Murphy [Wed, 17 Oct 2007 19:59:49 +0000 (19:59 +0000)]
more stub routines to allow linkage in stand-alone environment, with thread debugs turned on

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

12 years agomore stub routines to allow linkage in stand-alone environment, with thread debugs...
Steve Murphy [Wed, 17 Oct 2007 19:58:20 +0000 (19:58 +0000)]
more stub routines to allow linkage in stand-alone environment, with thread debugs turned on

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

12 years agoMerged revisions 86149 via svnmerge from
Russell Bryant [Wed, 17 Oct 2007 18:01:38 +0000 (18:01 +0000)]
Merged revisions 86149 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86149 | russell | 2007-10-17 12:57:45 -0500 (Wed, 17 Oct 2007) | 8 lines

If Asterisk is in the middle of shutting down, respond to OPTIONS
with 503 Unavailable.

(closes issue #10994)
Reported by: eserra
Patches:
      sip-options-503.patch uploaded by eserra (license 45)

........

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

12 years agoSupport color on certain platforms, even when started at boot (before TERM is set)
Tilghman Lesher [Wed, 17 Oct 2007 17:06:47 +0000 (17:06 +0000)]
Support color on certain platforms, even when started at boot (before TERM is set)
Closes issue #9048

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

12 years agoMerged revisions 86117 via svnmerge from
Joshua Colp [Wed, 17 Oct 2007 17:00:13 +0000 (17:00 +0000)]
Merged revisions 86117 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86117 | file | 2007-10-17 13:58:03 -0300 (Wed, 17 Oct 2007) | 4 lines

Whoops, forgot to remove the original sip_scheddestroy.
(closes issue #11010)
Reported by: vadim

........

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

12 years agoAllow chan_usbradio to compile again.
Jason Parker [Wed, 17 Oct 2007 16:09:01 +0000 (16:09 +0000)]
Allow chan_usbradio to compile again.

Closes issue #11014, patch by seanbright.

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

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

........
r86066 | tilghman | 2007-10-17 10:23:51 -0500 (Wed, 17 Oct 2007) | 3 lines

When runuser/rungroup is specified, a remote console could only be attained by root
(Closes issue #9999)

........

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

12 years agoChange dependency for chan_usbradio to asound. Let's keep everything uniform.
Joshua Colp [Wed, 17 Oct 2007 15:30:55 +0000 (15:30 +0000)]
Change dependency for chan_usbradio to asound. Let's keep everything uniform.
(closes issue #11013)
Reported by: seanbright

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

12 years agoEnhancements to realtime (closes issue #9609)
Tilghman Lesher [Wed, 17 Oct 2007 15:13:51 +0000 (15:13 +0000)]
Enhancements to realtime (closes issue #9609)

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

12 years agoMerged revisions 86063 via svnmerge from
Joshua Colp [Wed, 17 Oct 2007 15:09:36 +0000 (15:09 +0000)]
Merged revisions 86063 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86063 | file | 2007-10-17 12:06:36 -0300 (Wed, 17 Oct 2007) | 4 lines

Don't schedule dialog destruction if a MESSAGE is received using an existing dialog.
(closes issue #11010)
Reported by: vadim

........

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

12 years agoMerged revisions 86032 via svnmerge from
Mark Michelson [Tue, 16 Oct 2007 23:36:35 +0000 (23:36 +0000)]
Merged revisions 86032 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86032 | mmichelson | 2007-10-16 18:35:31 -0500 (Tue, 16 Oct 2007) | 3 lines

Since monitor-join is deprecated now, remove the example from the sample queues.conf file

........

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

12 years agoRemoved the monitor-join option. If one wishes to mix audio, they should instead use
Mark Michelson [Tue, 16 Oct 2007 22:54:37 +0000 (22:54 +0000)]
Removed the monitor-join option. If one wishes to mix audio, they should instead use
monitor-type=mixmonitor.

(related to issue #10885)

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

12 years agoBlocked revisions 86028 via svnmerge
Mark Michelson [Tue, 16 Oct 2007 22:51:20 +0000 (22:51 +0000)]
Blocked revisions 86028 via svnmerge

........
r86028 | mmichelson | 2007-10-16 17:49:10 -0500 (Tue, 16 Oct 2007) | 6 lines

Adding deprecated warning to monitor-join option, since the plan is to
no longer support this in favor of monitor-type = mixmonitor

(related to issue #10885)

........

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

12 years agoMerged revisions 85997 via svnmerge from
Russell Bryant [Tue, 16 Oct 2007 22:36:58 +0000 (22:36 +0000)]
Merged revisions 85997 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85997 | russell | 2007-10-16 17:36:16 -0500 (Tue, 16 Oct 2007) | 1 line

really picky formatting tweak ...
........

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

12 years agoMerged revisions 85994 via svnmerge from
Russell Bryant [Tue, 16 Oct 2007 22:21:45 +0000 (22:21 +0000)]
Merged revisions 85994 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85994 | russell | 2007-10-16 17:14:36 -0500 (Tue, 16 Oct 2007) | 16 lines

Some locking errors exposed the fact that the lock debugging code itself was
not thread safe.  How ironic!  Anyway, these changes ensure that the code that
is accessing the lock debugging data is thread-safe.

Many thanks to Ivan for finding and fixing the core issue here, and also
thanks to those that tested the patch and provided test results.

(closes issue #10571)
(closes issue #10886)
(closes issue #10875)
(might close some others, as well ...)

Patches: (from issue #10571)
      ivan_ast_1_4_12_rel_patch_lock.h.diff uploaded by Ivan (license 229)
       - a few small changes by me

........

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

12 years agoFixing the build.
Mark Michelson [Tue, 16 Oct 2007 21:51:26 +0000 (21:51 +0000)]
Fixing the build.

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

12 years agoFixing app_read so that if a timeout of less than 1 ms is specified,
Mark Michelson [Tue, 16 Oct 2007 21:38:05 +0000 (21:38 +0000)]
Fixing app_read so that if a timeout of less than 1 ms is specified,
assume that 1 ms is desired.

(closes issue #11000, reported and patched by michael-fig, with a warning line added by me)

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

12 years agoMerged revisions 85958 via svnmerge from
Mark Michelson [Tue, 16 Oct 2007 21:16:00 +0000 (21:16 +0000)]
Merged revisions 85958 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85958 | mmichelson | 2007-10-16 16:14:34 -0500 (Tue, 16 Oct 2007) | 5 lines

Trying to remove a non-dynamic queue member via dynamic means can lead to some
interesting (read nasty) situations. This patch clears up the issue by making
only dynamic queue members removable via dynamic methods.

........

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

12 years agoDon't hangup the call for SS7 if we get an alarm
Matthew Fredrickson [Tue, 16 Oct 2007 20:55:57 +0000 (20:55 +0000)]
Don't hangup the call for SS7 if we get an alarm

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

12 years agoThis fixes SIP subscriptions in trunk.
Russell Bryant [Tue, 16 Oct 2007 20:32:16 +0000 (20:32 +0000)]
This fixes SIP subscriptions in trunk.

Don't improperly memset() over an ast_str.  This was leftover from before it
got changed to use ast_str.

(closes issue #11003, reported by pj)
(closes issue #10770, reported by yehavi)
(patched by me)

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

12 years agoMerged revisions 85921 via svnmerge from
Tilghman Lesher [Tue, 16 Oct 2007 19:47:16 +0000 (19:47 +0000)]
Merged revisions 85921 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85921 | tilghman | 2007-10-16 14:41:40 -0500 (Tue, 16 Oct 2007) | 4 lines

Also set up gmtoff (this is used in the %z gnu extension to strftime)
Reported and fixed by jcmoore
Closes issue #11002

........

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

12 years agoMerged revisions 85896 via svnmerge from
Russell Bryant [Tue, 16 Oct 2007 19:12:24 +0000 (19:12 +0000)]
Merged revisions 85896 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85896 | russell | 2007-10-16 14:10:01 -0500 (Tue, 16 Oct 2007) | 2 lines

Remove a pointless lock.

........

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

12 years agoFix IMAP compilation error.
Mark Michelson [Tue, 16 Oct 2007 16:40:24 +0000 (16:40 +0000)]
Fix IMAP compilation error.

(closes issue #10986, reported and patched by snuffy)

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

12 years agoBlocking changes from previous commit
Mark Michelson [Tue, 16 Oct 2007 15:24:50 +0000 (15:24 +0000)]
Blocking changes from previous commit

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

12 years agoMerged revisions 85850 via svnmerge from
Joshua Colp [Tue, 16 Oct 2007 15:15:53 +0000 (15:15 +0000)]
Merged revisions 85850 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85850 | file | 2007-10-16 11:52:22 -0300 (Tue, 16 Oct 2007) | 4 lines

Check to make sure a value has been given to the VMCOUNT dialplan function.
(closes issue #10996)
Reported by: marsosa

........

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

12 years agoPermit building under DEBUG_THREADLOCALS. Thanks snuff.
Joshua Colp [Tue, 16 Oct 2007 14:27:27 +0000 (14:27 +0000)]
Permit building under DEBUG_THREADLOCALS. Thanks snuff.

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

12 years agoMerged revisions 85818 via svnmerge from
Joshua Colp [Tue, 16 Oct 2007 14:21:27 +0000 (14:21 +0000)]
Merged revisions 85818 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85818 | file | 2007-10-16 11:19:39 -0300 (Tue, 16 Oct 2007) | 6 lines

Fix memory allocation issue in threadstorage.
(closes issue #10995)
Reported by: snuffy
Patches:
      new-patch.diff uploaded by snuffy (license 35)

........

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

12 years agoFix CLI help output
Philippe Sultan [Tue, 16 Oct 2007 10:38:57 +0000 (10:38 +0000)]
Fix CLI help output

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

12 years agoAdded two CLI functions, taken from chan_gtalk :
Philippe Sultan [Tue, 16 Oct 2007 10:29:33 +0000 (10:29 +0000)]
Added two CLI functions, taken from chan_gtalk :
- jingle reload ;
- jingle show channels.

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

12 years agoMake an audio path under the following call configuration :
Philippe Sultan [Tue, 16 Oct 2007 09:47:22 +0000 (09:47 +0000)]
Make an audio path under the following call configuration :
SIP Phone 1 --- [chan_sip]Asterisk 1[chan_jingle] --- [chan_jingle]Asterisk 2[chan_sip] --- SIP Phone 2

Modifications :
- set bridge type to partial ;
- process media candidates from the remote peer properly.

Now we have Jingle audio, at least between two Asterisk Jingle
clients.

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

12 years agoSwitch dundi to new tos config format.
Jason Parker [Mon, 15 Oct 2007 23:20:40 +0000 (23:20 +0000)]
Switch dundi to new tos config format.
Remove old unused defines for old style.

Closes issue 10860, patch by IgorG.

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

12 years agoBlocked revisions 85687 via svnmerge
Tilghman Lesher [Mon, 15 Oct 2007 22:03:01 +0000 (22:03 +0000)]
Blocked revisions 85687 via svnmerge

........
r85687 | tilghman | 2007-10-15 15:29:35 -0500 (Mon, 15 Oct 2007) | 5 lines

Don't execute a gosub if the arguments is zero-len (not just NULL)
Reported by davevg
Fixed by me
Closes issue #10985

........

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

12 years agoMerged revisions 85720 via svnmerge from
Russell Bryant [Mon, 15 Oct 2007 21:11:06 +0000 (21:11 +0000)]
Merged revisions 85720 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85720 | russell | 2007-10-15 16:10:02 -0500 (Mon, 15 Oct 2007) | 3 lines

Ensure that no pending state changes are leaked when the device state change
thread gets stopped on module unload.

........

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

12 years agoBlocked revisions 85717 via svnmerge
Russell Bryant [Mon, 15 Oct 2007 21:01:23 +0000 (21:01 +0000)]
Blocked revisions 85717 via svnmerge

........
r85717 | russell | 2007-10-15 15:59:27 -0500 (Mon, 15 Oct 2007) | 7 lines

Previously, app_queue created a thread to handle every single device state
change.  I changed this a while ago in trunk for performance reasons.  However,
bug 8407 points out that it is actually a race condition, causing device state
changes to get processed in random order.  So, I backported my changes from
trunk to 1.4.
(closes issue #8407, patch provided by tim_ringenbach, committed patch by me)

........

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

12 years agoMerged revisions 85686 via svnmerge from
Russell Bryant [Mon, 15 Oct 2007 21:01:00 +0000 (21:01 +0000)]
Merged revisions 85686 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85686 | russell | 2007-10-15 15:21:27 -0500 (Mon, 15 Oct 2007) | 7 lines

Add a small fix for the tw version of saying dates.

(closes issue #7827)
Reported by: sharkey
Patches:
      say.nits.patch uploaded by sharkey (license 172)

........

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

12 years agoMerged revisions 85684 via svnmerge from
Jason Parker [Mon, 15 Oct 2007 20:16:48 +0000 (20:16 +0000)]
Merged revisions 85684 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #10938)
........
r85684 | qwell | 2007-10-15 15:15:51 -0500 (Mon, 15 Oct 2007) | 5 lines

Properly use DESTDIR in 'config' target.
Do not try to run chkconfig or similar if using DESTDIR.

Issue 10938, patch by cabal95.

........

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

12 years agoadd TOUCH_MONITOR_PREF to the channel var docs
Russell Bryant [Mon, 15 Oct 2007 20:09:42 +0000 (20:09 +0000)]
add TOUCH_MONITOR_PREF to the channel var docs

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

12 years agoAdded support for reading the TOUCH_MONITOR_PREFIX channel variable.
Russell Bryant [Mon, 15 Oct 2007 20:08:04 +0000 (20:08 +0000)]
Added support for reading the TOUCH_MONITOR_PREFIX channel variable.
It allows you to configure a prefix for auto-monitor recordings.

(closes issue #6353)
Reported by: ivanfm
Patches:
      asterisk_automon_v4.patch uploaded by ivanfm (original patch)
   - updated patch:
         6353-touch_monitor_prefix.diff uploaded by qwell (license 4)

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

12 years agoMerged revisions 85649 via svnmerge from
Russell Bryant [Mon, 15 Oct 2007 19:25:56 +0000 (19:25 +0000)]
Merged revisions 85649 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85649 | russell | 2007-10-15 14:22:45 -0500 (Mon, 15 Oct 2007) | 2 lines

Be pedantic about handling memory allocation failure.

........

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

12 years agoMerged revisions 85647 via svnmerge from
Russell Bryant [Mon, 15 Oct 2007 19:19:01 +0000 (19:19 +0000)]
Merged revisions 85647 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85647 | russell | 2007-10-15 14:11:38 -0500 (Mon, 15 Oct 2007) | 5 lines

The loop in the handler for the "core show locks" could potentially block for
some amount of time.  Be a little bit more careful and prepare all of the
output in an intermediary buffer while holding a global resource.  Then, after
releasing it, send the output to ast_cli().

........

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

12 years agoDocument my changes from Friday
Tilghman Lesher [Mon, 15 Oct 2007 17:51:05 +0000 (17:51 +0000)]
Document my changes from Friday

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

12 years agoMerged revisions 85604 via svnmerge from
Russell Bryant [Mon, 15 Oct 2007 16:59:53 +0000 (16:59 +0000)]
Merged revisions 85604 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85604 | russell | 2007-10-15 11:54:57 -0500 (Mon, 15 Oct 2007) | 6 lines

Make the default for the srvlookup option to be yes.  It doesn't really make
sense for it to default to off.  The default configuration file has it on, and
proper RFC behavior, as indicated by a comment in the code, is for it to be on.
So, let's have it on by default to make lives easier.
(closes issue #10954, suggested by jtodd)

........

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

12 years agoMerged revisions 85571 via svnmerge from
Joshua Colp [Mon, 15 Oct 2007 16:41:56 +0000 (16:41 +0000)]
Merged revisions 85571 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85571 | file | 2007-10-15 13:39:59 -0300 (Mon, 15 Oct 2007) | 4 lines

Document that DTMF based features only work when two channels are bridged together.
(closes issue #10773)
Reported by: pbayley

........

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

12 years agoMerged revisions 85561 via svnmerge from
Russell Bryant [Mon, 15 Oct 2007 16:36:48 +0000 (16:36 +0000)]
Merged revisions 85561 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85561 | russell | 2007-10-15 11:34:13 -0500 (Mon, 15 Oct 2007) | 4 lines

Make a few changes so that characters in the upper half of the ISO-8859-1
character set don't get stripped when reading configuration.
(closes issue #10982, dandre)

........

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

12 years agoMerged revisions 85559 via svnmerge from
Joshua Colp [Mon, 15 Oct 2007 16:23:41 +0000 (16:23 +0000)]
Merged revisions 85559 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85559 | file | 2007-10-15 13:22:02 -0300 (Mon, 15 Oct 2007) | 4 lines

Bring both DTMF begin and end frames up through to the core for DTMF feature handling.
(closes issue #10826)
Reported by: dimas

........

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

12 years agoSimplify buffer handling in dundi-parser.c. This also makes the code a bit
Russell Bryant [Mon, 15 Oct 2007 15:55:23 +0000 (15:55 +0000)]
Simplify buffer handling in dundi-parser.c.  This also makes the code a bit
safer by removing various assumptions about sizes. (No vulnerabilities, though)

(closes issue #10977)
Reported by: dimas
Patches:
      dundiparser.patch uploaded by dimas (license 88)

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

12 years agoMerged revisions 85556 via svnmerge from
Russell Bryant [Mon, 15 Oct 2007 15:47:46 +0000 (15:47 +0000)]
Merged revisions 85556 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85556 | russell | 2007-10-15 10:40:45 -0500 (Mon, 15 Oct 2007) | 9 lines

Ensure the buffer passed to ast_canmatch_extension() is properly initialized so
that it is null terminated.

(issue #10977)
Reported by: dimas
Patches:
      pbxdundi.patch uploaded by dimas (license 88)
    - small mods by me

........

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

12 years agoAllow RTP structure registration
Philippe Sultan [Mon, 15 Oct 2007 15:26:58 +0000 (15:26 +0000)]
Allow RTP structure registration

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

12 years agoAdd packetization data for G.722.
Joshua Colp [Mon, 15 Oct 2007 15:07:37 +0000 (15:07 +0000)]
Add packetization data for G.722.
(closes issue #10900)
Reported by: andrew
Patches:
      frame.diff uploaded by andrew (license 240)

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

12 years agoMerged revisions 85552 via svnmerge from
Joshua Colp [Mon, 15 Oct 2007 14:57:44 +0000 (14:57 +0000)]
Merged revisions 85552 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85552 | file | 2007-10-15 11:55:04 -0300 (Mon, 15 Oct 2007) | 4 lines

If Monitor or a spy was added to a P2P or native bridged channel bring the channel back to the generic bridging core so the monitor or spy operations work.
(closes issue #10943)
Reported by: julianjm

........

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

12 years agoAllocate more space for the base64 output we need to generate.
Philippe Sultan [Mon, 15 Oct 2007 13:51:21 +0000 (13:51 +0000)]
Allocate more space for the base64 output we need to generate.

Closes issue #10913, reported by tootai, who graciously granted us access
to his Asterisk server, thanks! Daniel, feel free to reopen the bug in
case you can reproduce this on 1.4.

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

12 years agoMove the CLI commands that were in builtins[] into the cli_cli[] array of CLI
Russell Bryant [Mon, 15 Oct 2007 13:44:53 +0000 (13:44 +0000)]
Move the CLI commands that were in builtins[] into the cli_cli[] array of CLI
commands and remove the cli_iterator struct.  This gets tab completion working
again.

(closes issue #10970)
Reported by: jamesgolovich
Patches:
      asterisk-clicomplete.diff.txt uploaded by jamesgolovich (license 176)

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

12 years agoBlocked revisions 85548 via svnmerge
Russell Bryant [Mon, 15 Oct 2007 13:17:02 +0000 (13:17 +0000)]
Blocked revisions 85548 via svnmerge

........
r85548 | russell | 2007-10-15 08:16:23 -0500 (Mon, 15 Oct 2007) | 7 lines

Suppress a LOG_DEBUG message if debug is not enabled.

(closes issue #10980)
Reported by: casper
Patches:
      db.c.84633.diff uploaded by casper (license 55)

........

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

12 years agoAnother major doc directory update from IgorG. This patch includes
Russell Bryant [Mon, 15 Oct 2007 13:12:51 +0000 (13:12 +0000)]
Another major doc directory update from IgorG.  This patch includes
 - Many uses of the astlisting environment around verbatim text to ensure that
   it gets properly formatted and doesn't run off the page.
 - Update some things that have been deprecated.
 - Add escaping as needed
 - and more ...

(closes issue #10978)
Reported by: IgorG
Patches:
      texdoc-85542-1.patch uploaded by IgorG (license 20)

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

12 years agoMerged revisions 85545 via svnmerge from
Russell Bryant [Mon, 15 Oct 2007 13:07:48 +0000 (13:07 +0000)]
Merged revisions 85545 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85545 | russell | 2007-10-15 08:05:45 -0500 (Mon, 15 Oct 2007) | 7 lines

Make sure remote consoles unmute themselves again after reconnecting.

(closes issue #10847)
Reported by: atis
Patches:
      console_unmute_on_reconnect.patch uploaded by atis (license 242)

........

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

12 years agoMerged revisions 85543 via svnmerge from
Russell Bryant [Mon, 15 Oct 2007 12:49:31 +0000 (12:49 +0000)]
Merged revisions 85543 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85543 | russell | 2007-10-15 07:48:10 -0500 (Mon, 15 Oct 2007) | 8 lines

Make sure that the base64 decoder returns a terminated string.

(closes issue #10979)
Reported by: ys
Patches:
      util.c.diff uploaded by ys (license 281)
    - small mods by me

........

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

12 years agoChange the configure script to check for a function that was recently added to libss7.
Russell Bryant [Sun, 14 Oct 2007 15:47:01 +0000 (15:47 +0000)]
Change the configure script to check for a function that was recently added to libss7.

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

12 years agoMerged revisions 85540 via svnmerge from
Russell Bryant [Sun, 14 Oct 2007 15:34:54 +0000 (15:34 +0000)]
Merged revisions 85540 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85540 | russell | 2007-10-14 10:24:52 -0500 (Sun, 14 Oct 2007) | 7 lines

Don't create the context for users in users.conf until we know at least one user exists.

(closes issue #10971)
Reported by: dimas
Patches:
      pbxconfig.patch uploaded by dimas (license 88)

........

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

12 years agoWhen merging the last documentation update, I forgot to "svn add" a file.
Russell Bryant [Sun, 14 Oct 2007 15:15:40 +0000 (15:15 +0000)]
When merging the last documentation update, I forgot to "svn add" a file.
Here it is.
(closes issue #10962)

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

12 years agoBlocked revisions 85536 via svnmerge
Tilghman Lesher [Sat, 13 Oct 2007 15:34:39 +0000 (15:34 +0000)]
Blocked revisions 85536 via svnmerge

........
r85536 | tilghman | 2007-10-13 10:26:01 -0500 (Sat, 13 Oct 2007) | 4 lines

Remove deprecated syntax from sample ael file
Reported and patched by: dimas
Closes issue #10967

........

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

12 years agoFix compiling cli.c due to differences with new cli system (closes issue
James Golovich [Sat, 13 Oct 2007 08:38:50 +0000 (08:38 +0000)]
Fix compiling cli.c due to differences with new cli system (closes issue
0010966)

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

12 years agoMerged revisions 85533 via svnmerge from
Russell Bryant [Sat, 13 Oct 2007 05:53:19 +0000 (05:53 +0000)]
Merged revisions 85533 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85533 | russell | 2007-10-13 01:48:10 -0400 (Sat, 13 Oct 2007) | 12 lines

Fix an issue with console verbosity when running asterisk -rx to execute a command
and retrieve its output.  The issue was that there was no way for the main Asterisk
process to know that the remote console was connecting in the -rx mode.  The way that
James has fixed this is to have all remote consoles muted by default.  Then, regular
remote consoles automatically execute a CLI command to unmute themselves when they
first start up.

(closes issue #10847)
Reported by: atis
Patches:
      asterisk-consolemute.diff.txt uploaded by jamesgolovich (license 176)

........

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