]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
15 years agoMerged revisions 257191 via svnmerge from
Tilghman Lesher [Tue, 13 Apr 2010 19:20:42 +0000 (19:20 +0000)] 
Merged revisions 257191 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r257191 | tilghman | 2010-04-13 14:17:48 -0500 (Tue, 13 Apr 2010) | 10 lines

  Also unref the pvt when we delete the provisional keepalive job.

  (closes issue #16774)
   Reported by: kowalma
   Patches:
         20100315__issue16774.diff.txt uploaded by tilghman (license 14)
   Tested by: falves11, jamicque

  Review: https://reviewboard.asterisk.org/r/591/
........

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

15 years agoMerged revisions 257065 via svnmerge from
Tilghman Lesher [Tue, 13 Apr 2010 16:38:24 +0000 (16:38 +0000)] 
Merged revisions 257065 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r257065 | tilghman | 2010-04-13 11:33:21 -0500 (Tue, 13 Apr 2010) | 8 lines

  Ensure that we can have commas within cdr values.

  (closes issue #17001)
   Reported by: snuffy
   Patches:
         20100412__issue17001.diff.txt uploaded by tilghman (license 14)
   Tested by: snuffy
........

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

15 years agoMerged revisions 256901 via svnmerge from
Leif Madsen [Mon, 12 Apr 2010 17:31:34 +0000 (17:31 +0000)] 
Merged revisions 256901 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r256901 | lmadsen | 2010-04-12 12:29:53 -0500 (Mon, 12 Apr 2010) | 23 lines

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

  ........
    r256900 | lmadsen | 2010-04-12 12:29:26 -0500 (Mon, 12 Apr 2010) | 15 lines

    Add How-To document on collecting debugging info for issues.asterisk.org

    Paul Belanger has been helping a lot with bug tracking recently and created
    this document that we can now point to when additional debugging information
    is required. This document will help those filing issues to know how to get
    the information required when filing their issues. This will make things
    easier on the developers.

    Initial text and changes by pabelanger. Tweaks and editing by myself.

    (closes issue #17159)
    Reported by: pabelanger
    Patches:
          HOWTO_collect_debug_information.txt.patch uploaded by lmadsen (license 10)
    Tested by: tzafrir, pabelanger, lmadsen
  ........
................

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

15 years agoMerged revisions 256370 via svnmerge from
Tilghman Lesher [Tue, 6 Apr 2010 19:40:03 +0000 (19:40 +0000)] 
Merged revisions 256370 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r256370 | tilghman | 2010-04-06 14:28:42 -0500 (Tue, 06 Apr 2010) | 2 lines

  Mac OS X does not support comparing a mutex to its initializer.  Create a test for this.
........

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

15 years agoFix malformed if test. Regression of issue 15883.
Richard Mudgett [Tue, 6 Apr 2010 18:07:50 +0000 (18:07 +0000)] 
Fix malformed if test.  Regression of issue 15883.

Converted if statement to a switch statement for clarity.

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

15 years agoMerged revisions 256265 via svnmerge from
Richard Mudgett [Tue, 6 Apr 2010 00:46:14 +0000 (00:46 +0000)] 
Merged revisions 256265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r256265 | rmudgett | 2010-04-05 19:39:44 -0500 (Mon, 05 Apr 2010) | 12 lines

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

  ........
    r256225 | rmudgett | 2010-04-05 19:10:16 -0500 (Mon, 05 Apr 2010) | 5 lines

    DAHDI/PRI call to pri_channel_bridge() not protected by PRI lock.

    SWP-1231
    ABE-2163
  ........
................

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

15 years agoMerged revisions 256161 via svnmerge from
Leif Madsen [Mon, 5 Apr 2010 15:16:11 +0000 (15:16 +0000)] 
Merged revisions 256161 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r256161 | lmadsen | 2010-04-05 10:14:53 -0500 (Mon, 05 Apr 2010) | 1 line

  Fix for localchannel.tex to allow PDFs to be generated again.
........

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

15 years agoMerged revisions 256015 via svnmerge from
Russell Bryant [Fri, 2 Apr 2010 23:47:16 +0000 (23:47 +0000)] 
Merged revisions 256015 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r256015 | russell | 2010-04-02 18:46:45 -0500 (Fri, 02 Apr 2010) | 16 lines

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

  ........
    r256014 | russell | 2010-04-02 18:45:56 -0500 (Fri, 02 Apr 2010) | 9 lines

    Resolve a deadlock that occurs due to a pointless call to ast_bridged_channel()

    (closes issue #16840)
    Reported by: bzing2
    Patches:
          patch.txt uploaded by bzing2 (license 902)
          issue_16840.rev1.diff uploaded by russell (license 2)
    Tested by: bzing2, russell
  ........
................

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

15 years agoMerged revisions 256010 via svnmerge from
Russell Bryant [Fri, 2 Apr 2010 23:32:51 +0000 (23:32 +0000)] 
Merged revisions 256010 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r256010 | russell | 2010-04-02 18:30:58 -0500 (Fri, 02 Apr 2010) | 9 lines

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

  ........
    r256009 | russell | 2010-04-02 18:30:15 -0500 (Fri, 02 Apr 2010) | 2 lines

    Remove extremely verbose debug message.
  ........
................

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

15 years agoMerged revisions 255952 via svnmerge from
Tilghman Lesher [Fri, 2 Apr 2010 20:20:28 +0000 (20:20 +0000)] 
Merged revisions 255952 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r255952 | tilghman | 2010-04-02 15:19:01 -0500 (Fri, 02 Apr 2010) | 8 lines

  Pass the PID of the Asterisk process, not the PID of the canary.

  (closes issue #17065)
   Reported by: globalnetinc
   Patches:
         astcanary.patch uploaded by makoto (license 38)
   Tested by: frawd, globalnetinc
........

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

15 years agoMerged revisions 255796 via svnmerge from
Tilghman Lesher [Thu, 1 Apr 2010 18:21:14 +0000 (18:21 +0000)] 
Merged revisions 255796 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r255796 | tilghman | 2010-04-01 13:16:37 -0500 (Thu, 01 Apr 2010) | 7 lines

  Fix DEBUG_THREADS build on Darwin.

  (closes issue #16828)
   Reported by: oej
   Patches:
         20100331__issue16828.diff.txt uploaded by tilghman (license 14)
........

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

15 years agoRecorded merge of revisions 255592 via svnmerge from
Tilghman Lesher [Wed, 31 Mar 2010 19:34:30 +0000 (19:34 +0000)] 
Recorded merge of revisions 255592 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r255592 | tilghman | 2010-03-31 14:13:02 -0500 (Wed, 31 Mar 2010) | 22 lines

  Recorded merge of revisions 255591 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r255591 | tilghman | 2010-03-31 14:09:46 -0500 (Wed, 31 Mar 2010) | 15 lines

    Ensure line terminators in email are consistent.

    Fixes an issue with certain Mail Transport Agents, where attachments are not
    interpreted correctly.

    (closes issue #16557)
     Reported by: jcovert
     Patches:
           20100308__issue16557__1.4.diff.txt uploaded by tilghman (license 14)
           20100308__issue16557__1.6.0.diff.txt uploaded by tilghman (license 14)
           20100308__issue16557__trunk.diff.txt uploaded by tilghman (license 14)
     Tested by: ebroad, zktech

    Reviewboard: https://reviewboard.asterisk.org/r/544/
  ........
................

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

15 years agoMerged revisions 255504 via svnmerge from
Leif Madsen [Wed, 31 Mar 2010 17:54:13 +0000 (17:54 +0000)] 
Merged revisions 255504 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r255504 | lmadsen | 2010-03-31 12:48:09 -0500 (Wed, 31 Mar 2010) | 5 lines

  Add documentation clarifying when 't' and 'T' can be used.

  (closes issue #17021)
  Reported by: kovzol
  Tested by: lmadsen, kovzol, davidw, ebroad
........

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

15 years agoMerged revisions 255410 via svnmerge from
Russell Bryant [Tue, 30 Mar 2010 20:57:13 +0000 (20:57 +0000)] 
Merged revisions 255410 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r255410 | russell | 2010-03-30 15:56:26 -0500 (Tue, 30 Mar 2010) | 9 lines

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

  ........
    r255409 | russell | 2010-03-30 15:56:00 -0500 (Tue, 30 Mar 2010) | 2 lines

    Don't kill Asterisk if the H323 listener does not start.
  ........
................

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

15 years agoMerged revisions 255323 via svnmerge from
Russell Bryant [Tue, 30 Mar 2010 16:09:20 +0000 (16:09 +0000)] 
Merged revisions 255323 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r255323 | russell | 2010-03-30 11:07:49 -0500 (Tue, 30 Mar 2010) | 9 lines

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

  ........
    r255322 | russell | 2010-03-30 11:06:06 -0500 (Tue, 30 Mar 2010) | 2 lines

    Don't make Asterisk not start if pbx_dundi fails to initialize.
  ........
................

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

15 years agoMerged revisions 255021 via svnmerge from
Leif Madsen [Fri, 26 Mar 2010 19:24:19 +0000 (19:24 +0000)] 
Merged revisions 255021 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r255021 | lmadsen | 2010-03-26 14:07:38 -0500 (Fri, 26 Mar 2010) | 8 lines

  Update confusing documentation for tlsbindaddr.

  Update some confusing documentation for the tlsbindaddr
  option in sip.conf.sample. Point at a link instead which
  has better documentation.

  (closes issue #17054)
  Reported by: klaus3000
........

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

15 years agoMerged revisions 254802 via svnmerge from
Jason Parker [Thu, 25 Mar 2010 20:42:42 +0000 (20:42 +0000)] 
Merged revisions 254802 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r254802 | qwell | 2010-03-25 15:41:49 -0500 (Thu, 25 Mar 2010) | 9 lines

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

  ........
    r254800 | qwell | 2010-03-25 15:41:15 -0500 (Thu, 25 Mar 2010) | 1 line

    Don't remove local copies of utils in uninstall.
  ........
................

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

15 years agoMerged revisions 254718 via svnmerge from
Russell Bryant [Thu, 25 Mar 2010 20:09:09 +0000 (20:09 +0000)] 
Merged revisions 254718 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r254718 | russell | 2010-03-25 15:08:40 -0500 (Thu, 25 Mar 2010) | 2 lines

  chan_usbradio depends on alsa.
........

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

15 years agoFix DEBUG_THREADS issue with out-of-tree modules.
Jason Parker [Thu, 25 Mar 2010 19:59:04 +0000 (19:59 +0000)] 
Fix DEBUG_THREADS issue with out-of-tree modules.

Take 2, without ABI breakage this time.

Review: https://reviewboard.asterisk.org/r/588/

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

15 years agoMerged revisions 254553 via svnmerge from
Mark Michelson [Thu, 25 Mar 2010 17:45:36 +0000 (17:45 +0000)] 
Merged revisions 254553 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r254553 | mmichelson | 2010-03-25 12:42:36 -0500 (Thu, 25 Mar 2010) | 11 lines

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

  ........
    r254552 | mmichelson | 2010-03-25 12:33:35 -0500 (Thu, 25 Mar 2010) | 5 lines

    Add doxygen for acl.h

    Review: https://reviewboard.asterisk.org/r/528
  ........
................

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

15 years agoUndo unnecessary commit. Sean Bright beat me to the punch on this one.
Mark Michelson [Thu, 25 Mar 2010 17:26:02 +0000 (17:26 +0000)] 
Undo unnecessary commit. Sean Bright beat me to the punch on this one.

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

15 years agoFix potential use of uninitialized value.
Mark Michelson [Thu, 25 Mar 2010 17:22:34 +0000 (17:22 +0000)] 
Fix potential use of uninitialized value.

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

15 years agoInitialize stream to avoid a compilation error.
Sean Bright [Thu, 25 Mar 2010 17:19:36 +0000 (17:19 +0000)] 
Initialize stream to avoid a compilation error.

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

15 years agoFix crashes resulting from reading non-existent RTP streams.
Mark Michelson [Thu, 25 Mar 2010 17:05:40 +0000 (17:05 +0000)] 
Fix crashes resulting from reading non-existent RTP streams.

Specifically, when using the CHANNEL dialplan function, it was
possible to crash Asterisk by trying to get the rtpdest of a
stream type that is not in use by the channel. This commit
fixes that issue.

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

15 years agoMake safe_asterisk work on dash/sh/bash etc.
Leif Madsen [Thu, 25 Mar 2010 17:02:17 +0000 (17:02 +0000)] 
Make safe_asterisk work on dash/sh/bash etc.

Merged from the change to trunk via issue #13111. For some reason
the changes there were only done on trunk, and thus were available
for 1.6.1 and 1.6.2 when they were branched. Because this change is
available on both 1.6.1 and 1.6.2, it makes sense to allow it on the
1.6.0 branch as well.

(closes issue #17094)
Reported by: stuarth

Much thanks to Tilghman and Sean Bright for the help on this merge.

Merged revisions 135061 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r135061 | mvanbaak | 2008-08-01 07:17:33 -0500 (Fri, 01 Aug 2008) | 8 lines

  Make safe_asterisk work on dash/sh/bash etc.

  (closes issue #13111)
  Reported by: pabelanger
  Patches:
        2008071901_issue13111_safe_asterisk.diff uploaded by mvanbaak (license 7)
  Tested by: mvanbaak, pabelanger
........

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

15 years agoUnblock r135061
Sean Bright [Thu, 25 Mar 2010 16:57:07 +0000 (16:57 +0000)] 
Unblock r135061

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

15 years agoMerged revisions 254453 via svnmerge from
Terry Wilson [Thu, 25 Mar 2010 16:19:13 +0000 (16:19 +0000)] 
Merged revisions 254453 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r254453 | twilson | 2010-03-25 11:03:51 -0500 (Thu, 25 Mar 2010) | 9 lines

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

  ........
    r254451 | twilson | 2010-03-25 10:57:29 -0500 (Thu, 25 Mar 2010) | 2 lines

    Handle new SRCCHANGE control message here too
  ........
................

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

15 years agoRecorded merge of revisions 254454 via svnmerge from
Mark Michelson [Thu, 25 Mar 2010 16:11:02 +0000 (16:11 +0000)] 
Recorded merge of revisions 254454 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r254454 | mmichelson | 2010-03-25 11:04:48 -0500 (Thu, 25 Mar 2010) | 50 lines

  Recorded merge of revisions 254452 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r254452 | mmichelson | 2010-03-25 10:59:56 -0500 (Thu, 25 Mar 2010) | 44 lines

    Several fixes regarding RFC2833 DTMF detection.

    Here is a copy and paste of the details from my request on
    reviewboard that dealt with these changes:

    Fix 1. The first change in place is to fix Mantis issue 15811, which deals with a situation where Asterisk will incorrectly interpret out of order RFC2833 frames as duplicate DTMF digits. For instance, we would receive a sequence like:

    seqno 1: DTMF 1
    seqno 2: DTMF 1
    seqno 3: DTMF 1
    seqno 4: DTMF 1
    seqno 6: DTMF 1 (end)
    seqno 5: DTMF 1
    seqno 7: DTMF 1 (end)
    seqno 8: DTMF 1 (end)

    Prior to this patch when we received the frame with seqno 5, we would interpret this as a new DTMF 1. With this patch, we will check the seqno of the incoming digit and not process the frame if the seqno is lower than the last recorded seqno. Note that we do not record the seqno of the dropped DTMF frame for future processing. While the above situation is what was designed to be fixed, the patch is written in such a way that the following would also be fixed too:

    seqno  9: DTMF 1
    seqno 10: DTMF 1 (end)
    seqno 11: DTMF 1 (end)
    seqno 13: DTMF 2
    seqno 12: DTMF 1 (end)
    seqno 14: DTMF 2
    seqno 15: DTMF 2 (end)
    seqno 16: DTMF 2 (end)
    seqno 17: DTMF 2 (end)

    In this second situation, the beginning of the DTMF 2 arrives before the final end frame of the DTMF 1. With the patch, seqno 12 is no processed and thus we properly interpret the DTMF.

    Fix 2. The second change in place is to fix an issue like the following:

    seqno 1: DTMF 1
    seqno 2: DTMF 1
    seqno 3: DTMF 1 (end) *packet lost*
    seqno 4: DTMF 1 (end) *packet lost*
    seqno 5: DTMF 1 (end) *packet lost*
    seqno 6: DTMF 2

    When we receive seqno 6, we had code in place that was supposed to properly end the previously unended DTMF 1. The problem was that the code was essentially a no-op. The code would set up an end frame for the DTMF 1 but would immediately overwrite the frame with the begin for DTMF 2. I changed process_dtmf_rfc2833() so that instead of returning a single frame, it is given as an output parameter a list of frames. Each frame that needs to be returned is appended to this list.

    Fix 3. The final change is a minor one where an AST_CONTROL_SRCCHANGE frame could get lost. If we process a cisco DTMF or an RFC 3389 frame and no frame was returned, then we would return &ast_null_frame. The problem is that earlier in the function, we may have generated an AST_CONTROL_SRCCHANGE frame and put it in the list of frames we wish to return. This frame would be lost in such a case. The patch fixes this problem
  ........
................

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

15 years agoMerged revisions 254446 via svnmerge from
Leif Madsen [Thu, 25 Mar 2010 15:22:30 +0000 (15:22 +0000)] 
Merged revisions 254446 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r254446 | lmadsen | 2010-03-25 10:21:26 -0500 (Thu, 25 Mar 2010) | 9 lines

  handle_speechset has 4 arguments.

  Update code to reflect that handle_speechset has 4 arguments.

  (closes issue #17093)
  Reported by: gpatri
  Patches:
        res_agi.patch uploaded by gpatri (license 1014)
  Tested by: pabelanger, mmichelson
........

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

15 years agoMerged revisions 254277 via svnmerge from
Jeff Peeler [Wed, 24 Mar 2010 17:17:14 +0000 (17:17 +0000)] 
Merged revisions 254277 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r254277 | jpeeler | 2010-03-24 12:15:05 -0500 (Wed, 24 Mar 2010) | 78 lines

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

  ........
    r254235 | jpeeler | 2010-03-23 19:37:23 -0500 (Tue, 23 Mar 2010) | 72 lines

    Ensure that monitor recordings are written to the correct location (again)

    This is an extension to 248860. As such the dialplan test has been extended:

    ; non absolute path, not combined
    exten => 5040, 1, monitor(wav,tmp/jeff/monitor_test)
    exten => 5040, n, dial(sip/5001)
    ; absolute path, not combined
    exten => 5041, 1, monitor(wav,/tmp/jeff/monitor_test2)
    exten => 5041, n, dial(sip/5001)
    ; no path, not combined
    exten => 5042, 1, monitor(wav,monitor_test3)
    exten => 5042, n, dial(sip/5001)
    ; combined: changemonitor from non absolute to no path (leaves tmp/jeff)
    exten => 5043, 1, monitor(wav,tmp/jeff/monitor_test4,m)
    exten => 5043, n, changemonitor(monitor_test5)
    exten => 5043, n, dial(sip/5001)
    ; combined: changemonitor from no path to non absolute path
    exten => 5044, 1, monitor(wav,monitor_test6,m)
    exten => 5044, n, changemonitor(tmp/jeff/monitor_test7) ; this wasn't possible before
    exten => 5044, n, dial(sip/5001)
    ; non absolute path, combined
    exten => 5045, 1, monitor(wav,tmp/jeff/monitor_test8,m)
    exten => 5045, n, dial(sip/5001)
    ; absolute path, combined
    exten => 5046, 1, monitor(wav,/tmp/jeff/monitor_test9,m)
    exten => 5046, n, dial(sip/5001)
    ; no path, combined
    exten => 5047, 1, monitor(wav,monitor_test10,m)
    exten => 5047, n, dial(sip/5001)
    ; combined: changemonitor from non absolute to absolute (leaves tmp/jeff)
    exten => 5048, 1, monitor(wav,tmp/jeff/monitor_test11,m)
    exten => 5048, n, changemonitor(/tmp/jeff/monitor_test12)
    exten => 5048, n, dial(sip/5001)
    ; combined: changemonitor from absolute to non absolute (leaves /tmp/jeff)
    exten => 5049, 1, monitor(wav,/tmp/jeff/monitor_test13,m)
    exten => 5049, n, changemonitor(tmp/jeff/monitor_test14)
    exten => 5049, n, dial(sip/5001)
    ; combined: changemonitor from no path to absolute
    exten => 5050, 1, monitor(wav,monitor_test15,m)
    exten => 5050, n, changemonitor(/tmp/jeff/monitor_test16)
    exten => 5050, n, dial(sip/5001)
    ; combined: changemonitor from absolute to no path (leaves /tmp/jeff)
    exten => 5051, 1, monitor(wav,/tmp/jeff/monitor_test17,m)
    exten => 5051, n, changemonitor(monitor_test18)
    exten => 5051, n, dial(sip/5001)
    ; not combined: changemonitor from non absolute to no path (leaves tmp/jeff)
    exten => 5052, 1, monitor(wav,tmp/jeff/monitor_test19)
    exten => 5052, n, changemonitor(monitor_test20)
    exten => 5052, n, dial(sip/5001)
    ; not combined: changemonitor from no path to non absolute
    exten => 5053, 1, monitor(wav,monitor_test21)
    exten => 5053, n, changemonitor(tmp/jeff/monitor_test22)
    exten => 5053, n, dial(sip/5001)
    ; not combined: changemonitor from non absolute to absolute (leaves tmp/jeff)
    exten => 5054, 1, monitor(wav,tmp/jeff/monitor_test23)
    exten => 5054, n, changemonitor(/tmp/jeff/monitor_test24)
    exten => 5054, n, dial(sip/5001)
    ; not combined: changemonitor from absolute to non absolute (leaves /tmp/jeff)
    exten => 5055, 1, monitor(wav,/tmp/jeff/monitor_test24)
    exten => 5055, n, changemonitor(tmp/jeff/monitor_test25)
    exten => 5055, n, dial(sip/5001)
    ; not combined: changemonitor from no path to absolute
    exten => 5056, 1, monitor(wav,monitor_test26)
    exten => 5056, n, changemonitor(/tmp/jeff/monitor_test27)
    exten => 5056, n, dial(sip/5001)
    ; not combined: changemonitor from absolute to no path (leaves /tmp/jeff)
    exten => 5057, 1, monitor(wav,/tmp/jeff/monitor_test28)
    exten => 5057, n, changemonitor(monitor_test29)
    exten => 5057, n, dial(sip/5001)
  ........
................

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

15 years agoMerged revisions 254050 via svnmerge from
Jeff Peeler [Tue, 23 Mar 2010 21:19:45 +0000 (21:19 +0000)] 
Merged revisions 254050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r254050 | jpeeler | 2010-03-23 16:17:23 -0500 (Tue, 23 Mar 2010) | 14 lines

  Exit native bridging early for greater timing accuracy with warnings

  This changes native bridging to break one millisecond early so that the more
  accurate timeval calculations done in the generic bridge can be performed using
  the bridge config. Currently the time between exiting native bridging slightly
  late can sometimes cause a large enough discrepancy for warnings to be missed.
  For the record, 1.4 does not attempt to native bridge at all when warnings are
  enabled.

  (closes issue #15815)
  Reported by: adomjan

  Review: https://reviewboard.asterisk.org/r/577/
........

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

15 years agoMerged revisions 254001 via svnmerge from
Tzafrir Cohen [Tue, 23 Mar 2010 20:52:21 +0000 (20:52 +0000)] 
Merged revisions 254001 via svnmerge from
http://svn.digium.com/svn/asterisk/trunk

........
  r254001 | tzafrir | 2010-03-23 21:19:52 +0200 (Tue, 23 Mar 2010) | 2 lines

  Change the name of the category 'TEST' to match the name of the subdir
........

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

15 years agoMerged revisions 253800 via svnmerge from
Matthew Nicholson [Mon, 22 Mar 2010 19:57:11 +0000 (19:57 +0000)] 
Merged revisions 253800 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r253800 | mnicholson | 2010-03-22 14:52:52 -0500 (Mon, 22 Mar 2010) | 11 lines

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

  ........
    r253799 | mnicholson | 2010-03-22 14:50:00 -0500 (Mon, 22 Mar 2010) | 4 lines

    Unconditionally copy the caller's account code to the called party.

    (related to issue #16331)
  ........
................

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

15 years agoResolve 1.6.0 compilation issues on FreeBSD.
Russell Bryant [Sat, 20 Mar 2010 18:29:46 +0000 (18:29 +0000)] 
Resolve 1.6.0 compilation issues on FreeBSD.

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

15 years agoMerged revisions 253536-253538,253540 via svnmerge from
Russell Bryant [Sat, 20 Mar 2010 18:14:31 +0000 (18:14 +0000)] 
Merged revisions 253536-253538,253540 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r253536 | russell | 2010-03-20 06:33:30 -0500 (Sat, 20 Mar 2010) | 4 lines

  Use SHRT_MAX instead of MAXSHORT.

  These changes fix build issues I had with this module on FreeBSD.
........
  r253537 | russell | 2010-03-20 06:39:39 -0500 (Sat, 20 Mar 2010) | 2 lines

  Resolve a compiler warning on FreeBSD.
........
  r253538 | russell | 2010-03-20 06:43:08 -0500 (Sat, 20 Mar 2010) | 2 lines

  Resolve compiler warnings on FreeBSD.
........
  r253540 | russell | 2010-03-20 07:03:07 -0500 (Sat, 20 Mar 2010) | 2 lines

  Resolve more compiler warnings on FreeBSD.
........

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

15 years agoResolve compiler warnings on FreeBSD.
Russell Bryant [Sat, 20 Mar 2010 18:11:06 +0000 (18:11 +0000)] 
Resolve compiler warnings on FreeBSD.

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

15 years agoSlightly different fix for UserEvent docs update.
Leif Madsen [Thu, 18 Mar 2010 17:56:56 +0000 (17:56 +0000)] 
Slightly different fix for UserEvent docs update.

(issue #16961)

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

15 years agoMerged revisions 253256 via svnmerge from
Leif Madsen [Thu, 18 Mar 2010 15:48:37 +0000 (15:48 +0000)] 
Merged revisions 253256 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r253256 | lmadsen | 2010-03-18 10:46:52 -0500 (Thu, 18 Mar 2010) | 9 lines

  Update to new Local channel documentation.

  Add same changes as commit to 1.4, but convert to TeX.

  (issue #16963)
  Reported by: kobaz
  Patches:
        localchannel-2.txt uploaded by kobaz (license 834)
........

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

15 years agoRevert API change in release branches
Terry Wilson [Wed, 17 Mar 2010 16:25:52 +0000 (16:25 +0000)] 
Revert API change in release branches

This re-renames ast_rtp_update_source to ast_rtp_new_source

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

15 years agoMerged revisions 253028 via svnmerge from
Leif Madsen [Wed, 17 Mar 2010 00:31:01 +0000 (00:31 +0000)] 
Merged revisions 253028 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r253028 | lmadsen | 2010-03-16 19:29:06 -0500 (Tue, 16 Mar 2010) | 13 lines

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

  ........
    r253018 | lmadsen | 2010-03-16 19:26:19 -0500 (Tue, 16 Mar 2010) | 6 lines

    Add french snipset to say.conf.

    Add the french snipset to say.conf.

    (Closes issue #15799)
  ........
................

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

15 years agoMerged revisions 252976 via svnmerge from
Tilghman Lesher [Tue, 16 Mar 2010 23:54:43 +0000 (23:54 +0000)] 
Merged revisions 252976 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r252976 | tilghman | 2010-03-16 18:49:35 -0500 (Tue, 16 Mar 2010) | 8 lines

  Mask out previous arguments on each nested invocation of Gosub.
  (closes issue #16758)
   Reported by: wdoekes
   Patches:
         20100316__issue16758.diff.txt uploaded by tilghman (license 14)

  Review: https://reviewboard.asterisk.org/r/561/
........

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

15 years agoMerged revisions 252767 via svnmerge from
Russell Bryant [Tue, 16 Mar 2010 19:01:27 +0000 (19:01 +0000)] 
Merged revisions 252767 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r252767 | russell | 2010-03-16 14:01:04 -0500 (Tue, 16 Mar 2010) | 13 lines

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

  ........
    r252766 | russell | 2010-03-16 14:00:43 -0500 (Tue, 16 Mar 2010) | 6 lines

    Don't treat warnings as errors for muted.

    muted supports OS X, but uses functions marked as deprecated in 10.6.  However,
    the functions are still supported, so just ignore the warnings for now and
    allow the build to proceed.
  ........
................

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

15 years agoMerged revisions 252762 via svnmerge from
Leif Madsen [Tue, 16 Mar 2010 18:49:41 +0000 (18:49 +0000)] 
Merged revisions 252762 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r252762 | lmadsen | 2010-03-16 13:48:22 -0500 (Tue, 16 Mar 2010) | 15 lines

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

  ........
    r252761 | lmadsen | 2010-03-16 13:46:20 -0500 (Tue, 16 Mar 2010) | 7 lines

    Additional extensions.ael global variable fixes.

    Fixing up a couple more overlapping global variable namespaces shared with
    extensions.conf.sample. Also noticed a few of the lines that were commented
    out didn't have the closing semi-colon so I added that as well.

    (issue #17035)
  ........
................

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

15 years agoMerged revisions 252623 via svnmerge from
Sean Bright [Mon, 15 Mar 2010 21:59:38 +0000 (21:59 +0000)] 
Merged revisions 252623 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r252623 | seanbright | 2010-03-15 17:55:44 -0400 (Mon, 15 Mar 2010) | 4 lines

  Resolve a crash in SLATrunk when the specified trunk doesn't exist.

  Reported by philipp64 in #asterisk-dev.
........

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

15 years agoMerged revisions 252619 via svnmerge from
Tilghman Lesher [Mon, 15 Mar 2010 21:53:45 +0000 (21:53 +0000)] 
Merged revisions 252619 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r252619 | tilghman | 2010-03-15 16:51:55 -0500 (Mon, 15 Mar 2010) | 9 lines

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

  ........
    r252617 | tilghman | 2010-03-15 16:43:14 -0500 (Mon, 15 Mar 2010) | 2 lines

    Uh, yeah.  Umask.  I'm stupid.
  ........
................

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

15 years agoMerged revisions 252534 via svnmerge from
Leif Madsen [Mon, 15 Mar 2010 20:54:06 +0000 (20:54 +0000)] 
Merged revisions 252534 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r252534 | lmadsen | 2010-03-15 15:52:32 -0500 (Mon, 15 Mar 2010) | 15 lines

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

  ........
    r252533 | lmadsen | 2010-03-15 15:48:56 -0500 (Mon, 15 Mar 2010) | 7 lines

    Update extensions.ael file to not overlap extensions.conf.
    Updated the extensions.ael file so the global variables don't overlap
    those that we have in extensions.conf (sample files). This way unexpected
    things won't happed hopefully if both pbx_ael and res_config are loaded.

    (closes issue #17035)
    Reported by: pprindeville
  ........
................

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

15 years agoMerged revisions 252362 via svnmerge from
Tilghman Lesher [Mon, 15 Mar 2010 01:37:44 +0000 (01:37 +0000)] 
Merged revisions 252362 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r252362 | tilghman | 2010-03-14 20:37:04 -0500 (Sun, 14 Mar 2010) | 11 lines

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

  ........
    r252361 | tilghman | 2010-03-14 20:33:50 -0500 (Sun, 14 Mar 2010) | 4 lines

    Launch Asterisk on Mac OS X with launchd.

    Reviewboard: https://reviewboard.asterisk.org/r/551/
  ........
................

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

15 years agoMerged revisions 252314 via svnmerge from
Sean Bright [Sun, 14 Mar 2010 17:45:53 +0000 (17:45 +0000)] 
Merged revisions 252314 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r252314 | seanbright | 2010-03-14 13:43:46 -0400 (Sun, 14 Mar 2010) | 8 lines

  Fix building CDR and CEL SQLite3 modules.

  They added a sqlite3_log() function which was conflicting with our function
  names.

  (closes issue #17017)
  Reported by: alephlg
........

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

15 years agoRemove unused field
Terry Wilson [Sat, 13 Mar 2010 00:30:51 +0000 (00:30 +0000)] 
Remove unused field

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

15 years agoMerged revisions 252089 via svnmerge from
Terry Wilson [Fri, 12 Mar 2010 23:39:12 +0000 (23:39 +0000)] 
Merged revisions 252089 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r252089 | twilson | 2010-03-12 16:04:51 -0600 (Fri, 12 Mar 2010) | 20 lines

  Only change the RTP ssrc when we see that it has changed

  This change basically reverts the change reviewed in
  https://reviewboard.asterisk.org/r/374/ and instead limits the
  updating of the RTP synchronization source to only those times when we
  detect that the other side of the conversation has changed the ssrc.

  The problem is that SRCUPDATE control frames are sent many times where
  we don't want a new ssrc, including whenever Asterisk has to send DTMF
  in a normal bridge. This is also not the first time that this mistake
  has been made. The initial implementation of the ast_rtp_new_source
  function also changed the ssrc--and then it was removed because of
  this same issue. Then, we put it back in again to fix a different
  issue. This patch attempts to only change the ssrc when we see that
  the other side of the conversation has changed the ssrc.

  It also renames some functions to make their purpose more clear.

  Review: https://reviewboard.asterisk.org/r/540/
........

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

15 years agoForward declaring dahdi_pri was already done.
Richard Mudgett [Fri, 12 Mar 2010 19:53:54 +0000 (19:53 +0000)] 
Forward declaring dahdi_pri was already done.

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

15 years agoMerged revisions 251989 via svnmerge from
Tilghman Lesher [Fri, 12 Mar 2010 19:49:02 +0000 (19:49 +0000)] 
Merged revisions 251989 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r251989 | tilghman | 2010-03-12 13:43:23 -0600 (Fri, 12 Mar 2010) | 8 lines

  Don't override a user option with the global option.

  (closes issue #16849)
   Reported by: ip-rob
   Patches:
         20100311__issue16849.diff.txt uploaded by tilghman (license 14)
   Tested by: ip-rob
........

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

15 years agoMerged revisions 251987 via svnmerge from
Richard Mudgett [Fri, 12 Mar 2010 19:42:56 +0000 (19:42 +0000)] 
Merged revisions 251987 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r251987 | rmudgett | 2010-03-12 13:40:16 -0600 (Fri, 12 Mar 2010) | 9 lines

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

  ........
    r251986 | rmudgett | 2010-03-12 13:33:22 -0600 (Fri, 12 Mar 2010) | 1 line

    Make chan_dahdi wakeup_sub() prototype not conditional.
  ........
................

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

15 years agoMerged revisions 251884 via svnmerge from
Tilghman Lesher [Thu, 11 Mar 2010 21:08:14 +0000 (21:08 +0000)] 
Merged revisions 251884 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r251884 | tilghman | 2010-03-11 15:07:07 -0600 (Thu, 11 Mar 2010) | 8 lines

  Because ExecIf needs to reprocess arguments, it's best if we don't remove quotes during parsing.

  (closes issue #16905)
   Reported by: ip-rob
   Patches:
         20100303__issue16905.diff.txt uploaded by tilghman (license 14)
   Tested by: ip-rob
........

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

15 years agoMerged revisions 251877 via svnmerge from
Tilghman Lesher [Thu, 11 Mar 2010 20:29:31 +0000 (20:29 +0000)] 
Merged revisions 251877 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r251877 | tilghman | 2010-03-11 14:25:02 -0600 (Thu, 11 Mar 2010) | 8 lines

  If the argument to the system application is quoted, ensure we remove the quotes before trying to execute.

  (closes issue #16842)
   Reported by: ip-rob
   Patches:
         20100310__issue16842.diff.txt uploaded by tilghman (license 14)
   Tested by: ip-rob
........

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

15 years agoBlocked revisions 251679 via svnmerge
Jeff Peeler [Wed, 10 Mar 2010 20:53:55 +0000 (20:53 +0000)] 
Blocked revisions 251679 via svnmerge

........
  r251679 | jpeeler | 2010-03-10 14:51:23 -0600 (Wed, 10 Mar 2010) | 13 lines

  Fix ParkAndAnnounce not respecting parking options.

  The patch ensures that if a peer does not exist, parking settings are read from
  the channel. A unit test has been written to ensure proper operation for both
  standard parking and parking using masquerades.

  (closes issue #16592)
  Reported by: mwyres
  Patches:
        bug_16592.diff uploaded by snuffy (license 35)

  Review: https://reviewboard.asterisk.org/r/539/
........

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

15 years agoMerged revisions 251475 via svnmerge from
Tilghman Lesher [Tue, 9 Mar 2010 20:32:32 +0000 (20:32 +0000)] 
Merged revisions 251475 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r251475 | tilghman | 2010-03-09 14:30:03 -0600 (Tue, 09 Mar 2010) | 8 lines

  Build system modifications to ensure that Asterisk properly builds on Mac OS X 10.6.

  (closes issue #16997)
   Reported by: jquinn
   Patches:
         20100309__issue16997__2.diff.txt uploaded by tilghman (license 14)
   Tested by: tilghman, russell
........

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

15 years agoMerged revisions 251310 via svnmerge from
Leif Madsen [Mon, 8 Mar 2010 18:10:20 +0000 (18:10 +0000)] 
Merged revisions 251310 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r251310 | lmadsen | 2010-03-08 12:08:44 -0600 (Mon, 08 Mar 2010) | 21 lines

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

  ........
    r251309 | lmadsen | 2010-03-08 12:07:44 -0600 (Mon, 08 Mar 2010) | 13 lines

    Fix Debian init script to not use -c.
    When using the init script as-is currently, it could cause issues on Debian
    such as high CPU usage. This fix has worked for several people so I'm
    implementing the change.

    (closes issue #16784)
    Reported by: pabelanger
    Tested by: pabelanger, mnick, davidw, mutineer612

    (closes issue #16887)
    Reported by: jlpedrosa
    Tested by: jlpedrosa, mutineer612
  ........
................

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

15 years agoMerged revisions 250787 via svnmerge from
Jeff Peeler [Fri, 5 Mar 2010 01:07:46 +0000 (01:07 +0000)] 
Merged revisions 250787 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r250787 | jpeeler | 2010-03-04 19:05:46 -0600 (Thu, 04 Mar 2010) | 16 lines

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

  ........
    r250786 | jpeeler | 2010-03-04 19:02:58 -0600 (Thu, 04 Mar 2010) | 9 lines

    Fix not being able to specify a URL in MOH class directory.

    Don't attempt to chdir on a URL!

    (closes issue #16875)
    Reported by: raarts
    Patches:
          moh-http.patch uploaded by raarts (license 937)
  ........
................

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

15 years agoRecorded merge of revisions 250730 via svnmerge from
Mark Michelson [Thu, 4 Mar 2010 20:13:43 +0000 (20:13 +0000)] 
Recorded merge of revisions 250730 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r250730 | mmichelson | 2010-03-04 14:12:26 -0600 (Thu, 04 Mar 2010) | 3 lines

  Adjust XML for func_channel to indicate that rtpdest can take a "text" argument.
........

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

15 years agoMerged revisions 250609 via svnmerge from
Leif Madsen [Wed, 3 Mar 2010 21:27:02 +0000 (21:27 +0000)] 
Merged revisions 250609 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r250609 | lmadsen | 2010-03-03 16:22:55 -0500 (Wed, 03 Mar 2010) | 11 lines

  Update existing Local channel documentation.

  A complete re-write of the Local channel documentation has been performed, with
  the existing information from localchannel.txt and localchannel.tex merged in.

  (closes issue #16637)
  Reported by: kobaz
  Patches:
        localchannel.tex uploaded by lmadsen (license 10)
        localchannel.txt uploaded by lmadsen (license 10)
  Tested by: lmadsen, jsmith, mmichelson
........

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

15 years agoMerged revisions 250481 via svnmerge from
Jeff Peeler [Wed, 3 Mar 2010 19:07:49 +0000 (19:07 +0000)] 
Merged revisions 250481 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r250481 | jpeeler | 2010-03-03 13:06:06 -0600 (Wed, 03 Mar 2010) | 22 lines

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

  ........
    r250480 | jpeeler | 2010-03-03 13:04:11 -0600 (Wed, 03 Mar 2010) | 15 lines

    Make sure to clear red alarm after polarity reversal.

    From the issue:
    The automatic overnight line tests (or manual ones) used on UK (BT) lines causes
    a red alarm on a dahdi / TDM400P connected channel. This is because the line
    uses voltage tests (battery loss) and polarity reversal. The polarity reversal
    causes chan_dahdi to initiate v23 CallerID processing but during this the event
    DAHDI_EVENT_NOALARM is ignored so that the alarm is never cleared.

    (closes issue #14163)
    Reported by: jedi98
    Patches:
          chan_dahdi-1.4-inalarm.diff uploaded by jedi98 (license 653)
    Tested by: mattbrown, Chainsaw, mikeeccleston
  ........
................

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

15 years agoMerged revisions 250395 via svnmerge from
David Vossel [Wed, 3 Mar 2010 18:06:19 +0000 (18:06 +0000)] 
Merged revisions 250395 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r250395 | dvossel | 2010-03-03 12:03:19 -0600 (Wed, 03 Mar 2010) | 22 lines

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

  ........
    r250394 | dvossel | 2010-03-03 12:02:27 -0600 (Wed, 03 Mar 2010) | 16 lines

    fixes problem with duplicate TXREQ packets

    When Asterisk receives an IAX2 TXREQ packet, try_transfer()
    will call store_by_transfercallno() to link the chan_iax2_pvt
    struct into iax_transfercallno_pvts. If a duplicate TXREQ
    packet is received for the same call, the pvt struct will be
    linked into iax_transfercallno_pvts multiple times.  This patch
    fixes this.  Thanks rain for debugging this and providing a patch!

    (closes issue #16904)
    Reported by: rain
    Patches:
          iax2-double-txreq-fix.diff uploaded by rain (license 327)
    Tested by: rain, dvossel
  ........
................

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

15 years agoMerged revisions 250246 via svnmerge from
David Vossel [Wed, 3 Mar 2010 00:22:22 +0000 (00:22 +0000)] 
Merged revisions 250246 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r250246 | dvossel | 2010-03-02 18:18:28 -0600 (Tue, 02 Mar 2010) | 2 lines

  fixes signed to unsigned int comparision issue for FaxMaxDatagram value.
........

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

15 years agoMerged revisions 250051 via svnmerge from
Leif Madsen [Tue, 2 Mar 2010 21:11:52 +0000 (21:11 +0000)] 
Merged revisions 250051 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r250051 | lmadsen | 2010-03-02 16:09:27 -0500 (Tue, 02 Mar 2010) | 8 lines

  Update IMAP documentation.
  Update the IMAP documentation to make it clear that storing voicemails
  in the same folder as a large number of emails could potentially cause
  significant slow downs when writing or retrieving voicemails.

  (issue #16704)
  Reported by: TimeHider
  Tested by: lmadsen, TimeHider
........

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

15 years agoMerged revisions 250045 via svnmerge from
Leif Madsen [Tue, 2 Mar 2010 20:54:53 +0000 (20:54 +0000)] 
Merged revisions 250045 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r250045 | lmadsen | 2010-03-02 15:52:19 -0500 (Tue, 02 Mar 2010) | 15 lines

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

  ........
    r250043 | lmadsen | 2010-03-02 15:51:35 -0500 (Tue, 02 Mar 2010) | 7 lines

    Update documentation to clarify purpose of unanswered option.

    (closes issue #16267)
    Reported by: elsto
    Patches:
          cdr.conf.sample.patch.txt uploaded by lmadsen (license 10)
    Tested by: davidw, elsto
  ........
................

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

15 years agoMerged revisions 250037 via svnmerge from
Leif Madsen [Tue, 2 Mar 2010 20:42:42 +0000 (20:42 +0000)] 
Merged revisions 250037 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r250037 | lmadsen | 2010-03-02 15:36:10 -0500 (Tue, 02 Mar 2010) | 4 lines

  Update documentation to not imply we support overriding options.

  (closes issue #16855)
  Reported by: davidw
........

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

15 years agorevert ability to exit echo app
Alec L Davis [Tue, 2 Mar 2010 19:45:27 +0000 (19:45 +0000)] 
revert ability to exit echo app

caused a regression, as only supported VOICE, not VIDEO etc.

(issue #16880)

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

15 years agoMerged revisions 249893 via svnmerge from
David Vossel [Tue, 2 Mar 2010 19:20:05 +0000 (19:20 +0000)] 
Merged revisions 249893 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r249893 | dvossel | 2010-03-02 13:08:38 -0600 (Tue, 02 Mar 2010) | 11 lines

  fixes adaptive jitterbuffer configuration

  When configuring the adaptive jitterbuffer, the target_extra
  value not only could not be set from the configuration, but was
  not even being set to its proper default.  This value is required
  in order for the adaptive jitterbuffer to work correctly.  To resolve
  this a config option has been added to expose this value to the conf
  files, and a default value is provided when no config specific value
  is present.
........

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

15 years agofixes ability to exit echo app
Alec L Davis [Tue, 2 Mar 2010 09:16:02 +0000 (09:16 +0000)] 
fixes ability to exit echo app

when called from a ISDN channel, null frames prevent '#' exit.
Now only echo back VOICE and DTMF frames

(closes issue #16880)
Reported by: alecdavis
Patches:
      based on echo_exit_1-6-1.diff.txt uploaded by alecdavis (license 585)
Tested by: alecdavis

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

15 years agoMerged revisions 249672 via svnmerge from
Sean Bright [Mon, 1 Mar 2010 19:38:08 +0000 (19:38 +0000)] 
Merged revisions 249672 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r249672 | seanbright | 2010-03-01 14:36:30 -0500 (Mon, 01 Mar 2010) | 18 lines

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

  ........
    r249671 | seanbright | 2010-03-01 14:35:01 -0500 (Mon, 01 Mar 2010) | 11 lines

    Fix crash in app_voicemail related to message counting.

    We were passing a 'struct inprocess **' and treating it like a 'struct inprocess *'
    causing a segfault.

    (closes issue #16921)
    Reported by: whardier
    Patches:
          20100301_issue16921.patch uploaded by seanbright (license 71)
    Tested by: whardier
  ........
................

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

15 years agoMerged revisions 249538 via svnmerge from
Jeff Peeler [Mon, 1 Mar 2010 17:13:16 +0000 (17:13 +0000)] 
Merged revisions 249538 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r249538 | jpeeler | 2010-03-01 11:11:31 -0600 (Mon, 01 Mar 2010) | 18 lines

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

  ........
    r249536 | jpeeler | 2010-03-01 11:02:03 -0600 (Mon, 01 Mar 2010) | 11 lines

    Modify queued frames from local channels to not set the other side to up

    In this case, attended transfers were broken due to ast_feature_request_and_dial
    detecting the channel being set to up before the answer frame could be read and
    therefore failing to mark the channel as ready. This fix is a regression fix for
    244785, which should continue to work properly as well.

    (closes issue #16816)
    Reported by: jamhed
    Tested by: jamhed, corruptor
  ........
................

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

15 years agooverlap receiving: automatically send CALL PROCEEDING when dialplan starts
Alec L Davis [Sat, 27 Feb 2010 23:38:43 +0000 (23:38 +0000)] 
overlap receiving: automatically send CALL PROCEEDING when dialplan starts

Following Q.931 5.2.4
When the user has determined that sufficient call information has been received the
user shall stop T302 and send CALL PROCEEDING to the network.

Previously timeouts were possible if the dialplan took a long time to issue any
response back to the network.

Verified that our local TELCO also does the same.

(issue #16789)
Reported by: alecdavis
Patches:
      overlap_receiving_trunk.diff.txt uploaded by alecdavis (license 585)
Tested by: alecdavis

(closes issue #16789)

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

15 years agoMerged revisions 249235 via svnmerge from
Kevin P. Fleming [Sat, 27 Feb 2010 14:09:15 +0000 (14:09 +0000)] 
Merged revisions 249235 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r249235 | kpfleming | 2010-02-27 09:08:35 -0500 (Sat, 27 Feb 2010) | 9 lines

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

  ........
    r249234 | kpfleming | 2010-02-27 09:07:59 -0500 (Sat, 27 Feb 2010) | 1 line

    add a reference to the now-published IAX2 RFC
  ........
................

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

15 years agoMerged revisions 249101 via svnmerge from
Mark Michelson [Fri, 26 Feb 2010 17:05:22 +0000 (17:05 +0000)] 
Merged revisions 249101 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r249101 | mmichelson | 2010-02-26 11:04:58 -0600 (Fri, 26 Feb 2010) | 14 lines

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

  ........
    r249100 | mmichelson | 2010-02-26 11:04:29 -0600 (Fri, 26 Feb 2010) | 8 lines

    For T.38 reINVITEs treat a 606 the same as a 488.

    (closes issue #16792)
    Reported by: vrban
    Patches:
          t38_606.patch uploaded by vrban (license 756)
  ........
................

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

15 years agoMerged revisions 248952 via svnmerge from
Jeff Peeler [Thu, 25 Feb 2010 23:11:14 +0000 (23:11 +0000)] 
Merged revisions 248952 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r248952 | jpeeler | 2010-02-25 17:09:54 -0600 (Thu, 25 Feb 2010) | 24 lines

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

  ........
    r248860 | jpeeler | 2010-02-25 15:22:06 -0600 (Thu, 25 Feb 2010) | 18 lines

    Ensure that monitor recordings are written to the correct location (again)

    This is an extension to 248757. As such the dialplan test has been extended:

    exten => 5040, 1, monitor(wav,tmp/jeff/monitor_test,b)
    exten => 5040, n, dial(sip/5001)
    exten => 5041, 1, monitor(wav,/tmp/jeff/monitor_test2,b)
    exten => 5041, n, dial(sip/5001)
    exten => 5042, 1, monitor(wav,monitor_test3,b)
    exten => 5042, n, dial(sip/5001)
    exten => 5043, 1, monitor(wav,tmp/jeff/monitor_test3,m)
    exten => 5043, n, changemonitor(monitor_test4)
    exten => 5043, n, dial(sip/5001)
    exten => 5044, 1, monitor(wav,monitor_test4,m)
    exten => 5044, n, changemonitor(tmp/jeff/monitor_test5) ; this looks to fail by design and emits a warning
    exten => 5044, n, dial(sip/5001)
  ........
................

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

15 years agoMerged revisions 248946 via svnmerge from
Mark Michelson [Thu, 25 Feb 2010 22:42:19 +0000 (22:42 +0000)] 
Merged revisions 248946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r248946 | mmichelson | 2010-02-25 16:41:48 -0600 (Thu, 25 Feb 2010) | 5 lines

  Fix incorrect ACL behavior when CIDR notation of "/0" is used.

  AST-2010-003
........

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

15 years agoMerged revisions 248861 via svnmerge from
Tilghman Lesher [Thu, 25 Feb 2010 21:24:06 +0000 (21:24 +0000)] 
Merged revisions 248861 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r248861 | tilghman | 2010-02-25 15:22:39 -0600 (Thu, 25 Feb 2010) | 22 lines

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

  ........
    r248859 | tilghman | 2010-02-25 15:21:05 -0600 (Thu, 25 Feb 2010) | 15 lines

    Some platforms clear /var/run at boot, which makes connecting a remote console... difficult.

    Previously, we only created the default /var/run/asterisk directory at install
    time.  While we could create it in the init script, that would not work for
    those who start asterisk manually from the command line.  So the safest thing
    to do is to create it as part of the Asterisk boot process.  This also changes
    the ownership of the directory, because the pid and ctl files are created after
    we setuid/setgid.

    (closes issue #16802)
     Reported by: Brian
     Patches:
           20100224__issue16802.diff.txt uploaded by tilghman (license 14)
     Tested by: tzafrir
  ........
................

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

15 years agoMerged revisions 248793 via svnmerge from
Jeff Peeler [Thu, 25 Feb 2010 18:46:09 +0000 (18:46 +0000)] 
Merged revisions 248793 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r248793 | jpeeler | 2010-02-25 12:37:56 -0600 (Thu, 25 Feb 2010) | 22 lines

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

  ........
    r248757 | jpeeler | 2010-02-25 12:06:54 -0600 (Thu, 25 Feb 2010) | 15 lines

    Ensure that monitor recordings are written to the correct location.

    Recordings should be placed in the monitor directory when a non-absolute path
    is used.

    Exact dialplan used for testing:
    exten => 5040, 1, monitor(wav,tmp/jeff/monitor_test,b)
    exten => 5040, n, dial(sip/5001)
    exten => 5041, 1, monitor(wav,/tmp/jeff/monitor_test2,b)
    exten => 5041, n, dial(sip/5001)
    exten => 5042, 1, monitor(wav,monitor_test3,b)
    exten => 5042, n, dial(sip/5001)

    ABE-2101
  ........
................

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

15 years agoMerged revisions 248584 via svnmerge from
Tilghman Lesher [Wed, 24 Feb 2010 21:23:35 +0000 (21:23 +0000)] 
Merged revisions 248584 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r248584 | tilghman | 2010-02-24 15:17:26 -0600 (Wed, 24 Feb 2010) | 14 lines

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

  ........
    r248582 | tilghman | 2010-02-24 15:02:18 -0600 (Wed, 24 Feb 2010) | 7 lines

    Remove color code sequences from verbose messages that go to logfiles.
    (closes issue #16786)
     Reported by: dodo
     Patches:
           logger2.patch uploaded by dodo (license 989)
     Tested by: tilghman
  ........
................

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

15 years agoMerged revisions 248397 via svnmerge from
David Vossel [Tue, 23 Feb 2010 16:51:23 +0000 (16:51 +0000)] 
Merged revisions 248397 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r248397 | dvossel | 2010-02-23 10:34:39 -0600 (Tue, 23 Feb 2010) | 15 lines

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

  ........
    r248396 | dvossel | 2010-02-23 10:26:05 -0600 (Tue, 23 Feb 2010) | 9 lines

    fixes invite with replaces deadlock

    (closes issue #16862)
    Reported by: pwalker
    Patches:
          replaces_deadlock_1.4 uploaded by dvossel (license 671)
    Tested by: pwalker, dvossel
  ........
................

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

15 years agoMerged revisions 228798 via svnmerge from
Tilghman Lesher [Fri, 19 Feb 2010 19:04:57 +0000 (19:04 +0000)] 
Merged revisions 228798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

(closes issue #16470)
 Reported by: kjotte

........
  r228798 | tilghman | 2009-11-09 01:37:52 -0600 (Mon, 09 Nov 2009) | 14 lines

  Fix various problems detected with Valgrind.
   * chan_console accessed pvts after deallocation.
   * The module loader did not check usecount on shutdown, which led to chan_iax2
   reading a timer that was already unloaded.
  (closes issue #16062)
   Reported by: alexanderheinz
   Patches:
         20091109__issue16062.diff.txt uploaded by tilghman (license 14)
   Tested by: tilghman
........

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

15 years agoRestore generated file from flex source
Tilghman Lesher [Fri, 19 Feb 2010 18:19:25 +0000 (18:19 +0000)] 
Restore generated file from flex source

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

15 years agoMerged revisions 247914 via svnmerge from
Richard Mudgett [Fri, 19 Feb 2010 18:13:24 +0000 (18:13 +0000)] 
Merged revisions 247914 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r247914 | rmudgett | 2010-02-19 11:33:33 -0600 (Fri, 19 Feb 2010) | 62 lines

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

  ................
    r247910 | rmudgett | 2010-02-19 11:18:49 -0600 (Fri, 19 Feb 2010) | 55 lines

    Merged revision 247904 from
    https://origsvn.digium.com/svn/asterisk/be/branches/C.2-...

    ..........
    r247904 | rmudgett | 2010-02-19 10:49:44 -0600 (Fri, 19 Feb 2010) | 49 lines

    Make chan_misdn DTMF processing consistent with other channel technologies.

    The processing of DTMF tones on the receiving side of an ISDN channel is
    inconsistent with the way it is handled in other channels, especially
    DAHDI analog.  This causes DTMF tones sent from an ISDN phone to be
    doubled at the connected party.

    We are using the following 2 options of misdn.conf
    1) astdtmf=yes
    2) senddtmf=yes

    Option one is necessary because the asterisk DSP DTMF detection is better
    than mISDN's internal DSP.  Not as many false positives.

    Option two is necessary to transmit DTMF tones end to end when mISDN
    channels are connected to SIP channels with out of band DTMF for example.

    The symptom is that DTMF tones sent by an ISDN phone are doubled on the
    way through asterisk when two mISDN channels are connected with a Local
    channel in between or if it is bridged to an analog channel.

    The doubling of DTMF tones is because DTMF is passed inband to asterisk by
    the mISDN channel and passed out of band once again after the release of
    the DTMF tone.  Passing it inband is wrong.  Neither an analog channel nor
    SIP channel passes DTMF inband if configured to inband DTMF.  Analog and
    SIP channels filter out the DTMF tones because they use the voice frames
    returned by ast_dsp_process.  But chan_misdn passes the unfiltered input
    voice frames instead.

    To overcome one aspect of the problem, the doubling of DTMF tones when two
    mISDN channels are directly bridged, someone made an 'optimization', where
    in that case the DTMF tone passed out-of-band to the peer channel is not
    translated to an inband tone at the transmit side.  This optimization is
    bad because it does not work in general.  For example, analog channels or
    mISDN channels when bridged through an intermediary local channel will
    generate DTMF tones from out-of-band information.  Also, of course, it
    must not be done when there is no inband DTMF available.

    This patch fixes the issue.  Now chan_misdn will filter the received
    inband DTMF signal the same as other channel types.

    Another change included: No need to build an extra translation path
    because ast_process_dsp does it if required.

    Patches:
     misdn-dtmf.patch

    JIRA ABE-2080
  ................
................

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

15 years agoRestore fwrite() line so ast_expr2f.c can compile.
Richard Mudgett [Fri, 19 Feb 2010 18:07:26 +0000 (18:07 +0000)] 
Restore fwrite() line so ast_expr2f.c can compile.

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

15 years agoBlocked revisions 247915 via svnmerge
David Vossel [Fri, 19 Feb 2010 17:42:33 +0000 (17:42 +0000)] 
Blocked revisions 247915 via svnmerge

........
  r247915 | dvossel | 2010-02-19 11:40:26 -0600 (Fri, 19 Feb 2010) | 7 lines

  handle_request_invite revise comment, fix coding guideline issues

  I'm working with this code right now trying to analyze a deadlock.
  This change is just to clean up a few things before I make a more
  complex patch.
........

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

15 years agoMerged revisions 247841 via svnmerge from
Tilghman Lesher [Thu, 18 Feb 2010 23:15:03 +0000 (23:15 +0000)] 
Merged revisions 247841 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r247841 | tilghman | 2010-02-18 17:13:46 -0600 (Thu, 18 Feb 2010) | 7 lines

  Revert an errant part of a previous cleanup, to fix a memory corruption issue.

  (closes issue #16368)
   Reported by: thirionjwf
   Patches:
         res_speech.c.patch uploaded by thirionjwf (license 955)
........

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

15 years agofixes dialog ref count crash isolated to the 1.6.0 branch
David Vossel [Thu, 18 Feb 2010 22:45:41 +0000 (22:45 +0000)] 
fixes dialog ref count crash isolated to the 1.6.0 branch

(closes issue #16375)
Reported by: kobaz

(closes issue #16796)
Reported by: kobaz

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

15 years agoMerged revisions 247787 via svnmerge from
Tilghman Lesher [Thu, 18 Feb 2010 21:47:07 +0000 (21:47 +0000)] 
Merged revisions 247787 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r247787 | tilghman | 2010-02-18 15:42:53 -0600 (Thu, 18 Feb 2010) | 17 lines

  If the peer record is from realtime, it could be set to 0, due to MySQL not representing NULL well in integer columns.

  NULL means the value is not specified for the column, which normally means
  the driver uses whatever is the default value.  However, on MySQL, placing
  a NULL in either a float or integer column results in a retrieval of the 0
  value.  Hence, users get an errant error on load.  This patch suppresses
  that error and makes the value as if it was not there.

  Note that this cannot be done in the realtime driver, because the lack of
  difference between NULL and 0 can only be intepreted correctly by the
  driver itself.  If we did it in the realtime driver, then it would be
  effectively impossible to set any realtime field to 0, because it would act
  as if the field were unspecified and possibly take on a different value.

  (closes issue #16683)
   Reported by: wdoekes
........

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

15 years agoBlocked revisions 247770 via svnmerge
David Vossel [Thu, 18 Feb 2010 21:26:41 +0000 (21:26 +0000)] 
Blocked revisions 247770 via svnmerge

........
  r247770 | dvossel | 2010-02-18 15:23:48 -0600 (Thu, 18 Feb 2010) | 9 lines

  fixes confbridge crash when no timing module is loaded.

  (closes issue #16471)
  Reported by: kjotte
  Patches:
        M16471.diff uploaded by junky (license 177)
  Tested by: kjotte, junky
........

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

15 years agoBlocked revisions 247736 via svnmerge
David Vossel [Thu, 18 Feb 2010 21:00:55 +0000 (21:00 +0000)] 
Blocked revisions 247736 via svnmerge

........
  r247736 | dvossel | 2010-02-18 14:58:41 -0600 (Thu, 18 Feb 2010) | 7 lines

  fixes Queue with C option crash

  (closes issue #16475)
  Reported by: okrief
  Patches:
        queue_crash.diff uploaded by dvossel (license 671)
........

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

15 years agoMerged revisions 247652 via svnmerge from
Matthew Nicholson [Thu, 18 Feb 2010 19:45:45 +0000 (19:45 +0000)] 
Merged revisions 247652 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r247652 | mnicholson | 2010-02-18 13:39:37 -0600 (Thu, 18 Feb 2010) | 13 lines

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

  ........
    r247651 | mnicholson | 2010-02-18 13:38:09 -0600 (Thu, 18 Feb 2010) | 6 lines

    Copy the calling party's account code to the called party if they don't already have one.

    (closes issue #16331)
    Reported by: bluefox
    Tested by: mnicholson
  ........
................

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

15 years agoMerged revisions 247509 via svnmerge from
Leif Madsen [Thu, 18 Feb 2010 16:56:07 +0000 (16:56 +0000)] 
Merged revisions 247509 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r247509 | lmadsen | 2010-02-18 11:54:43 -0500 (Thu, 18 Feb 2010) | 9 lines

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

  ........
    r247508 | lmadsen | 2010-02-18 11:53:44 -0500 (Thu, 18 Feb 2010) | 1 line

    Add additional link to best practices document per jsmith.
  ........
................

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

15 years agoMerged revisions 247503 via svnmerge from
Leif Madsen [Thu, 18 Feb 2010 16:44:10 +0000 (16:44 +0000)] 
Merged revisions 247503 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r247503 | lmadsen | 2010-02-18 11:41:04 -0500 (Thu, 18 Feb 2010) | 18 lines

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

  ........
    r247502 | lmadsen | 2010-02-18 11:38:17 -0500 (Thu, 18 Feb 2010) | 10 lines

    Add best practices documentation.

    (issue #16808)
    Reported by: lmadsen

    (issue #16810)
    Reported by: Nick_Lewis
    Tested by: lmadsen

    Review: https://reviewboard.asterisk.org/r/507/
  ........
................

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

15 years agoMerged revisions 247423 via svnmerge from
Russell Bryant [Thu, 18 Feb 2010 04:20:42 +0000 (04:20 +0000)] 
Merged revisions 247423 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r247423 | russell | 2010-02-17 22:20:11 -0600 (Wed, 17 Feb 2010) | 17 lines

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

  ........
    r247422 | russell | 2010-02-17 22:19:01 -0600 (Wed, 17 Feb 2010) | 10 lines

    Tweak argument handling for wget in the sounds Makefile.

    1) Fix the check to see if we are using wget to not be full of fail.  The
    configure script populates this variable with the absolute path to wget if
    it is found, so it didn't work.

    2) Allow some extra arguments to be passed in for wget.  This is just a simple
    change to allow our Bamboo build script to tell wget to be quiet and not fill
    up our logs with download status output.
  ........
................

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

15 years agoMerged revisions 247335 via svnmerge from
Mark Michelson [Wed, 17 Feb 2010 21:35:29 +0000 (21:35 +0000)] 
Merged revisions 247335 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r247335 | mmichelson | 2010-02-17 15:22:40 -0600 (Wed, 17 Feb 2010) | 20 lines

  Fix two problems in ast_str functions found while writing a unit test.

  1. The documentation for ast_str_set and ast_str_append state that
  the max_len parameter may be -1 in order to limit the size of the
  ast_str to its current allocated size. The problem was that the max_len
  parameter in all cases was a size_t, which is unsigned. Thus a -1 was
  interpreted as UINT_MAX instead of -1. Changing the max_len parameter
  to be ssize_t fixed this issue.

  2. Once issue 1 was fixed, there was an off-by-one error in the case
  where we attempted to write a string larger than the current allotted
  size to a string when -1 was passed as the max_len parameter. When trying
  to write more than the allotted size, the ast_str's __AST_STR_USED was
  set to 1 higher than it should have been. Thanks to Tilghman for quickly
  spotting the offending line of code.

  Oh, and the unit test that I referenced in the top line of this commit
  will be added to reviewboard shortly. Sit tight...
........

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

15 years agoMerged revisions 247169 via svnmerge from
Mark Michelson [Wed, 17 Feb 2010 16:25:21 +0000 (16:25 +0000)] 
Merged revisions 247169 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r247169 | mmichelson | 2010-02-17 10:24:54 -0600 (Wed, 17 Feb 2010) | 9 lines

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

  ........
    r247168 | mmichelson | 2010-02-17 10:24:17 -0600 (Wed, 17 Feb 2010) | 3 lines

    Make sure that when autofill is disabled that callers not in the front of the queue cannot place calls.
  ........
................

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

15 years agoBlocked revisions 247076 via svnmerge
Mark Michelson [Tue, 16 Feb 2010 23:45:32 +0000 (23:45 +0000)] 
Blocked revisions 247076 via svnmerge

........
  r247076 | mmichelson | 2010-02-16 17:44:33 -0600 (Tue, 16 Feb 2010) | 12 lines

  Add va_end calls to __ast_str_helper.

  According to the man page for stdarg(3),
  "Each invocation of va_copy() must be matched by a
  corresponding invocation of va_end() in the same
  function."

  There were several cases in __ast_str_helper where
  va_copy was not matched with a corresponding call
  to va_end.
........

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

15 years agoMerged revisions 246985 via svnmerge from
Mark Michelson [Tue, 16 Feb 2010 21:16:44 +0000 (21:16 +0000)] 
Merged revisions 246985 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r246985 | mmichelson | 2010-02-16 15:15:38 -0600 (Tue, 16 Feb 2010) | 3 lines

  Add some clarifying documentation to the ast_str_set and ast_str_append functions.
........

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

15 years agoMerged revisions 246980 via svnmerge from
David Vossel [Tue, 16 Feb 2010 21:07:48 +0000 (21:07 +0000)] 
Merged revisions 246980 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r246980 | dvossel | 2010-02-16 14:54:48 -0600 (Tue, 16 Feb 2010) | 8 lines

  warning message if openssl support is missing while attempting tls connection

  (closes issue #16673)
  Reported by: michaesc
  Patches:
        tls_error_msg.diff uploaded by dvossel (license 671)
........

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