]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
15 years agoDon't close 'n', just close 'above_n'.
Tilghman Lesher [Mon, 17 May 2010 18:44:53 +0000 (18:44 +0000)] 
Don't close 'n', just close 'above_n'.
(closes issue #17345)
 Reported by: wdoekes

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

15 years agoMerged revisions 263457 via svnmerge from
Leif Madsen [Mon, 17 May 2010 14:41:08 +0000 (14:41 +0000)] 
Merged revisions 263457 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r263457 | lmadsen | 2010-05-17 09:37:35 -0500 (Mon, 17 May 2010) | 19 lines

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

  ........
    r263456 | lmadsen | 2010-05-17 09:35:18 -0500 (Mon, 17 May 2010) | 11 lines

    Manager cookies are not compatible with RFC2109.

    The Version field in the cookies we're setting contain quotes around the version
    number which is not compatible with RFC2109 and breaks some implementations.

    (closes issue #17231)
    Reported by: ecarruda
    Patches:
          manager_rfc2109-trunk-v1.patch uploaded by ecarruda (license 559)
          manager_rfc2109-1.6.2-v1.patch uploaded by ecarruda (license 559)
    Tested by: ecarruda, russell
  ........
................

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

15 years agoMerged revisions 263375 via svnmerge from
Leif Madsen [Mon, 17 May 2010 14:11:48 +0000 (14:11 +0000)] 
Merged revisions 263375 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r263375 | lmadsen | 2010-05-17 09:05:33 -0500 (Mon, 17 May 2010) | 16 lines

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

  ........
    r263374 | lmadsen | 2010-05-17 09:04:57 -0500 (Mon, 17 May 2010) | 8 lines

    Update link to new version of core sounds.

    The latest version of the core sounds files 1.4.19 now includes the missing
    queue-minute sound file which is called by app_queue but which has been
    missing.

    (closes issue #17123)
    Reported by: n8ideas
  ........
................

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

15 years agobackport of DAHDI dynamic buffer policy dialstring option
David Vossel [Mon, 17 May 2010 13:03:51 +0000 (13:03 +0000)] 
backport of DAHDI dynamic buffer policy dialstring option

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

15 years agoMerged revisions 252488 via svnmerge from
Paul Belanger [Sat, 15 May 2010 23:41:19 +0000 (23:41 +0000)] 
Merged revisions 252488 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r252488 | tilghman | 2010-03-15 12:27:08 -0400 (Mon, 15 Mar 2010) | 9 lines

  Make the Makefile logic more explicit and move the Snow Leopard logic down to where it's not executed on non-Darwin systems.

  (closes issue #17028)
   Reported by: pabelanger
   Patches:
         issue17028_20100315.patch uploaded by seanbright (license 71)
         20100315__issue17028.diff.txt uploaded by tilghman (license 14)
   Tested by: tilghman, pabelanger
........

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

15 years agoMerged revisions 263069 via svnmerge from
Richard Mudgett [Thu, 13 May 2010 22:13:13 +0000 (22:13 +0000)] 
Merged revisions 263069 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r263069 | rmudgett | 2010-05-13 17:01:36 -0500 (Thu, 13 May 2010) | 1 line

  Fix inverted logic in cli command: ss7 set debug on/off
........

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

15 years agoMerged revisions 262897 via svnmerge from
Russell Bryant [Thu, 13 May 2010 15:36:41 +0000 (15:36 +0000)] 
Merged revisions 262897 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r262897 | russell | 2010-05-13 10:36:12 -0500 (Thu, 13 May 2010) | 4 lines

  Fix an off by one error that causes a crash.

  Thanks to Raymond Burke for pointing it out.
........

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

15 years agoMerged revisions 262800 via svnmerge from
Paul Belanger [Wed, 12 May 2010 20:01:39 +0000 (20:01 +0000)] 
Merged revisions 262800 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r262800 | pabelanger | 2010-05-12 15:59:16 -0400 (Wed, 12 May 2010) | 8 lines

  Notify CLI when modules is loaded / unloaded

  (closes issue #17308)
  Reported by: pabelanger
  Patches:
        cli.modules.patch uploaded by pabelanger (license 224)
  Tested by: pabelanger, russell
........

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

15 years agoMerged revisions 262798 via svnmerge from
Leif Madsen [Wed, 12 May 2010 19:53:36 +0000 (19:53 +0000)] 
Merged revisions 262798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r262798 | lmadsen | 2010-05-12 14:53:10 -0500 (Wed, 12 May 2010) | 7 lines

  Revert previous WARNING message removal.

  Marquis42 suggested a better method of doing what I wanted because I ended up
  removing the WARNING message for all instances when really I just wanted to
  remove it for the 'return' keyword, not everything.

  (issue #17145)
........

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

15 years agoMerged revisions 262796 via svnmerge from
Leif Madsen [Wed, 12 May 2010 19:32:05 +0000 (19:32 +0000)] 
Merged revisions 262796 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r262796 | lmadsen | 2010-05-12 14:31:42 -0500 (Wed, 12 May 2010) | 4 lines

  Remove unnecessary WARNING message in ael/pval.c

  (closes issue #17145)
  Reported by: okrief
........

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

15 years agoMerged revisions 262744 via svnmerge from
David Vossel [Wed, 12 May 2010 18:03:38 +0000 (18:03 +0000)] 
Merged revisions 262744 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r262744 | dvossel | 2010-05-12 13:01:20 -0500 (Wed, 12 May 2010) | 17 lines

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

  ........
    r262662 | dvossel | 2010-05-12 12:00:04 -0500 (Wed, 12 May 2010) | 11 lines

    fixes app_meetme dsp error

    We attempted to detect silence after translating a frame
    from signed linear.  This caused a flooding of errors.  To
    resolve this the code to detect silence was moved before the
    translation.

    (closes issue #17133)
    Reported by: jsdyer
  ........
................

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

15 years agoMerged revisions 262656 via svnmerge from
Tilghman Lesher [Wed, 12 May 2010 16:29:14 +0000 (16:29 +0000)] 
Merged revisions 262656 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r262656 | tilghman | 2010-05-12 11:23:26 -0500 (Wed, 12 May 2010) | 8 lines

  Ensure the arguments are initialized.  Also miscellaneous CG cleanup.

  (closes issue #16576)
   Reported by: uxbod
   Patches:
         20100505__issue16576.diff.txt uploaded by tilghman (license 14)
   Tested by: uxbod
........

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

15 years agoMerged revisions 262513 via svnmerge from
Tilghman Lesher [Tue, 11 May 2010 21:27:18 +0000 (21:27 +0000)] 
Merged revisions 262513 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r262513 | tilghman | 2010-05-11 16:25:05 -0500 (Tue, 11 May 2010) | 7 lines

  Move cause 200 to cause 26, as specified in Q.850.

  Also cleanup the formatting and add a few more that seem like good candidates.

  (closes issue #16157)
   Reported by: wimpy
........

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

15 years agoMerged revisions 262422 via svnmerge from
Jason Parker [Tue, 11 May 2010 19:58:31 +0000 (19:58 +0000)] 
Merged revisions 262422 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r262422 | qwell | 2010-05-11 14:57:24 -0500 (Tue, 11 May 2010) | 18 lines

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

  ........
    r262421 | qwell | 2010-05-11 14:55:42 -0500 (Tue, 11 May 2010) | 11 lines

    Use a less silly method for modifying a flex-generated file.

    The sed syntax that was used wasn't actually valid, causing some versions to
    choke.  This is the method that is used in 1.6.x+ for similar changes.

    (closes issue #16696)
    Reported by: bklang
    Patches:
          16696-sedfix.diff uploaded by qwell (license 4)
    Tested by: qwell
  ........
................

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

15 years agoMerged revisions 262419 via svnmerge from
Paul Belanger [Tue, 11 May 2010 19:41:43 +0000 (19:41 +0000)] 
Merged revisions 262419 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r262419 | pabelanger | 2010-05-11 15:40:37 -0400 (Tue, 11 May 2010) | 8 lines

  Improve logging by displaying line number

  (closes issue #16303)
  Reported by: dant
  Patches:
        issue16303.patch.v2 uploaded by pabelanger (license 224)
  Tested by: dant, lmadsen, pabelanger
........

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

15 years agoMerged revisions 262414 via svnmerge from
Paul Belanger [Tue, 11 May 2010 19:29:27 +0000 (19:29 +0000)] 
Merged revisions 262414 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r262414 | pabelanger | 2010-05-11 15:26:17 -0400 (Tue, 11 May 2010) | 8 lines

  Improve logging information for misconfigured contexts

  (closes issue #17238)
  Reported by: pprindeville
  Patches:
        chan_sip-bug17238.patch uploaded by pprindeville (license 347)
  Tested by: pprindeville
........

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

15 years agoMerged revisions 262330 via svnmerge from
Tilghman Lesher [Tue, 11 May 2010 17:25:28 +0000 (17:25 +0000)] 
Merged revisions 262330 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r262330 | tilghman | 2010-05-11 12:23:51 -0500 (Tue, 11 May 2010) | 9 lines

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

  ........
    r262321 | tilghman | 2010-05-11 12:22:07 -0500 (Tue, 11 May 2010) | 2 lines

    Fix issue #17302 a slightly different way (mad props to Qwell)
  ........
................

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

15 years agoBlocked revisions 262299 via svnmerge
Jason Parker [Tue, 11 May 2010 16:45:01 +0000 (16:45 +0000)] 
Blocked revisions 262299 via svnmerge

........
  r262299 | qwell | 2010-05-11 11:43:07 -0500 (Tue, 11 May 2010) | 12 lines

  Allow bootstrap script to work on Solaris.

  As usual, the way they do things is different, so we need to account for that.
  automake is versioned ala BSD/Linux, but autoconf is not.  We don't actually
  need to specify a version there, since AC_PREREQ will cover it for us.  Things
  will fail pretty loudly if AC_PREREQ isn't met.

  (closes issue #16341)
  Reported by: bklang
  Patches:
        opensolaris_bootstrap.sh uploaded by bklang (license 919)
........

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

15 years agoMerged revisions 262240 via svnmerge from
David Vossel [Mon, 10 May 2010 19:06:54 +0000 (19:06 +0000)] 
Merged revisions 262240 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r262240 | dvossel | 2010-05-10 14:06:08 -0500 (Mon, 10 May 2010) | 9 lines

  fixes PickupChan application

  (closes issue #16863)
  Reported by: schern
  Patches:
        app_directed_pickup.c.patch uploaded by schern (license 995)
        for_trunk.diff uploaded by cjacobsen (license 1029)
  Tested by: Graber, cjacobsen, lathama, rickead2000, dvossel
........

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

15 years agoMerged revisions 262236 via svnmerge from
David Vossel [Mon, 10 May 2010 18:42:10 +0000 (18:42 +0000)] 
Merged revisions 262236 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r262236 | dvossel | 2010-05-10 13:36:10 -0500 (Mon, 10 May 2010) | 11 lines

  fixes crash in chan_console

  There is a race condition between console_hangup()
  and start_stream().  It is possible for console_hangup()
  to be called and then the stream thread to begin after the hangup.
  To avoid this a check in start_stream() to make sure the pvt-owner
  still exists while the pvt lock is held is made.  If the owner
  is gone that means the channel hung up and start_stream should
  be aborted.
........

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

15 years agoMerged revisions 262152 via svnmerge from
Tilghman Lesher [Mon, 10 May 2010 16:39:03 +0000 (16:39 +0000)] 
Merged revisions 262152 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r262152 | tilghman | 2010-05-10 11:36:25 -0500 (Mon, 10 May 2010) | 17 lines

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

  ........
    r262151 | tilghman | 2010-05-10 11:34:21 -0500 (Mon, 10 May 2010) | 10 lines

    Allow compilation on Mac OS X 10.4 (Tiger)

    (closes issue #17297)
     Reported by: jcovert
     Patches:
           20100506__issue17297.diff.txt uploaded by tilghman (license 14)

    (closes issue #17302)
     Reported by: jcovert
  ........
................

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

15 years agoMerged revisions 262102 via svnmerge from
Tilghman Lesher [Sun, 9 May 2010 02:17:17 +0000 (02:17 +0000)] 
Merged revisions 262102 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r262102 | tilghman | 2010-05-08 21:14:04 -0500 (Sat, 08 May 2010) | 5 lines

  Cleanup a bit more by getting rid of useless version defines. Also make library detection use passed CFLAGS.

  (closes issue #17309)
   Reported by: stuarth
........

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

15 years agoMerged revisions 262048 via svnmerge from
Tilghman Lesher [Sat, 8 May 2010 02:41:48 +0000 (02:41 +0000)] 
Merged revisions 262048 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r262048 | tilghman | 2010-05-07 21:40:01 -0500 (Fri, 07 May 2010) | 2 lines

  Use CPPFLAGS to pass PTHREAD_CFLAGS for vpb only
........

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

15 years agoMerged revisions 261917 via svnmerge from
Tilghman Lesher [Fri, 7 May 2010 21:25:13 +0000 (21:25 +0000)] 
Merged revisions 261917 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r261917 | tilghman | 2010-05-07 15:54:35 -0500 (Fri, 07 May 2010) | 8 lines

  Double free crash

  (closes issue #17245)
   Reported by: thedavidfactor
   Patches:
         20100426__issue17245.diff.txt uploaded by tilghman (license 14)
   Tested by: murraytm
........

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

15 years agoMerged revisions 261913 via svnmerge from
Tilghman Lesher [Fri, 7 May 2010 20:44:51 +0000 (20:44 +0000)] 
Merged revisions 261913 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r261913 | tilghman | 2010-05-07 15:35:17 -0500 (Fri, 07 May 2010) | 14 lines

  Use the detected pthread building flags in every place, instead of hardcoding -lpthread.

  We nicely detect the right flags on each system for building Asterisk with
  pthreads, then ignore it for every other build option that requires us to
  build with pthreads.  This caused some items to return a false negative.
  Also cleanup some minor naming issues that caused "library library" redundancy
  in the output.

  (closes issue #17303)
   Reported by: stuarth
   Patches:
         20100507__issue17303.diff.txt uploaded by tilghman (license 14)
   Tested by: stuarth
........

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

15 years agoMerged revisions 261867 via svnmerge from
Leif Madsen [Fri, 7 May 2010 16:08:29 +0000 (16:08 +0000)] 
Merged revisions 261867 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r261867 | lmadsen | 2010-05-07 11:05:24 -0500 (Fri, 07 May 2010) | 6 lines

  Update UPGRADE-1.6.txt stating insecure=very has been removed.

  (closes issue #17282)
  Reported by: stuarth
  Tested by: stuarth
........

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

15 years agoMerged revisions 261736 via svnmerge from
Jeff Peeler [Thu, 6 May 2010 20:13:24 +0000 (20:13 +0000)] 
Merged revisions 261736 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r261736 | jpeeler | 2010-05-06 15:11:53 -0500 (Thu, 06 May 2010) | 15 lines

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

  ........
    r261735 | jpeeler | 2010-05-06 15:10:59 -0500 (Thu, 06 May 2010) | 8 lines

    Only allow the operator key to be accepted after leaving a voicemail.

    Or rather disallow the operator key from being accepted when not offered,
    such as after finishing a recording from within the mailbox options menu.

    ABE-2121
    SWP-1267
  ........
................

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

15 years agoMerged revisions 261609 via svnmerge from
Jason Parker [Thu, 6 May 2010 17:08:37 +0000 (17:08 +0000)] 
Merged revisions 261609 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r261609 | qwell | 2010-05-06 12:06:40 -0500 (Thu, 06 May 2010) | 11 lines

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

  ........
    r261608 | qwell | 2010-05-06 11:56:02 -0500 (Thu, 06 May 2010) | 4 lines

    Use the versioned MOH tarballs, now that we have them.

    This makes for more reproducibility.  Prompted by a discussion in #asterisk-dev
  ........
................

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

15 years agoMerged revisions 261560 via svnmerge from
Tilghman Lesher [Thu, 6 May 2010 15:43:03 +0000 (15:43 +0000)] 
Merged revisions 261560 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r261560 | tilghman | 2010-05-06 10:39:10 -0500 (Thu, 06 May 2010) | 8 lines

  Permit more lines within a SIP body to be parsed.

  The example given within the related issue showed 120 lines, which was mostly
  a result of the body being XML.

  (closes issue #17179)
   Reported by: khw
........

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

15 years agoAdd test case that ensures the heap handles arbitrary removals properly.
Russell Bryant [Thu, 6 May 2010 14:07:52 +0000 (14:07 +0000)] 
Add test case that ensures the heap handles arbitrary removals properly.

(issue #17277)
Reported by: cappucinoking
Patches:
      test_heap.diff uploaded by cappucinoking (license 1036)
Tested by: cappucinoking, russell

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

15 years agoMerged revisions 261496 via svnmerge from
Russell Bryant [Thu, 6 May 2010 14:04:36 +0000 (14:04 +0000)] 
Merged revisions 261496 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r261496 | russell | 2010-05-06 08:58:07 -0500 (Thu, 06 May 2010) | 40 lines

  Fix handling of removing nodes from the middle of a heap.

  This bug surfaced in 1.6.2 and does not affect code in any other released
  version of Asterisk.  It manifested itself as SIP qualify not happening when
  it should, causing peers to go unreachable.  This was debugged down to scheduler
  entries sometimes not getting executed when they were supposed to, which was in
  turn caused by an error in the heap code.

  The problem only sometimes occurs, and it is due to the logic for removing an entry
  in the heap from an arbitrary location (not just popping off the top).  The scheduler
  performs this operation frequently when entries are removed before they run (when
  ast_sched_del() is used).

  In a normal pop off of the top of the heap, a node is taken off the bottom,
  placed at the top, and then bubbled down until the max heap property is restored
  (see max_heapify()).  This same logic was used for removing an arbitrary node
  from the middle of the heap.  Unfortunately, that logic is full of fail.  This
  patch fixes that by fully restoring the max heap property when a node is thrown
  into the middle of the heap.  Instead of just pushing it down as appropriate, it
  first pushes it up as high as it will go, and _then_ pushes it down.

  Lastly, fix a minor problem in ast_heap_verify(), which is only used for
  debugging.  If a parent and child node have the same value, that is not an
  error.  The only error is if a parent's value is less than its children.

  A huge thanks goes out to cappucinoking for debugging this down to the scheduler,
  and then producing an ast_heap test case that demonstrated the breakage.  That
  made it very easy for me to focus on the heap logic and produce a fix.  Open source
  projects are awesome.

  (closes issue #16936)
  Reported by: ib2
  Tested by: cappucinoking, crjw

  (closes issue #17277)
  Reported by: cappucinoking
  Patches:
        heap-fix.rev2.diff uploaded by russell (license 2)
  Tested by: cappucinoking, russell
........

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

15 years agoMerged revisions 261451 via svnmerge from
Tzafrir Cohen [Thu, 6 May 2010 07:43:16 +0000 (07:43 +0000)] 
Merged revisions 261451 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r261451 | tzafrir | 2010-05-06 10:27:31 +0300 (ה', 06 מאי 2010) | 4 lines

  When failing to configure, don't destroy 'cfg' twice

  Fixes a crash when some config section had an incorrect channel config.
........

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

15 years agoMerged revisions 261314 via svnmerge from
Paul Belanger [Wed, 5 May 2010 19:08:42 +0000 (19:08 +0000)] 
Merged revisions 261314 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r261314 | pabelanger | 2010-05-05 14:43:03 -0400 (Wed, 05 May 2010) | 19 lines

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

  ........
    r261274 | pabelanger | 2010-05-05 12:42:22 -0400 (Wed, 05 May 2010) | 12 lines

    Registration fix for SIP realtime.

    Make sure realtime fields are not empty.

    (closes issue #17266)
    Reported by: Nick_Lewis
    Patches:
          chan_sip.c-realtime.patch uploaded by Nick Lewis (license 657)
    Tested by: Nick_Lewis, sberney

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

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

15 years agoMerged revisions 261232 via svnmerge from
Paul Belanger [Wed, 5 May 2010 15:59:38 +0000 (15:59 +0000)] 
Merged revisions 261232 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r261232 | pabelanger | 2010-05-05 11:42:07 -0400 (Wed, 05 May 2010) | 10 lines

  'queue reset stats' erroneously clears wrapuptime configuration.

  Resets each member's lastcall to 0 now.

  (closes issue #17262, #16519)
  Reported by: rain
  Patches:
        wrapuptime_reset_fix.diff uploaded by rain (license 327)
  Tested by: rain
........

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

15 years agoMerged revisions 261095 via svnmerge from
Tilghman Lesher [Tue, 4 May 2010 23:55:58 +0000 (23:55 +0000)] 
Merged revisions 261095 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r261095 | tilghman | 2010-05-04 18:51:52 -0500 (Tue, 04 May 2010) | 18 lines

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

  ........
    r261093 | tilghman | 2010-05-04 18:36:53 -0500 (Tue, 04 May 2010) | 7 lines

    Protect against overflow, when calculating how long to wait for a frame.

    (closes issue #17128)
     Reported by: under
     Patches:
           d.diff uploaded by under (license 914)
  ........
    r261094 | tilghman | 2010-05-04 18:47:08 -0500 (Tue, 04 May 2010) | 2 lines

    Add a tiny corner case to the previous commit
  ........
................

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

15 years agoMerged revisions 260924 via svnmerge from
Jeff Peeler [Tue, 4 May 2010 19:01:11 +0000 (19:01 +0000)] 
Merged revisions 260924 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r260924 | jpeeler | 2010-05-04 13:51:28 -0500 (Tue, 04 May 2010) | 18 lines

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

  ........
    r260923 | jpeeler | 2010-05-04 13:46:46 -0500 (Tue, 04 May 2010) | 12 lines

    Voicemail transfer to operator should occur immediately, not after main menu.

    There were two scenarios in the advanced options that while using the
    operator=yes and review=yes options, the transfer occurred only after exiting
    the main menu (after sending a reply or leaving a message for an extension).
    Now after the audio is processed for the reply or message the transfer occurs
    immediately as expected.

    ABE-2107
    ABE-2108
  ........
................

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

15 years agoMerged revisions 254450 via svnmerge from
Matthew Nicholson [Tue, 4 May 2010 16:58:56 +0000 (16:58 +0000)] 
Merged revisions 254450 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r254450 | kpfleming | 2010-03-25 10:27:31 -0500 (Thu, 25 Mar 2010) | 49 lines

  Improve handling of T.38 re-INVITEs that arrive before a T.38-capable
  application is executing on a channel.

  This patch addresses an issue found during working with end-users
  using res_fax. If an incoming call is answered in the dialplan, or
  jumps to the 'fax' extension due to reception of a CNG tone (with
  faxdetect enabled), and then the remote endpoint sends a T.38
  re-INVITE, it is possible for the channel's T.38 state to be
  'T38_STATE_NEGOTIATING' when the application starts up. Unfortunately,
  even if the application wants to use T.38, it can't respond to the
  peer's negotiation request, because the AST_CONTROL_T38_PARAMETERS
  control frame that chan_sip sent originally has been lost, and the
  application needs the content of that frame to be able to formulate a
  reply.

  This patch adds a new 'request' type to AST_CONTROL_T38_PARAMETERS,
  AST_T38_REQUEST_PARMS. If the application sends this request, chan_sip
  will re-send the original control frame (with
  AST_T38_REQUEST_NEGOTIATE as the request type), and the application
  can respond as normal. If this occurs within the five second timeout
  in chan_sip, the automatic cancellation of the peer reinvite will be
  stopped, and the application will 'own' the negotiation process from
  that point onwards.

  This also improves the code path in chan_sip to allow sip_indicate(),
  when called for AST_CONTROL_T38_PARAMETERS, to be able to return a
  non-zero response, which should have been in place before since the
  control frame *can* fail to be processed properly. It also modifies
  ast_indicate() to return whatever result the channel driver returned
  for this control frame, rather than converting all non-zero results
  into '-1'. Finally, the new request type intentionally returns a
  positive value, so that an application that sends
  AST_T38_REQUEST_PARMS can know for certain whether the channel driver
  accepted it and will be replying with a control frame of its own, or
  whether it was ignored (if the sip_indicate()/ast_indicate() path had
  properly supported failure responses before, this would not be
  necessary).

  This patch also modifies res_fax to take advantage of the new request.

  In addition, this patch makes sip_t38_abort() actually lock the
  private structure before doing its work... bad programmer, no donut.

  This patch also enhances chan_sip's 'faxdetect' support to allow
  triggering on T.38 re-INVITEs received as well as CNG tone detection.

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

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

15 years agoMerged revisions 260802 via svnmerge from
Jason Parker [Tue, 4 May 2010 15:51:27 +0000 (15:51 +0000)] 
Merged revisions 260802 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r260802 | qwell | 2010-05-04 10:49:57 -0500 (Tue, 04 May 2010) | 9 lines

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

  ........
    r260801 | qwell | 2010-05-04 10:49:27 -0500 (Tue, 04 May 2010) | 1 line

    Fix fallout from removing  from configure script.  Pointed out by philipp64 on #asterisk-dev
  ........
................

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

15 years agoFix merge props
Jason Parker [Mon, 3 May 2010 17:50:26 +0000 (17:50 +0000)] 
Fix merge props

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

15 years agoMerged revisions 260661-260662 via svnmerge from
Paul Belanger [Mon, 3 May 2010 17:42:36 +0000 (17:42 +0000)] 
Merged revisions 260661-260662 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r260661 | pabelanger | 2010-05-03 12:41:30 -0400 (Mon, 03 May 2010) | 10 lines

  non-root make install PREFIX=/tmp fails.
  Prepend libdir when executing mkpkgconfig allowing non-root installs to work.

  (closes issue #17268)
  Reported by: pabelanger
  Patches:
        issue17268.patch uploaded by pabelanger (license 224)
  Tested by: pabelanger
........
  r260662 | pabelanger | 2010-05-03 12:54:41 -0400 (Mon, 03 May 2010) | 3 lines

  Should have removed /usr/lib/ part. Thanks Qwell.
........

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

15 years agoMerged revisions 260570 via svnmerge from
Leif Madsen [Mon, 3 May 2010 14:59:05 +0000 (14:59 +0000)] 
Merged revisions 260570 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r260570 | lmadsen | 2010-05-03 09:58:23 -0500 (Mon, 03 May 2010) | 9 lines

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

  ........
    r260569 | lmadsen | 2010-05-03 09:57:39 -0500 (Mon, 03 May 2010) | 1 line

    Minor typo pointed out by pabelanger on IRC.
  ........
................

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

15 years agoMerged revisions 260437 via svnmerge from
Jeff Peeler [Fri, 30 Apr 2010 22:48:09 +0000 (22:48 +0000)] 
Merged revisions 260437 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r260437 | jpeeler | 2010-04-30 17:36:49 -0500 (Fri, 30 Apr 2010) | 18 lines

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

  ........
    r260434 | jpeeler | 2010-04-30 17:22:46 -0500 (Fri, 30 Apr 2010) | 11 lines

    Ensure channel state is not incorrectly set in the case of a very early answer.

    The needringing bit was being read in dahdi_read after answering thereby
    setting the state to ringing from up. This clears needringing upon answering
    so that is no longer possible.

    (closes issue #17067)
    Reported by: tzafrir
    Patches:
          needringing.diff uploaded by tzafrir (license 46)
  ........
................

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

15 years agoMerged revisions 260346 via svnmerge from
Mark Michelson [Fri, 30 Apr 2010 20:22:13 +0000 (20:22 +0000)] 
Merged revisions 260346 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r260346 | mmichelson | 2010-04-30 15:11:02 -0500 (Fri, 30 Apr 2010) | 24 lines

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

  ........
    r260345 | mmichelson | 2010-04-30 15:08:15 -0500 (Fri, 30 Apr 2010) | 18 lines

    Fix potential crash from race condition due to accessing channel data without the channel locked.

    In res_musiconhold.c, there are several places where a channel's
    stream's existence is checked prior to calling ast_closestream on it. The issue
    here is that in several cases, the channel was not locked while checking the
    stream. The result was that if two threads checked the state of the channel's
    stream at approximately the same time, then there could be a situation where
    both threads attempt to call ast_closestream on the channel's stream. The result
    here is that the refcount for the stream would go below 0, resulting in a crash.

    I have added proper channel locking to res_musiconhold.c to ensure that
    we do not try to check chan->stream without the channel locked. A Digium customer
    has been using this patch for several weeks and has not had any crashes since
    applying the patch.

    ABE-2147
  ........
................

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

15 years agoMerged revisions 260292 via svnmerge from
Tilghman Lesher [Fri, 30 Apr 2010 06:22:14 +0000 (06:22 +0000)] 
Merged revisions 260292 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r260292 | tilghman | 2010-04-30 01:19:35 -0500 (Fri, 30 Apr 2010) | 13 lines

  Don't allow file descriptors to go above 64k, when we're closing them in a fork(2).

  This saves time, when, even though the system allows the process limit to be
  that high, the practical limit is much lower.

  (closes issue #17223)
   Reported by: dbackeberg
   Patches:
         20100423__issue17223.diff.txt uploaded by tilghman (license 14)
   Tested by: dbackeberg
........

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

15 years agoMerged revisions 260280 via svnmerge from
Tilghman Lesher [Fri, 30 Apr 2010 05:25:06 +0000 (05:25 +0000)] 
Merged revisions 260280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r260280 | tilghman | 2010-04-30 00:23:56 -0500 (Fri, 30 Apr 2010) | 7 lines

  Logic fixups for a sample FREENUM dialplan context.

  (closes issue #17263)
   Reported by: pprindeville
   Patches:
         freenum-dialplan.patch#3 uploaded by pprindeville (license 347)
........

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

15 years agoMerged revisions 260231 via svnmerge from
Richard Mudgett [Thu, 29 Apr 2010 23:13:30 +0000 (23:13 +0000)] 
Merged revisions 260231 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r260231 | rmudgett | 2010-04-29 17:44:14 -0500 (Thu, 29 Apr 2010) | 33 lines

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

  ........
    r260195 | rmudgett | 2010-04-29 17:11:47 -0500 (Thu, 29 Apr 2010) | 26 lines

    DTMF CallerID detection problems.

    The code handling DTMF CallerID drops digits on long CallerID numbers and
    may timeout waiting for the first ring with shorter numbers.

    The DTMF emulation mode was not turned off when processing DTMF CallerID.
    When the emulation code gets behind in processing the DTMF digits it can
    skip a digit.

    For shorter numbers, the timeout may have been too short.  I increased it
    from 2 seconds to 4 seconds.  Four seconds is a typical time between rings
    for many countries.

    (closes issue #16460)
    Reported by: sum
    Patches:
          issue16460.patch uploaded by rmudgett (license 664)
          issue16460_v1.6.2.patch uploaded by rmudgett (license 664)
    Tested by: sum, rmudgett

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

    JIRA SWP-562
    JIRA AST-334
    JIRA SWP-901
  ........
................

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

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

........
  r260148 | tilghman | 2010-04-29 13:15:57 -0500 (Thu, 29 Apr 2010) | 2 lines

  Pattern match fail.
........

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

15 years agoMerged revisions 260050 via svnmerge from
David Vossel [Thu, 29 Apr 2010 15:35:38 +0000 (15:35 +0000)] 
Merged revisions 260050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r260050 | dvossel | 2010-04-29 10:33:27 -0500 (Thu, 29 Apr 2010) | 21 lines

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

  ........
    r260049 | dvossel | 2010-04-29 10:31:02 -0500 (Thu, 29 Apr 2010) | 14 lines

    Fixes crash in audiohook_write_list

    The middle_frame in the audiohook_write_list function was
    being freed if a audiohook manipulator returned a failure.
    This is incorrect logic.  This patch resolves this and
    adds detailed descriptions of how this function should work
    and why manipulator failures must be ignored.

    (closes issue #17052)
    Reported by: dvossel
    Tested by: dvossel

    (closes issue #16196)
    Reported by: atis

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

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

15 years agoMerged revisions 259957 via svnmerge from
Mark Michelson [Wed, 28 Apr 2010 22:36:28 +0000 (22:36 +0000)] 
Merged revisions 259957 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r259957 | mmichelson | 2010-04-28 17:34:15 -0500 (Wed, 28 Apr 2010) | 11 lines

  Don't override peer context with domain context.

  (closes issue #17040)
  Reported by: pprindeville
  Patches:
        asterisk-1.6-bugid17040.patch uploaded by pprindeville (license 347)
  Tested by: pprindeville

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

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

15 years agoMerged revisions 259870 via svnmerge from
David Vossel [Wed, 28 Apr 2010 21:26:30 +0000 (21:26 +0000)] 
Merged revisions 259870 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r259870 | dvossel | 2010-04-28 16:20:03 -0500 (Wed, 28 Apr 2010) | 39 lines

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

  ........
    r259858 | dvossel | 2010-04-28 16:16:03 -0500 (Wed, 28 Apr 2010) | 33 lines

    resolves deadlocks in chan_local

    Issue_1.
    In the local_hangup() 3 locks must be held at the same time... pvt, pvt->chan,
    and pvt->owner.  Proper deadlock avoidance is done when the channel to hangup
    is the outbound chan_local channel, but when it is not the outbound channel we
    have an issue... We attempt to do deadlock avoidance only on the tech pvt, when
    both the tech pvt and the pvt->owner are locked coming into that loop.  By
    never giving up the pvt->owner channel deadlock avoidance is not entirely possible.
    This patch resolves that by doing deadlock avoidance on both the pvt->owner and the pvt
    when trying to get the pvt->chan lock.

    Issue_2.
    ast_prod() is used in ast_activate_generator() to queue a frame on the channel
    and make the channel's read function get called.  This function is used in
    ast_activate_generator() while the channel is locked, which mean's the channel
    will have a lock both from the generator code and the frame_queue code by the
    time it gets to chan_local.c's local_queue_frame code... local_queue_frame
    contains some of the same crazy deadlock avoidance that local_hangup requires,
    and this recursive lock prevents that deadlock avoidance from happening correctly.
    This patch removes ast_prod() from the channel lock so only one lock is held during
    the local_queue_frame function.

    (closes issue #17185)
    Reported by: schmoozecom
    Patches:
          issue_17185_v1.diff uploaded by dvossel (license 671)
          issue_17185_v2.diff uploaded by dvossel (license 671)
    Tested by: schmoozecom, GameGamer43

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

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

15 years agoMerged revisions 259853 via svnmerge from
Leif Madsen [Wed, 28 Apr 2010 21:09:06 +0000 (21:09 +0000)] 
Merged revisions 259853 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r259853 | lmadsen | 2010-04-28 16:08:34 -0500 (Wed, 28 Apr 2010) | 14 lines

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

  ........
    r259852 | lmadsen | 2010-04-28 16:07:48 -0500 (Wed, 28 Apr 2010) | 6 lines

    Update config.guess.

    Updating config.guess because after installing Ubuntu Server 9.10 and
    running all the update scripts, running ./configure would not continue
    because it was unable to determine what kind of system I had. After
    updating config.guess things started working again.
  ........
................

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

15 years agoMerged revisions 259848 via svnmerge from
Jason Parker [Wed, 28 Apr 2010 20:34:07 +0000 (20:34 +0000)] 
Merged revisions 259848 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r259848 | qwell | 2010-04-28 15:32:14 -0500 (Wed, 28 Apr 2010) | 9 lines

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

  ........
    r259847 | qwell | 2010-04-28 15:30:21 -0500 (Wed, 28 Apr 2010) | 1 line

    Add AC_CONFIG_AUX_DIR to configure script, so systems without install can use install-sh from our source dir.
  ........
................

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

15 years agoMerged revisions 259837 via svnmerge from
Jason Parker [Wed, 28 Apr 2010 20:27:58 +0000 (20:27 +0000)] 
Merged revisions 259837 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r259837 | qwell | 2010-04-28 15:26:35 -0500 (Wed, 28 Apr 2010) | 9 lines

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

  ........
    r259833 | qwell | 2010-04-28 15:25:36 -0500 (Wed, 28 Apr 2010) | 1 line

    Missed this when removing $ID
  ........
................

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

15 years agoMerged revisions 259760 via svnmerge from
Jason Parker [Wed, 28 Apr 2010 19:23:50 +0000 (19:23 +0000)] 
Merged revisions 259760 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r259760 | qwell | 2010-04-28 14:19:54 -0500 (Wed, 28 Apr 2010) | 14 lines

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

  ........
    r259748 | qwell | 2010-04-28 14:17:38 -0500 (Wed, 28 Apr 2010) | 7 lines

    Remove usage of `id` since it isn't useful and was causing breakge.

    Solaris `id` doesn't support the -u argument.  Instead of figuring out how to
    fix this to work on Solaris, I decided to check why it was necessary and where
    else it was used.  It was only used in one place, and it hasn't been needed
    for a very long time (I question whether it was ever needed).
  ........
................

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

15 years agoMerged revisions 259672 via svnmerge from
Jeff Peeler [Wed, 28 Apr 2010 17:19:56 +0000 (17:19 +0000)] 
Merged revisions 259672 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r259672 | jpeeler | 2010-04-28 12:18:43 -0500 (Wed, 28 Apr 2010) | 11 lines

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

  ........
    r259664 | jpeeler | 2010-04-28 12:13:29 -0500 (Wed, 28 Apr 2010) | 4 lines

    Do not play goodbye prompt after timeout of message review.

    ABE-2124
  ........
................

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

15 years agoMerged revisions 259538 via svnmerge from
Richard Mudgett [Tue, 27 Apr 2010 22:46:44 +0000 (22:46 +0000)] 
Merged revisions 259538 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r259538 | rmudgett | 2010-04-27 17:18:09 -0500 (Tue, 27 Apr 2010) | 18 lines

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

  ........
    r259531 | rmudgett | 2010-04-27 16:53:07 -0500 (Tue, 27 Apr 2010) | 11 lines

    DAHDI "WARNING" message is confusing and vague

    "WARNING[28406]: chan_dahdi.c:6873 ss_thread: CallerID feed failed: Success"

    Changed the warning to "Failed to decode CallerID on channel 'name'".  The
    message before it is likely more specific about why the CallerID decode
    failed.

    SWP-501
    AST-283
  ........
................

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

15 years agoMerged revisions 259527 via svnmerge from
Leif Madsen [Tue, 27 Apr 2010 21:50:13 +0000 (21:50 +0000)] 
Merged revisions 259527 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r259527 | lmadsen | 2010-04-27 16:49:36 -0500 (Tue, 27 Apr 2010) | 23 lines

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

  ........
    r259526 | lmadsen | 2010-04-27 16:48:47 -0500 (Tue, 27 Apr 2010) | 15 lines

    Update sounds files.

    * Add additional sounds prompts for say_enumeration
    * Update the English conference sounds prompts so they are better
      quality and all sound more consistent
    * Clean up the core-sounds-XX.txt and extra-sounds-XX.txt files to
      include all present sound files

    Both core (en, fr, es) and extra (en, fr) sounds files have been updated.

    (closes issue #16200)
    Reported by: murf

    (closes issue #17137)
    Reported by: lmadsen
  ........
................

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

15 years agoMerged revisions 259439 via svnmerge from
Jason Parker [Tue, 27 Apr 2010 21:25:35 +0000 (21:25 +0000)] 
Merged revisions 259439 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r259439 | qwell | 2010-04-27 16:13:01 -0500 (Tue, 27 Apr 2010) | 5 lines

  Add gar to the check for AR for those silly OSes (Solaris) that don't have ar.

  autoconf2.13 couldn't handle AC_PROG_GREP, so I removed it.  This is fine,
  since we don't need to use anything that the configure script doesn't.
........

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

15 years agoUnblock revision 259439.
Jason Parker [Tue, 27 Apr 2010 21:24:37 +0000 (21:24 +0000)] 
Unblock revision 259439.

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

15 years agoBlocked revisions 259439 via svnmerge
Jason Parker [Tue, 27 Apr 2010 21:15:32 +0000 (21:15 +0000)] 
Blocked revisions 259439 via svnmerge

........
  r259439 | qwell | 2010-04-27 16:13:01 -0500 (Tue, 27 Apr 2010) | 5 lines

  Add gar to the check for AR for those silly OSes (Solaris) that don't have ar.

  autoconf2.13 couldn't handle AC_PROG_GREP, so I removed it.  This is fine,
  since we don't need to use anything that the configure script doesn't.
........

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

15 years agoMerged revisions 259353 via svnmerge from
Jason Parker [Tue, 27 Apr 2010 19:35:52 +0000 (19:35 +0000)] 
Merged revisions 259353 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r259353 | qwell | 2010-04-27 14:31:55 -0500 (Tue, 27 Apr 2010) | 12 lines

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

  ........
    r259352 | qwell | 2010-04-27 14:29:26 -0500 (Tue, 27 Apr 2010) | 5 lines

    Support the silly OSes that don't have ar and strip.

    Since AC_PATH_TOOL is equiv to AC_CHECK_TOOL when path isn't specified, and
    AC_PATH_TOOLS doesn't exist, we'll just switch to AC_CHECK_TOOLS.
  ........
................

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

15 years agoMerged revisions 259307 via svnmerge from
Richard Mudgett [Tue, 27 Apr 2010 19:03:04 +0000 (19:03 +0000)] 
Merged revisions 259307 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r259307 | rmudgett | 2010-04-27 13:29:33 -0500 (Tue, 27 Apr 2010) | 21 lines

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

  ........
    r259270 | rmudgett | 2010-04-27 13:14:54 -0500 (Tue, 27 Apr 2010) | 14 lines

    hidecalleridname parameter in chan_dahdi.conf

    Issue #7321 implements a new chan_dahdi configuration option.  However, a
    change mentioned in the issue was never implemented.  This is the change
    that will allow the feature to work.

    I added a note to chan_dahdi.conf.sample about the feature.

    (closes issue #17143)
    Reported by: djensen99
    Patches:
          diff.txt uploaded by djensen99 (license NA) (One line change)
    Tested by: djensen99
  ........
................

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

15 years agoMerged revisions 259105 via svnmerge from
Mark Michelson [Mon, 26 Apr 2010 21:48:30 +0000 (21:48 +0000)] 
Merged revisions 259105 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r259105 | mmichelson | 2010-04-26 16:45:13 -0500 (Mon, 26 Apr 2010) | 9 lines

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

  ........
    r259104 | mmichelson | 2010-04-26 16:44:43 -0500 (Mon, 26 Apr 2010) | 3 lines

    Let compilation succeed warning-free when DONT_OPTIMIZE is turned off.
  ........
................

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

15 years agoMerged revisions 259023 via svnmerge from
Mark Michelson [Mon, 26 Apr 2010 21:35:12 +0000 (21:35 +0000)] 
Merged revisions 259023 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r259023 | mmichelson | 2010-04-26 16:13:35 -0500 (Mon, 26 Apr 2010) | 19 lines

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

  ........
    r259018 | mmichelson | 2010-04-26 16:03:08 -0500 (Mon, 26 Apr 2010) | 13 lines

    Prevent Newchannel manager events for dummy channels.

    No Newchannel manager event will be fired for channels that are
    allocated to not match a registered technology type. Thus bogus
    channels allocated solely for variable substitution or CDR
    operations do not result in a Newchannel event.

    (closes issue #16957)
    Reported by: atis

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

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

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

........
  r258934 | lmadsen | 2010-04-26 10:59:34 -0500 (Mon, 26 Apr 2010) | 7 lines

  Small error in the T.140 RTP port verbose log.

  (closes issue #16988)
  Reported by: frawd
  Patches:
        chan_sip_sdp_verbose_fix.diff uploaded by frawd (license 610)
  Tested by: russell
........

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

15 years agoBlocked revisions 258595 via svnmerge
Eliel C. Sardanons [Mon, 26 Apr 2010 13:24:37 +0000 (13:24 +0000)] 
Blocked revisions 258595 via svnmerge

........
  r258595 | eliel | 2010-04-22 16:04:23 -0400 (Thu, 22 Apr 2010) | 3 lines

  Pass interactive = 0 and fix a compile error.
........

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

15 years agoBlocked revisions 258517 via svnmerge
Eliel C. Sardanons [Mon, 26 Apr 2010 13:21:14 +0000 (13:21 +0000)] 
Blocked revisions 258517 via svnmerge

........
  r258517 | eliel | 2010-04-22 14:07:02 -0400 (Thu, 22 Apr 2010) | 14 lines

  Asterisk data retrieval API.

  This module implements an abstraction for retrieving and exporting
  asterisk data.
  Developed by:
   Brett Bryant <brettbryant@gmail.com>
   Eliel C. Sardanons (LU1ALY) <eliels@gmail.com>
  For the Google Summer of code 2009 Project.
  Documentation can be found in doxygen format and inside the
  header include/asterisk/data.h

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

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

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

................
  r258776 | tilghman | 2010-04-25 13:12:14 -0500 (Sun, 25 Apr 2010) | 13 lines

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

  ........
    r258775 | tilghman | 2010-04-25 13:09:05 -0500 (Sun, 25 Apr 2010) | 6 lines

    When StopMonitor is called, ensure that it will not be restarted by a channel event.
    (closes issue #16590)
     Reported by: kkm
     Patches:
           resmonitor-16590-trunk.239289.diff uploaded by kkm (license 888)
  ........
................

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

15 years agoMerged revisions 258671,258675 via svnmerge from
Matthew Nicholson [Thu, 22 Apr 2010 22:15:55 +0000 (22:15 +0000)] 
Merged revisions 258671,258675 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r258671 | mnicholson | 2010-04-22 16:57:59 -0500 (Thu, 22 Apr 2010) | 32 lines

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

  ........
    r193391 | mnicholson | 2009-05-08 16:01:25 -0500 (Fri, 08 May 2009) | 8 lines

    Set the proper disposition on originated calls.

    (closes issue #14167)
    Reported by: jpt
    Patches:
          call-file-missing-cdr2.diff uploaded by mnicholson (license 96)
    Tested by: dlotina, rmartinez, mnicholson
  ........
    r258670 | mnicholson | 2010-04-22 16:49:07 -0500 (Thu, 22 Apr 2010) | 11 lines

    Fix broken CDR behavior.

    This change allows a CDR record previously marked with disposition ANSWERED to be set as BUSY or NO ANSWER.

    Additionally this change partially reverts r235635 and does not set the AST_CDR_FLAG_ORIGINATED flag on CDRs generated from ast_call().  To preserve proper CDR behavior, the AST_CDR_FLAG_DIALED flag is now cleared from all brige CDRs in ast_bridge_call().

    (closes issue #16797)
    Reported by: VarnishedOtter
    Tested by: mnicholson
  ........

  (closes issue #16222)
  Reported by: telles
  Tested by: mnicholson
................
  r258675 | mnicholson | 2010-04-22 17:11:23 -0500 (Thu, 22 Apr 2010) | 2 lines

  Fix previous commit.
................

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

15 years agoMerged revisions 258632 via svnmerge from
Russell Bryant [Thu, 22 Apr 2010 21:58:06 +0000 (21:58 +0000)] 
Merged revisions 258632 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

For 1.6.2, only merge the bug fixes, not the unit test.

........
  r258632 | russell | 2010-04-22 16:06:53 -0500 (Thu, 22 Apr 2010) | 22 lines

  Add ast_event subscription unit test and fix some ast_event API bugs.

  This patch introduces another test in test_event.c that exercises most of the
  subscription related ast_event API calls.  I made some minor additions to the
  existing event allocation test to increase API coverage by the test code.
  Finally, I made a list in a comment of API calls not yet touched by the test
  module as a to-do list for future test development.

  During the development of this test code, I discovered a number of bugs in
  the event API.

  1) subscriptions to AST_EVENT_ALL were not handled appropriately in a couple
     of different places.  The API allows a subscription to all event types,
     but with IE parameters, just as if it was a subscription to a specific
     event type.  However, the parameters were being ignored.  This affected
     ast_event_check_subscriber() and event distribution to subscribers.

  2) Some of the logic in ast_event_check_subscriber() for checking subscriptions
     against query parameters was wrong.

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

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

15 years agoMerged revisions 258515 via svnmerge from
Russell Bryant [Thu, 22 Apr 2010 17:38:08 +0000 (17:38 +0000)] 
Merged revisions 258515 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r258515 | russell | 2010-04-22 12:36:34 -0500 (Thu, 22 Apr 2010) | 2 lines

  Add MEETMEBOOKID from r256019.
........

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

15 years agoMerged revisions 258433 via svnmerge from
Jeff Peeler [Wed, 21 Apr 2010 22:11:47 +0000 (22:11 +0000)] 
Merged revisions 258433 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r258433 | jpeeler | 2010-04-21 16:56:09 -0500 (Wed, 21 Apr 2010) | 15 lines

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

  ........
    r258432 | jpeeler | 2010-04-21 16:45:36 -0500 (Wed, 21 Apr 2010) | 8 lines

    Fix looping forever when no input received in certain voicemail menu scenarios.

    Specifically, prompting for an extension (when leaving or forwarding a message)
    or when prompting for a digit (when saving a message or changing folders).

    ABE-2122
    SWP-1268
  ........
................

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

15 years agoRemove missed line in previous merge.
Leif Madsen [Wed, 21 Apr 2010 19:44:20 +0000 (19:44 +0000)] 
Remove missed line in previous merge.

(issue #17220)

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

15 years agoForgot to merge the updated configure script.
Leif Madsen [Wed, 21 Apr 2010 19:31:49 +0000 (19:31 +0000)] 
Forgot to merge the updated configure script.

(issue #17220)

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

15 years agoMerged revisions 258351 via svnmerge from
Leif Madsen [Wed, 21 Apr 2010 19:30:18 +0000 (19:30 +0000)] 
Merged revisions 258351 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r258351 | lmadsen | 2010-04-21 14:18:35 -0500 (Wed, 21 Apr 2010) | 20 lines

  Add ability to generate ASCII documentation from the TeX files.

  These changes add the ability to run 'make asterisk.txt' just like the existing
  'make asterisk.pdf' commands to generate a text document from the TeX files we
  have in the doc/tex/ directory. I've also updated a few of the .tex files because
  they weren't properly escaping certain characters so they would show up as Unicode
  characters (like [U+021C]). Made changes to the configure scripts so it would
  detect the catdvi program which is required to convert the .dvi file generated
  by latex.

  I've also added a few lines to the build_tools/prep_tarball script so that the
  text documentation gets generated and added to future tarballs of Asterisk
  releases.

  (closes issue #17220)
  Reported by: lmadsen
  Patches:
        asterisk.txt.patch uploaded by lmadsen (license 10)
        asterisk.txt.patch-v4 uploaded by pabelanger (license 224)
  Tested by: lmadsen, pabelanger
........

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

15 years agoMerged revisions 258305 via svnmerge from
David Vossel [Wed, 21 Apr 2010 18:19:09 +0000 (18:19 +0000)] 
Merged revisions 258305 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r258305 | dvossel | 2010-04-21 13:13:36 -0500 (Wed, 21 Apr 2010) | 12 lines

  fixes issue with double "sip:" in header field

  This is a clear mistake in logic.  Future discussions
  about how to avoid having to handle uri's like this
  should take place in the future, but this fix needs
  to go in for now.

  (closes issue #15847)
  Reported by: ebroad
  Patches:
        doublesip.patch uploaded by ebroad (license 878)
........

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

15 years agoMerged revisions 258149 via svnmerge from
Leif Madsen [Tue, 20 Apr 2010 19:03:17 +0000 (19:03 +0000)] 
Merged revisions 258149 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r258149 | lmadsen | 2010-04-20 14:02:49 -0500 (Tue, 20 Apr 2010) | 1 line

  Add 'soft hangup' alias per Steve Johnson on asterisk-users.
........

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

15 years agoMerged revisions 258147 via svnmerge from
Leif Madsen [Tue, 20 Apr 2010 18:39:11 +0000 (18:39 +0000)] 
Merged revisions 258147 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r258147 | lmadsen | 2010-04-20 13:38:39 -0500 (Tue, 20 Apr 2010) | 8 lines

  Add example dialplan for dialing ISN numbers (http://www.freenum.org).
  Minor tweaks and documentation added by me.

  (closes issue #17058)
  Reported by: pprindeville
  Patches:
        freenum.patch#5 uploaded by pprindeville (license 347)
  Tested by: lmadsen
........

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

15 years agoMerged revisions 258065 via svnmerge from
Jeff Peeler [Tue, 20 Apr 2010 18:04:27 +0000 (18:04 +0000)] 
Merged revisions 258065 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r258065 | jpeeler | 2010-04-20 12:06:19 -0500 (Tue, 20 Apr 2010) | 17 lines

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

  ........
    r258029 | jpeeler | 2010-04-20 11:16:33 -0500 (Tue, 20 Apr 2010) | 11 lines

    Play correct prompt when voicemail store failure occurs after attempted forward.

    If a user's mailbox was full and a message was attempted to be forwarded to
    said box, warnings on the console would indicate failure. However, the played
    prompt was that of success (vm-msgsaved). Now storage failure is taken into
    account and the correct prompt (vm-mailboxfull) is played when appropriate.

    ABE-2123
    SWP-1262
  ........
................

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

15 years agoMerged revisions 258106 via svnmerge from
Leif Madsen [Tue, 20 Apr 2010 18:02:01 +0000 (18:02 +0000)] 
Merged revisions 258106 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r258106 | lmadsen | 2010-04-20 13:01:28 -0500 (Tue, 20 Apr 2010) | 7 lines

  Add missing 'useragent' field to sip-friends.sql file.

  (closes issue #17171)
  Reported by: thehar
  Patches:
        sip-friends.patch uploaded by thehar (license 831)
  Tested by: pabelanger, thehar
........

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

15 years agoMerged revisions 257949 via svnmerge from
Jason Parker [Mon, 19 Apr 2010 21:58:23 +0000 (21:58 +0000)] 
Merged revisions 257949 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r257949 | qwell | 2010-04-19 16:57:56 -0500 (Mon, 19 Apr 2010) | 1 line

  Change log message to match severity.
........

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

15 years agoMerged revisions 257947 via svnmerge from
Jason Parker [Mon, 19 Apr 2010 21:50:14 +0000 (21:50 +0000)] 
Merged revisions 257947 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r257947 | qwell | 2010-04-19 16:49:30 -0500 (Mon, 19 Apr 2010) | 6 lines

  Don't consider a missing indications.conf to be a critical error.

  There were many changes in revision 176627 which would avoid the error that a
  missing config would have caused.  Other than this, there are no other config
  files (including asterisk.conf, surprisingly) that are required.
........

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

15 years agoMerged revisions 257810 via svnmerge from
Terry Wilson [Mon, 19 Apr 2010 18:30:20 +0000 (18:30 +0000)] 
Merged revisions 257810 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r257810 | twilson | 2010-04-19 12:57:41 -0500 (Mon, 19 Apr 2010) | 5 lines

  Fix incomplete CDR merge from r195881

  Because res/res_features.c was removed and main/cdr.c added, these changes
  didn't make it to trunk and the 1.6.x branches
........

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

15 years agoMerged revisions 257768 via svnmerge from
Tilghman Lesher [Sun, 18 Apr 2010 17:28:15 +0000 (17:28 +0000)] 
Merged revisions 257768 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r257768 | tilghman | 2010-04-18 12:25:53 -0500 (Sun, 18 Apr 2010) | 2 lines

  Removing unused configuration parameters
........

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

15 years agoMerged revisions 257713 via svnmerge from
Dwayne M. Hubbard [Fri, 16 Apr 2010 21:47:01 +0000 (21:47 +0000)] 
Merged revisions 257713 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r257713 | dhubbard | 2010-04-16 16:22:30 -0500 (Fri, 16 Apr 2010) | 28 lines

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

  ........
    r257686 | dhubbard | 2010-04-16 16:15:43 -0500 (Fri, 16 Apr 2010) | 21 lines

    Make the mixmonitor thread process audio frames faster

    Mantis issue 17078 reports MixMonitor recordings have shorter durations than
    the call duration.  This was because the mixmonitor thread was not processing
    frames from the audiohook fast enough.  The mixmonitor thread would slowly fall
    behind the most recent audio frame and when the channel hangs up, the mixmonitor
    thread would exit without processing the same number of frames as the channel;
    leaving the mixmonitor recording shorter than actual call duration.

    This revision fixes this issue by moving the ast_audiohook_trigger_wait() and
    the subsequent audiohook.status check into the block where the
    ast_audiohook_read_frame() function returns NULL.

    (closes issue #17078)
    Reported by: geoff2010
    Patches:
          dw-M17078.patch uploaded by dhubbard (license 733)
    Tested by: dhubbard, geoff2010

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

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

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

................
  r257560 | tilghman | 2010-04-15 16:26:19 -0500 (Thu, 15 Apr 2010) | 13 lines

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

  ........
    r257544 | tilghman | 2010-04-15 16:23:24 -0500 (Thu, 15 Apr 2010) | 6 lines

    Allow application options with arguments to contain parentheses, through a variety of escaping techniques.

    Fixes SWP-1194 (ABE-2143).

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

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

15 years agoMerged revisions 257493 via svnmerge from
Tilghman Lesher [Thu, 15 Apr 2010 20:34:44 +0000 (20:34 +0000)] 
Merged revisions 257493 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r257493 | tilghman | 2010-04-15 15:30:15 -0500 (Thu, 15 Apr 2010) | 20 lines

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

  ........
    r257467 | tilghman | 2010-04-15 15:24:50 -0500 (Thu, 15 Apr 2010) | 13 lines

    Don't recreate peer, when responding to a repeated deregistration attempt.

    When a reply to a deregistration is lost in transmit, the client retries the
    deregistration.  Previously, this would cause a realtime/autocreate peer to be
    loaded back into memory, after it had already been correctly purged.  Instead,
    we just want to resend the reply without loading the peer.

    (closes issue #16908)
     Reported by: kkm
     Patches:
           20100412__issue16908.diff.txt uploaded by tilghman (license 14)
     Tested by: kkm
  ........
................

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

15 years agoMerged revisions 257427 via svnmerge from
Leif Madsen [Thu, 15 Apr 2010 19:42:55 +0000 (19:42 +0000)] 
Merged revisions 257427 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r257427 | lmadsen | 2010-04-15 14:41:05 -0500 (Thu, 15 Apr 2010) | 21 lines

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

  ........
    r257426 | lmadsen | 2010-04-15 14:40:33 -0500 (Thu, 15 Apr 2010) | 13 lines

    Update backtrace.txt documentation.

    Update the backtrace.txt documentation so it conforms to the same layout as
    other documents we've been working on recently. Additionally, add a bunch of
    new information about gathering backtraces for crashes and deadlocks, along
    with ways of verifying your file before uploading it. Create a couple of one
    line commands for people to generate the files we need.

    (closes issue #17190)
    Reported by: lmadsen
    Patches:
          backtrace.txt.patch-2 uploaded by lmadsen (license 10)
    Tested by: lmadsen, pabelanger
  ........
................

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

15 years agoMerged revisions 257343 via svnmerge from
Leif Madsen [Thu, 15 Apr 2010 13:45:31 +0000 (13:45 +0000)] 
Merged revisions 257343 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r257343 | lmadsen | 2010-04-15 08:44:38 -0500 (Thu, 15 Apr 2010) | 9 lines

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

  ........
    r257342 | lmadsen | 2010-04-15 08:41:45 -0500 (Thu, 15 Apr 2010) | 1 line

    Update address of the bug tracker.
  ........
................

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

15 years agoMerged revisions 257262 via svnmerge from
Tilghman Lesher [Wed, 14 Apr 2010 23:00:22 +0000 (23:00 +0000)] 
Merged revisions 257262 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r257262 | tilghman | 2010-04-14 17:57:35 -0500 (Wed, 14 Apr 2010) | 15 lines

  Yet another issue where the conversion of the application delimiter to comma caused an issue.

  Application arguments within the feature map could possibly contain a comma,
  which conflicts with the syntax of the features.conf configuration file.  This
  patch allows the argument to be wrapped in parentheses or quoted, to allow the
  application arguments to be interpreted as a single configuration parameter.

  (closes issue #16646)
   Reported by: pinga-fogo
   Patches:
         20100414__issue16646.diff.txt uploaded by tilghman (license 14)
   Tested by: tilghman

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

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

15 years agoMerged revisions 257191 via svnmerge from
Tilghman Lesher [Tue, 13 Apr 2010 19:20:58 +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.2@257210 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 257146 via svnmerge from
Matthew Nicholson [Tue, 13 Apr 2010 18:43:13 +0000 (18:43 +0000)] 
Merged revisions 257146 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r257146 | mnicholson | 2010-04-13 13:10:30 -0500 (Tue, 13 Apr 2010) | 16 lines

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

  ........
    r257070 | mnicholson | 2010-04-13 11:46:30 -0500 (Tue, 13 Apr 2010) | 9 lines

    Add an option to restore past broken behavor of the Events manager action

    Before r238915, certain values for the EventMask parameter of the Events action would result in no response being returned.  This patch adds an option to restore that broken behavior.  Also while fixing this bug I discovered that passing an empty EventMasks parameter would also result in no response being returned, this has been fixed as well while being preserved when the broken behavior is requested.

    (closes issue #17023)
    Reported by: nblasgen

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

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

15 years agoMerged revisions 257065 via svnmerge from
Tilghman Lesher [Tue, 13 Apr 2010 16:38:41 +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.2@257068 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoMerged revisions 256901 via svnmerge from
Leif Madsen [Mon, 12 Apr 2010 17:30:32 +0000 (17:30 +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.2@256902 65c4cc65-6c06-0410-ace0-fbb531ad65f3

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

........
  r256860 | lmadsen | 2010-04-12 11:16:43 -0500 (Mon, 12 Apr 2010) | 3 lines

  Remove silly debug message that is not useful.

  (issue #17159)
........

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

15 years agoMerged revisions 256821 via svnmerge from
Leif Madsen [Mon, 12 Apr 2010 14:40:20 +0000 (14:40 +0000)] 
Merged revisions 256821 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r256821 | lmadsen | 2010-04-12 09:39:37 -0500 (Mon, 12 Apr 2010) | 8 lines

  CLI command logger set level auto complete.

  A simple patch to enable auto tab complete.

  (closes issue #17152)
  Reported by: pabelanger
  Patches:
        0017152.patch uploaded by pabelanger (license 224)
........

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

15 years agoBackport /proc/%d/fd method of closing file descriptors to 1.6.2.
Tilghman Lesher [Thu, 8 Apr 2010 22:03:00 +0000 (22:03 +0000)] 
Backport /proc/%d/fd method of closing file descriptors to 1.6.2.

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

15 years agoMerged revisions 256370 via svnmerge from
Tilghman Lesher [Tue, 6 Apr 2010 19:40:22 +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.2@256373 65c4cc65-6c06-0410-ace0-fbb531ad65f3

15 years agoCallerID channel DAHDI port FXS are empty after the first call.
Richard Mudgett [Tue, 6 Apr 2010 18:53:32 +0000 (18:53 +0000)] 
CallerID channel DAHDI port FXS are empty after the first call.

The bug is exposed if MFC/R2 support is built into asterisk (i.e.,
openr2.h is present in the include path).  Code that unconditionally
clears the CallerID name and number is included.

Also fixed a malformed if test in mkintf() added by issue 15883.
Converted the if statement to a switch statement for clarity.

Regression of the issue 15883 fix.

(closes issue #16968)
Reported by: grecco
Patches:
      issue16968.patch uploaded by rmudgett (license 664)

(closes issue #16747)
Reported by: viniciusfontes

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

15 years agoMerged revisions 256265 via svnmerge from
Richard Mudgett [Tue, 6 Apr 2010 01:03:06 +0000 (01:03 +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.2@256268 65c4cc65-6c06-0410-ace0-fbb531ad65f3