]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
12 years agoMerged revisions 375243,375245 via svnmerge from
Automerge script [Thu, 18 Oct 2012 22:24:16 +0000 (22:24 +0000)] 
Merged revisions 375243,375245 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r375243 | jrose | 2012-10-18 16:35:20 -0500 (Thu, 18 Oct 2012) | 11 lines

  Blocked revisions 375242

  ........
  app_queue: add upgrade notes for 375216

  Adds notes describing behavioral changes to rrmemory strategy caused by
  375216

  (issue AST-989)
  Reported by: Thomas Arimont
................
  r375245 | jrose | 2012-10-18 16:39:14 -0500 (Thu, 18 Oct 2012) | 8 lines

  app_queue: add upgrade notes for 375216

  Adds notes describing behavioral changes to rrmemory strategy caused by
  375216

  (issue AST-989)
  Reported by: Thomas Arimont
................

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

12 years agoMerged revisions 375217 via svnmerge from
Automerge script [Thu, 18 Oct 2012 21:25:38 +0000 (21:25 +0000)] 
Merged revisions 375217 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r375217 | jrose | 2012-10-18 16:09:29 -0500 (Thu, 18 Oct 2012) | 15 lines

  app_queue: Make ordering of rrmemory/rrordered persist over add/remove members

  Prior to this patch, adding, removing or reloading  members to rrmemory would
  cause the order to become completely jumbled. Now it behaves more or less like
  rrordered other than the fact that it stores the members on a hash table rather
  than a linked list. This patch also prevents removal of members and member
  reloads from jumbling rrordered queues.

  (issue AST-989)
  Reported by: Thomas Arimont
  Review: https://reviewboard.asterisk.org/r/2164/
  ........

  Merged revisions 375216 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 375190 via svnmerge from
Automerge script [Thu, 18 Oct 2012 20:25:26 +0000 (20:25 +0000)] 
Merged revisions 375190 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r375190 | rmudgett | 2012-10-18 14:53:08 -0500 (Thu, 18 Oct 2012) | 36 lines

  build_tools: Allow Asterisk to report git SHAs in version string.

  Make git more attractive for managing work-in-progress.  Especially
  convenient when a potential patch set needs to be tested on multiple
  platforms since one can use git to keep all the test environments in sync
  independent of a subversion server.

  Now the Asterisk version will show the exact git SHA5 that was used when
  building (still appended by "M" if there are local modifications) from a
  git clone of the Asterisk repository so the developer can more easily know
  what is actually under test.

  You will now get this:

    $ asterisk -V
    Asterisk GIT-1698298

  Instead of this:

    $ asterisk -V
    Asterisk UNKNOWN__and_probably_unsupported

  This has zero impact for those not using git with the exception of an
  extra test in the configure script to gather git's path.  This is
  necessary to prevent "sudo make install" from failing since git may not be
  in the path in make's shell environment.

  (closes issue ASTERISK-20483)
  Reported by: Shaun Ruffell
  Patches:
        0001-build_tools-Allow-Asterisk-to-report-git-SHAs-in-ver.patch (license #5417) patch uploaded by Shaun Ruffell
        Modified
  ........

  Merged revisions 375189 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 375147 via svnmerge from
Automerge script [Wed, 17 Oct 2012 19:26:07 +0000 (19:26 +0000)] 
Merged revisions 375147 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r375147 | kmoore | 2012-10-17 13:58:52 -0500 (Wed, 17 Oct 2012) | 15 lines

  Ensure Asterisk fails TCP/TLS SIP calls when certificate checking fails

  When placing a call to a TCP/TLS SIP endpoint whose certificate is not
  signed by a configured CA certificate, Asterisk would issue a warning
  and continue to process the call as if there was not an issue with the
  certificate.  Asterisk now properly fails the call if the certificate
  fails verification or if the certificate does not exist when
  certificate checking is enabled (the default behavior).

  (closes issue ASTERISK-20559)
  Review: https://reviewboard.asterisk.org/r/2163/
  ........

  Merged revisions 375146 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 375112 via svnmerge from
Automerge script [Tue, 16 Oct 2012 22:25:30 +0000 (22:25 +0000)] 
Merged revisions 375112 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r375112 | wdoekes | 2012-10-16 16:43:29 -0500 (Tue, 16 Oct 2012) | 10 lines

  Fixes to the fd-oriented SIP TCP reads.

  Don't crash on large user input. Allow SIP headers without space.
  Optimize code a bit.

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

  Merged revisions 375111 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 375078 via svnmerge from
Automerge script [Tue, 16 Oct 2012 20:24:24 +0000 (20:24 +0000)] 
Merged revisions 375078 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r375078 | wdoekes | 2012-10-16 14:22:44 -0500 (Tue, 16 Oct 2012) | 7 lines

  Update sip_request_call SIP dial string documentation.

  This was missed when merging review r1859.
  ........

  Merged revisions 375074 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 375060 via svnmerge from
Automerge script [Tue, 16 Oct 2012 19:22:36 +0000 (19:22 +0000)] 
Merged revisions 375060 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r375060 | tzafrir | 2012-10-16 14:16:43 -0500 (Tue, 16 Oct 2012) | 10 lines

  autosupport: fix bashism

  '==' is bashism (bashspecific, fails when dash is /bin/sh). Anyway, a
  'case' works better there.

  (closes issue ASTERISK-20567)
  ........

  Merged revisions 375059 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 375026 via svnmerge from
Automerge script [Mon, 15 Oct 2012 21:23:46 +0000 (21:23 +0000)] 
Merged revisions 375026 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r375026 | mmichelson | 2012-10-15 16:06:42 -0500 (Mon, 15 Oct 2012) | 22 lines

  Fix some potential misuses of ast_str in the code.

  Passing an ast_str pointer by value that then calls
  ast_str_set(), ast_str_set_va(), ast_str_append(), or
  ast_str_append_va() can result in the pointer originally
  passed by value being invalidated if the ast_str had
  to be reallocated.

  This fixes places in the code that do this. Only the
  example in ccss.c could result in pointer invalidation
  though since the other cases use a stack-allocated ast_str
  and cannot be reallocated.

  I've also updated the doxygen in strings.h to include
  notes about potential misuse of the functions mentioned
  previously.

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

  Merged revisions 375025 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 374991 via svnmerge from
Automerge script [Sun, 14 Oct 2012 10:20:03 +0000 (10:20 +0000)] 
Merged revisions 374991 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r374991 | tzafrir | 2012-10-14 04:40:24 -0500 (Sun, 14 Oct 2012) | 12 lines

  Update config.guess and config.sub: 2012-10-10

  Update config.guess and config.sub to revision
  fb456b34ef4aa02b95dc6be69aaa66fa94a844fb from the savannah.gnu.org git
  repo. Adds support for e.g. aarch64 (ARM 64bit).

  config.guess:timestamp='2012-09-25'
  config.sub:timestamp='2012-10-10'
  ........

  Merged revisions 374977 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoAvoid a segfault on invalid format names
Kinsey Moore [Fri, 12 Oct 2012 21:56:59 +0000 (21:56 +0000)] 
Avoid a segfault on invalid format names

If a format name was not found by ast_getformatbyname, a NULL pointer
would be passed into ast_format_rate and immediately dereferenced.
This ensures that a valid pointer is used since the structure is
already allocated on the stack.

(closes issue DPH-523)
Reported-by: Steve Pitts
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10-digiumphones@374931 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 374906 via svnmerge from
Automerge script [Fri, 12 Oct 2012 16:23:56 +0000 (16:23 +0000)] 
Merged revisions 374906 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r374906 | mmichelson | 2012-10-12 11:11:30 -0500 (Fri, 12 Oct 2012) | 28 lines

  Do not use a FILE handle when doing SIP TCP reads.

  This is used to solve an issue where a poll on a file
  descriptor does not necessarily correspond to the readiness
  of a FILE handle to be read.

  This change makes it so that for TCP connections, we do a
  recv() on the file descriptor instead.

  Because TCP does not guarantee that an entire message or even
  just one single message will arrive during a read, a loop has
  been introduced to ensure that we only attempt to handle a
  single message at a time. The tcptls_session_instance structure
  has also had an overflow buffer added to it so that if more
  than one TCP message arrives in one go, there is a place to
  throw the excess.

  Huge thanks goes out to Walter Doekes for doing extensive review
  on this change and finding edge cases where code could fail.

  (closes issue ASTERISK-20212)
  reported by Phil Ciccone

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

  Merged revisions 374905 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 374844 via svnmerge from
Automerge script [Thu, 11 Oct 2012 16:25:48 +0000 (16:25 +0000)] 
Merged revisions 374844 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r374844 | mjordan | 2012-10-11 10:43:19 -0500 (Thu, 11 Oct 2012) | 29 lines

  Fix incorrect billing duration reported when batch mode is enabled

  Similar to r369351, the billing duration can be skewed when batch mode is
  enabled.  This happened much more rarely than the duration, as it only
  occured when the call was answered (thereby indicating an actual answer
  time) and immediately hung up on (indicating a billsec of 0).  Since
  a billing time of '0' can either mean that the call immediately ended
  or that the CDR was improperly answered, we have to use additional information
  to know whether or not we can trust the CDR billsec value.  Prior to this
  patch, we looked to see if we had a valid answer time.  If we did, and
  billsec was zero, we used the current time to calculate what billsec value
  we could from the CDR being written.  If batch mode is enabled, this will
  incorrectly report a billsec value being much greater than the actual
  duration of the call.

  Instead of relying on the presence of an answer time to know whether or not
  we can re-calculate the billsec for the CDR, we now also use the presence
  of the CDR's end time to know if we need to re-calculate or whether we can
  trust the billsec value that we have.  This prevents erroneous jumps in the
  billsec value, while still making sure that in the worst case, some billing
  time will be calculated.

  (closes issue AST-1016)
  Reported by: Thomas Arimont
  Tested by: Thomas Arimont
  ........

  Merged revisions 374843 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 374803 via svnmerge from
Automerge script [Wed, 10 Oct 2012 21:25:47 +0000 (21:25 +0000)] 
Merged revisions 374803 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r374803 | rmudgett | 2012-10-10 15:55:44 -0500 (Wed, 10 Oct 2012) | 30 lines

  app_queue: Made pass connected line updates from the caller to ringing queue members.

  Party A calls Party B
  Party B puts Party A on hold.
  Party B calls a queue.
  Ringing queue member D sees Party B identification.
  Party B transfers Party A to the queue.
  Queue member D does not get a connected line update for Party A.
  Queue member D answers the call and still sees Party B information.

  However, if Party A later transfers the call to Party C then queue member
  D gets a connected line update for Party C.

  * Made pass connected line updates from the caller to queue members while
  the queue members are ringing.

  (closes issue AST-1017)
  Reported by: Thomas Arimont

  (closes issue ABE-2886)
  Reported by: Thomas Arimont
  Tested by: rmudgett

  ........

  Merged revisions 374801 from https://origsvn.digium.com/svn/asterisk/be/branches/C.3-bier
  ........

  Merged revisions 374802 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 374763 via svnmerge from
Automerge script [Tue, 9 Oct 2012 22:25:47 +0000 (22:25 +0000)] 
Merged revisions 374763 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r374763 | rmudgett | 2012-10-09 17:19:26 -0500 (Tue, 09 Oct 2012) | 15 lines

  Fix execution of 'i' extension due to uninitialized variable.

  The fix for ASTERISK-18243 added code that could potentially use
  dst_exten[] uninitialized.  As a result the 'i' exten may not be executed
  when it should.

  (closes issue ASTERISK-20455)
  Reported by: Richard Miller
  Patches:
        pbx-1.8.16.0.diff (license #5685) patch uploaded by Richard Miller
        Made some cosmetic modifications.
  ........

  Merged revisions 374758 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 374728 via svnmerge from
Automerge script [Mon, 8 Oct 2012 23:24:21 +0000 (23:24 +0000)] 
Merged revisions 374728 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r374728 | rmudgett | 2012-10-08 17:29:47 -0500 (Mon, 08 Oct 2012) | 15 lines

  dahdi.conf.sample: Add description for "buffers" setting.

  This contains an edited version of the patch originally uploaded by John
  Bigelow.

  (closes issue ASTERISK-14435)
  Reported by: John Bigelow
  Patches:
        buffers.patch (license #5091) patch uploaded by John Bigelow
        0001-dahdi.conf.sample-Add-description-for-buffers-settin.patch (license #5417) patch uploaded by Shaun Ruffell
        Modified
  ........

  Merged revisions 374727 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 374695 via svnmerge from
Automerge script [Mon, 8 Oct 2012 21:25:01 +0000 (21:25 +0000)] 
Merged revisions 374695 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r374695 | rmudgett | 2012-10-08 16:11:41 -0500 (Mon, 08 Oct 2012) | 34 lines

  Fix deletion of unopenable spool files.

  If scan_service() cannot open the spool file, it logs a message saying
  that it will delete the file and calls remove_from_queue() to do it.
  However, remove_from_queue() fails to delete the spool file because struct
  outgoing has not yet been fully initialized.

  * Merged allocating a new struct outgoing and init_outgoing() into
  new_outgoing().  Allocation is initialization.

  * Made apply_outgoing() not initialize the spool filename in struct
  outgoing.

  * Made apply_outgoing() call ast_trim_blanks() and ast_skip_blanks()
  rather than manually inlining them.

  * Reduced indentation levels in apply_outgoing().

  * Fixed a garbled comment in remove_from_queue().

  * Reworked scan_service() to simplify it.

  (closes issue ASTERISK-17231)
  Reported by: David Chappell
  Patches:
        spool_open_failure.diff (license #4997) patch uploaded by David Chappell
        Started with this patch.
  ........

  Merged revisions 374686 from http://svn.asterisk.org/svn/asterisk/branches/1.8

  * Fixed some memory leaks on of nominal paths in init_outgoing() when
  merging into the new_outgoing() function dealing with o->capabilities.
................

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

12 years agoMerged revisions 374652 via svnmerge from
Automerge script [Mon, 8 Oct 2012 14:19:23 +0000 (14:19 +0000)] 
Merged revisions 374652 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

........
  r374652 | mjordan | 2012-10-08 08:46:27 -0500 (Mon, 08 Oct 2012) | 46 lines

  Resolve issues in ConfBridge regarding marked, waitmarked, and unmarked users

  Thank's to Neil Tallim (flan)'s tireless testing, issue reporting, and patches
  it became clear that app_confbridge had some complex logic in how it handled
  interactions between marked, waitmarked, and unmarked users.  In particular,
  there were some areas in which the interactions between the users resulted
  in inconsistent behavior, and app_confbridge was missing logic in how to handle
  some corner cases.  Some areas included:
   * Poor handling of mixing unmarked and waitmarked users
   * Inconsistencies in how MOH and muting was applied to various users
   * Handling of various announcements for different user profile options
  flan's patches seem to fix the various issues, but highlighted how hard the
  code could be to maintain.  In an attempt to make things easier to maintain and
  to more fully enumerate the various cases that exist, this patch breaks up the
  logic into a state machine-like setup.

  Please note that the various state transitioned are documented on the Asterisk
  wiki:

  https://wiki.asterisk.org/wiki/display/AST/Confbridge+state+changes

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

  Note that for the following issues, mjordan uploaded the patch, although it
  was written by twilson.  Any contributor license discrepency is due to that.

  (closes issue ASTERISK-19562)
  Reported by: flan
  Tested by: flan, mjordan, jrose
  patches:
    bugASTERISK-19562_ASTERISK-19726_ASTERISK-20181.patch uploaded by twilson (license 6283)

  (closes issue ASTERISK-19726)
  Reported by: flan
  Tested by: flan
  patches:
    bugASTERISK-19562_ASTERISK-19726_ASTERISK-20181.patch uploaded by twilson (license 6283)

  (closes issue ASTERISK-20181)
  Reported by: Jonathan White
  Tested by: Jonathan White
  patches:
    bugASTERISK-19562_ASTERISK-19726_ASTERISK-20181.patch uploaded by twilson (license 6283)
........

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

12 years agoMerged revisions 374586 via svnmerge from
Automerge script [Fri, 5 Oct 2012 21:25:19 +0000 (21:25 +0000)] 
Merged revisions 374586 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r374586 | dlee | 2012-10-05 15:23:14 -0500 (Fri, 05 Oct 2012) | 34 lines

  Multiple revisions 374570,374581

  ........
    r374570 | dlee | 2012-10-05 15:14:41 -0500 (Fri, 05 Oct 2012) | 22 lines

    Improve AMI long line error handling

    In AMI's parser, when it receives a long line (> 1024 characters), it discards
    that line, but continues to process the message normally.

    Typically, this is not a problem because a) who has lines that long and b)
    usually a discarded line results in an invalid message. But if that line is
    specifying an optional field, then the message will be processed, you get a
    'Response: Success', but things don't work the way you expected them to.

    This patch changes the behavior when a line-too-long parse error occurs.

    * Changes the log message to avoid way-too-long (and truncated anyways) log
      messages
    * Adds a 'parsing' status flag to Response: Success
    * Sets parsing = MESSAGE_LINE_TOO_LONG if, well, a line is too long
    * Responds with an appropriate error if parsing != MESSAGE_OKAY

    (closes issue AST-961)
    Reported by: John Bigelow
    Review: https://reviewboard.asterisk.org/r/2142/
  ........
    r374581 | dlee | 2012-10-05 15:20:28 -0500 (Fri, 05 Oct 2012) | 1 line

    I've committed too much. Reverting part of r374570.
  ........

  Merged revisions 374570,374581 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 374537 via svnmerge from
Automerge script [Fri, 5 Oct 2012 19:27:28 +0000 (19:27 +0000)] 
Merged revisions 374537 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r374537 | rmudgett | 2012-10-05 13:25:20 -0500 (Fri, 05 Oct 2012) | 162 lines

  Merged revisions 374515-374535 from
  https://origsvn.digium.com/svn/asterisk/be/branches/C.3-bier

  ................
    r374515 | rmudgett | 2012-10-04 17:52:36 -0500 (Thu, 04 Oct 2012) | 10 lines

    chan_misdn: Remove some deadcode

    * Made setup_bc() static.

    Patches:
   patch1_unused-code.diff (license #6372) patch uploaded by Guenther Kelleter
   Modified

    JIRA ABE-2882

  ................
    r374516 | rmudgett | 2012-10-04 18:01:01 -0500 (Thu, 04 Oct 2012) | 7 lines

    chan_misdn: Remove unused bchan states

    Patches:
   patch2_unused-states.diff (license #6372) patch uploaded by Guenther Kelleter

    JIRA ABE-2882

  ................
    r374517 | rmudgett | 2012-10-04 18:17:51 -0500 (Thu, 04 Oct 2012) | 16 lines

    chan_misdn: Remove unnecessary null pointer checks and checks for stack->nt

    * cleanup_bc() is always called with valid bc (or it would've crashed
    before).

    * Value of stack->nt is known in advance at some places.

    * Rename handle_event() to handle_event_te(), handle_frm() to
    handle_frm_te().

    Patches:
   patch3_checks.diff (license #6372) patch uploaded by Guenther Kelleter
   Modified

    JIRA ABE-2882

  ................
    r374518 | rmudgett | 2012-10-04 18:21:59 -0500 (Thu, 04 Oct 2012) | 7 lines

    chan_misdn: Fix spelling in log messages

    Patches:
   patch4_spelling.diff (license #6372) patch uploaded by Guenther Kelleter

    JIRA ABE-2882

  ................
    r374519 | rmudgett | 2012-10-04 18:31:59 -0500 (Thu, 04 Oct 2012) | 15 lines

    chan_misdn: Don't cleanup a bc twice.

    In handle_frm_te() after calling misdn_lib_send_event(bc,
    EVENT_RELEASE_COMPLETE) bc is emptied, cleaned and set not in use,
    although misdn_lib_send_event() already did the same.  This is bad.  When
    it's not in use we are not allowed to touch it.

    * Moved log message in front of the resulting actions and fixed it to
    match the case.

    Patches:
   patch5_bccleanup.diff (license #6372) patch uploaded by Guenther Kelleter

    JIRA ABE-2882

  ................
    r374520 | rmudgett | 2012-10-04 18:43:56 -0500 (Thu, 04 Oct 2012) | 12 lines

    chan_misdn: Fix memory leaks, bc, chan not cleaned up etc., really bad stuff.

    * Fix return codes of cb_events() for EVENT_SETUP to use caller's cleanup
    mechanisms.

    * Move cl_queue_chan() call after bearer check.

    Patches:
   patch6_leaks.diff (license #6372) patch uploaded by Guenther Kelleter

    JIRA ABE-2882

  ................
    r374521 | rmudgett | 2012-10-04 18:48:38 -0500 (Thu, 04 Oct 2012) | 11 lines

    chan_misdn: We must initialize cause on sending a DISCONNECT.

    We must initialize cause on sending a DISCONNECT, so it is later correctly
    indicated to ast_channel in case the answer (RELEASE/RELEASE_COMPLETE)
    does not include one.

    Patches:
   patch7_hangupcause.diff (license #6372) patch uploaded by Guenther Kelleter

    JIRA ABE-2882

  ................
    r374522 | rmudgett | 2012-10-04 19:03:56 -0500 (Thu, 04 Oct 2012) | 7 lines

    chan_misdn: Remove unused code for upqueue

    Patches:
   patch8_unused-upqueue.diff (license #6372) patch uploaded by Guenther Kelleter

    JIRA ABE-2882

  ................
    r374523 | rmudgett | 2012-10-04 19:11:50 -0500 (Thu, 04 Oct 2012) | 7 lines

    chan_misdn: Improve debugging (port number, messages fixed, dups removed)

    Patches:
   patch9_debug.diff (license #6372) patch uploaded by Guenther Kelleter

    JIRA ABE-2882

  ................
    r374533 | rmudgett | 2012-10-05 12:17:18 -0500 (Fri, 05 Oct 2012) | 8 lines

    chan_misdn: Better debug: we can print_bc_info even if there's no ast leg.

    Patches:
   patch10_debug-bc-2.diff (license #6372) patch uploaded by Guenther Kelleter
   Modified.

    JIRA ABE-2882

  ................
    r374534 | rmudgett | 2012-10-05 12:34:10 -0500 (Fri, 05 Oct 2012) | 16 lines

    chan_misdn: setup_bc() is called too early for an incoming SETUP on TE.

    This prevents the B channel from being setup for HDLC mode when requested
    by the bearer capability and config option hdlc=yes.  It violates
    ETS300102 Ch.5.2.3.2: "The user, in any case, must not connect to the
    channel until a CONNECT ACKNOWLEDGE message has been received."

    * Call setup_bc() on receipt of CONNECT_ACKNOWLEGDE for PTMP, and on first
    response to SETUP for PTP.

    Patches:
   abe-2881-2.diff (license #6372) patch uploaded by Guenther Kelleter
   Modified.

    JIRA ABE-2881

  ................
    r374535 | rmudgett | 2012-10-05 12:41:05 -0500 (Fri, 05 Oct 2012) | 2 lines

    chan_misdn: Remove some more deadcode.

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

  Merged revisions 374536 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 374476,374481 via svnmerge from
Automerge script [Thu, 4 Oct 2012 20:27:21 +0000 (20:27 +0000)] 
Merged revisions 374476,374481 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r374476 | alecdavis | 2012-10-04 15:05:14 -0500 (Thu, 04 Oct 2012) | 13 lines

  dsp.c fix incorrect DTMF Digit_Duration.

  it's always short by 'hits_to_begin*DTMF_GSIZE', or 25.5ms if hitstobegin=2

  (issue ASTERISK-16003)
  Tested by: alecdavis
  alecdavis (license 585)

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

  Merged revisions 374475 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r374481 | alecdavis | 2012-10-04 15:17:16 -0500 (Thu, 04 Oct 2012) | 17 lines

  dsp.c User Configurable DTMF_HITS_TO_BEGIN and DTMF_MISSES_TO_END

  Instead of a recompile, allow values to be adjusted in dsp.conf

  For binary distributions allows easy adjustment for wobbly GSM calls, and other reasons.

  Defaults to DTMF_HITS_TO_BEGIN=2 and DTMF_MISSES_TO_END=3

  (closes issue ASTERISK-17493)
  Tested by: alecdavis
  alecdavis (license 585)

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

  Merged revisions 374479 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 374457 via svnmerge from
Automerge script [Thu, 4 Oct 2012 18:23:00 +0000 (18:23 +0000)] 
Merged revisions 374457 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r374457 | file | 2012-10-04 12:44:38 -0500 (Thu, 04 Oct 2012) | 17 lines

  Fix a regression from direct media ACLs where the directrtpsetup option no longer works.

  A check was added for direct media ACLs that immediately forbid remote bridging if there
  was no bridged channel. This caused directrtpsetup to no longer function as it needs this
  information before bridging actually occurs.

  Logic has now been adjusted so if there is no bridged channel a remote bridge will still
  be attempted.

  (closes issue ASTERISK-20511)
  Reported by: kristoff

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

  Merged revisions 374456 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 374427 via svnmerge from
Automerge script [Thu, 4 Oct 2012 16:27:35 +0000 (16:27 +0000)] 
Merged revisions 374427 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r374427 | dlee | 2012-10-04 10:37:11 -0500 (Thu, 04 Oct 2012) | 25 lines

  Fix DBDelTree error codes for AMI, CLI and AGI

  The AMI DBDelTree command will return Success/Key tree deleted successfully even
  if the given key does not exist. The CLI command 'database deltree' had a
  similar problem, but was saved because it actually responded with '0 database
  entries removed'. AGI had a slightly different error, where it would return
  success if the database was unavailable.

  This came from confusion about the ast_db_deltree retval, which is -1 in the
  event of a database error, or number of entries deleted (including 0 for
  deleting nothing).

  * Changed some poorly named res variables to num_deleted
  * Specified specific errors when calling ast_db_deltree (database unavailable
    vs. entry not found vs. success)
  * Fixed similar bug in AGI database deltree, where 'Database unavailable'
    results in successful result

  (closes issue AST-967)
  Reported by: John Bigelow
  Review: https://reviewboard.asterisk.org/r/2138/
  ........

  Merged revisions 374426 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 374385 via svnmerge from
Automerge script [Thu, 4 Oct 2012 05:26:42 +0000 (05:26 +0000)] 
Merged revisions 374385 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r374385 | alecdavis | 2012-10-03 23:41:19 -0500 (Wed, 03 Oct 2012) | 36 lines

  dsp.c User configuration of DTMF_NORMAL_TWIST and DTMF_REVERSE_TWIST values

  Asterisk's DTMF Specifications are based on AT&T specs, which may not be compatible in other countries.

  Various countries have different specifications for the maximum power level differences
  between the DTMF low group and high group of frequencies.

  Power level difference between frequencies for different Administrations/RPOAs
   NTT        = Max. 5 dB
   AT&T       = 4dB(reverse) to 8dB(normal)
   Danish     = Max. 6 dB
   Australian = Max. 10 dB
   Brazilian  = Max. 9 dB
   ETSI       = Max. 6 dB from ETSI ES 201 235-3 V1.3.1 (2006-03)

  Now allow 4 variables to be individually configured in dsp.conf, with reasonable min/max of 2dB to 20dB.
  Default is AT&T specifications

  Add's the following variables to dsp.conf
  ;dtmf_normal_twist=6.31
  ;dtmf_reverse_twist=2.51
  ;relax_dtmf_normal_twist=6.31
  ;relax_dtmf_reverse_twist=3.98

  (closes issue ASTERISK-20442)
  Reported by: tbsky
  Tested by: tbsky,alecdavis

  alecdavis (license 585)

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

  Merged revisions 374384 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 374370 via svnmerge from
Automerge script [Thu, 4 Oct 2012 04:22:35 +0000 (04:22 +0000)] 
Merged revisions 374370 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r374370 | alecdavis | 2012-10-03 23:18:44 -0500 (Wed, 03 Oct 2012) | 15 lines

  _dsp_init: bring inline with trunk

  preparation for clean merge of DTMF TWIST patch

  No functional changes, just style.

  alecdavis (license 585)
  Reported by: Alec Davis
  Tested by: alecdavis

  related https://reviewboard.asterisk.org/r/2141
  ........

  Merged revisions 374365 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 374336 via svnmerge from
Automerge script [Thu, 4 Oct 2012 02:25:29 +0000 (02:25 +0000)] 
Merged revisions 374336 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r374336 | mjordan | 2012-10-03 21:11:05 -0500 (Wed, 03 Oct 2012) | 31 lines

  Check for presence of buddy in info/dinfo handlers

  The res_jabber resource module uses the ASTOBJ library for managing its ref
  counted objects.  After calling ASTOBJ_CONTAINER_FIND to locate a buddy object,
  the pointer to the object has to be checked to see if the buddy existed.
  Prior to this patch, the buddy object was not checked for NULL; with this patch
  in both aji_client_info_handler and aji_dinfo_handler the pointer is checked
  before used and, if no buddy object was found, the handlers return an error
  code.

  This patch does not take the approach that our JID can be used to log in from
  another resource.  If that approach is desired, an improvement could be made to
  this patch to create the buddy on the fly.  This patch seeks only to prevent
  Asterisk from crashing.

  Note that multiple people have proposed patches for this issue; the patch being
  committed here is based on those.

  (closes issue ASTERISK-19532)
  Reported by: Karsten Wemheuer
  Tested by: Byron Clark
  patches:
    fix-jabber uploaded by Karsten Wemheuer (license #5930)
    xmpp_no_crash_with_ejabberd.patch uploaded by Byron Clark (license #6157)

  (closes issue ASTERISK-19557)
  Reported by: ulugutz
  ........

  Merged revisions 374335 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 374317 via svnmerge from
Automerge script [Wed, 3 Oct 2012 19:22:34 +0000 (19:22 +0000)] 
Merged revisions 374317 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r374317 | mjordan | 2012-10-03 13:59:06 -0500 (Wed, 03 Oct 2012) | 13 lines

  Blocked revisions 374316

  ........
  Destroy the generic_monitors container after the core_instances in ccss

  For each item in core_instances disposed of in the shutdown of ccss, any
  generic monitor instances referenced by the objects will be removed from
  generic_monitors during their destruction.  Hilarity ensues if
  generic_monitors no longer exists.

  Thanks to the Asterisk Test Suite's generic_ccss test for complaining loudly
  when it ran into this.
................

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

12 years agoMerged revisions 374300 via svnmerge from
Automerge script [Wed, 3 Oct 2012 18:23:35 +0000 (18:23 +0000)] 
Merged revisions 374300 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

........
  r374300 | mjordan | 2012-10-03 12:25:36 -0500 (Wed, 03 Oct 2012) | 10 lines

  Destroy the generic_monitors container after the core_instances in ccss

  For each item in core_instances disposed of in the shutdown of ccss, any
  generic monitor instances referenced by the objects will be removed from
  generic_monitors during their destruction.  Hilarity ensues if
  generic_monitors no longer exists.

  Thanks to the Asterisk Test Suite's generic_ccss test for complaining loudly
  when it ran into this.
........

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

12 years agoMerged revisions 374231 via svnmerge from
Automerge script [Tue, 2 Oct 2012 21:26:14 +0000 (21:26 +0000)] 
Merged revisions 374231 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r374231 | mjordan | 2012-10-02 16:12:30 -0500 (Tue, 02 Oct 2012) | 9 lines

  Ensure Shutdown AMI event is still fired during Asterisk shutdown

  Richard pointed out that having the manager dispose of itself gracefully
  during shutdown meant that the Shutdown event will no longer get fired.
  This patch moves the AMI event just prior to running the atexit callbacks.
  ........

  Merged revisions 374230 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 374210 via svnmerge from
Automerge script [Tue, 2 Oct 2012 17:23:46 +0000 (17:23 +0000)] 
Merged revisions 374210 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

........
  r374210 | mjordan | 2012-10-02 12:10:04 -0500 (Tue, 02 Oct 2012) | 10 lines

  Fix findings from check-in on r374177

  Richard pointed out two problems with the check-in from r374177:
  * The ast_msg_shutdown function declaration doesn't match the prototype
    in main/message.c.
  * The ref/alloc function usage in astobj2 (in 11+) can use the ao2_t_* variants
    of the functions to allow the REF_DEBUG flag to enable/disable their debug
    counterparts.
........

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

12 years agoRe-enable automerge.
Jason Parker [Tue, 2 Oct 2012 16:41:33 +0000 (16:41 +0000)] 
Re-enable automerge.

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

12 years agoFix a variety of ref counting issues
Jason Parker [Tue, 2 Oct 2012 16:41:11 +0000 (16:41 +0000)] 
Fix a variety of ref counting issues

This patch resolves a number of ref leaks that occur primarily on Asterisk
shutdown.  It adds a variety of shutdown routines to core portions of
Asterisk such that they can reclaim resources allocate duringd initialization.

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

Merged revisions 374177 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 374178 from http://svn.asterisk.org/svn/asterisk/branches/10

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

12 years agoautomerge cancel
Automerge script [Tue, 2 Oct 2012 01:23:31 +0000 (01:23 +0000)] 
automerge cancel

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

12 years agoMerged revisions 374132,374135 via svnmerge from
Automerge script [Mon, 1 Oct 2012 18:22:40 +0000 (18:22 +0000)] 
Merged revisions 374132,374135 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r374132 | seanbright | 2012-10-01 12:27:22 -0500 (Mon, 01 Oct 2012) | 2 lines

  Use ast_copy_string instead of strncpy to guarantee a NUL terminated string.
................
  r374135 | seanbright | 2012-10-01 12:52:38 -0500 (Mon, 01 Oct 2012) | 23 lines

  app_queue: Support persisting and loading of long member lists.

  Greenlight in #asterisk brought up that he was receiving an error message "Could
  not create persistent member string, out of space" when running app_queue in
  Asterisk 10.  dump_queue_members() made an assumption that 8K would be enough to
  store the generated string, but with queues that have large member lists this is
  not always the case.  This patch removes the limitation and uses ast_str instead
  of a fixed sized buffer.

  The complicating factor comes from the fact that ast_db_get requires a buffer
  and buffer size argument, which doesn't let us pull back more than what we pass
  in, so I introduced a new ast_db_get_allocated() which returns an ast_strdup()'d
  copy of the value from astdb.

  As an aside, I did some testing on the maximum size of data that we can store in
  the BDB library we distribute and was able to store a 10MB string and retrieve
  it with no problems, so I feel this is a safe patch.

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

  Merged revisions 374108 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 374045 via svnmerge from
Automerge script [Fri, 28 Sep 2012 19:25:24 +0000 (19:25 +0000)] 
Merged revisions 374045 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r374045 | jrose | 2012-09-28 14:21:10 -0500 (Fri, 28 Sep 2012) | 12 lines

  res_jabber: Remove CLI command 'jabber test'

  The opinion of development was that it is both improper to have Matt's
  personal email address used in the source and that the command wouldn't
  be useful without it.

  (closes issue AST-467)
  Reported by: Malcolm Davenport
  ........

  Merged revisions 374032 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373990 via svnmerge from
Automerge script [Fri, 28 Sep 2012 12:27:46 +0000 (12:27 +0000)] 
Merged revisions 373990 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373990 | file | 2012-09-28 07:15:48 -0500 (Fri, 28 Sep 2012) | 8 lines

  Update documentation to make it explicit that "stream file" will not restart musiconhold.

  (issue ASTERISK-17367)
  Reported by: oej
  ........

  Merged revisions 373989 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373946 via svnmerge from
Automerge script [Thu, 27 Sep 2012 22:21:54 +0000 (22:21 +0000)] 
Merged revisions 373946 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373946 | rmudgett | 2012-09-27 17:12:47 -0500 (Thu, 27 Sep 2012) | 14 lines

  Fix SendDTMF crash and channel reference leak using channel name parameter.

  The SendDTMF channel name parameter has two issues.
  1) Crashes if the channel name does not exist.
  2) Leaks a channel reference if the channel is the current channel.
  Problem introduced by ASTERISK-15956.

  * Updated SendDTMF documentation.

  * Renamed app to senddtmf_name and tweaked the type.
  ........

  Merged revisions 373945 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373910 via svnmerge from
Automerge script [Thu, 27 Sep 2012 17:25:34 +0000 (17:25 +0000)] 
Merged revisions 373910 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373910 | file | 2012-09-27 11:50:46 -0500 (Thu, 27 Sep 2012) | 24 lines

  loader: Ensure dependent modules are properly initialized.

  If an Asterisk module specifies a dependency in ast_module_info.nonoptreq, it
  is possible for Asterisk to skip calling the modules's .load function.
  Asterisk was loading and linking the module via load_dynamic_module() but was
  not adding the module to the resource_heap. Therefore the module was not
  initialized based on it's priority along with the other modules in the heap.

  Now use load_resource() instead of load_dynamic_module() for non-optional
  requirement. This will add the module to the resource_heap so the module can
  be properly initialized in the correct order.

  This is required if there are any module global data structures initialized in
  the .load() callback for the module on platforms which do not support weak
  references.

  (issue ASTERISK-20439)
  Reported by: sruffell
  Patches:
       0001-loader-Ensure-dependent-modules-are-properly-initial.patch uploaded by sruffell (license 5417)
  ........

  Merged revisions 373909 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373879 via svnmerge from
Automerge script [Thu, 27 Sep 2012 12:28:44 +0000 (12:28 +0000)] 
Merged revisions 373879 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373879 | file | 2012-09-27 06:32:13 -0500 (Thu, 27 Sep 2012) | 14 lines

  Fix an issue where Local channels dialed by app_queue are considered in use immediately.

  The chan_local channel driver returns a device state of in use even if a created Local
  channel has not yet been dialed. This fix changes the logic to return a state of not
  in use until the channel itself has been dialed.

  (closes issue ASTERISK-20390)
  Reported by: tim_ringenbach

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

  Merged revisions 373878 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373849 via svnmerge from
Automerge script [Wed, 26 Sep 2012 21:25:53 +0000 (21:25 +0000)] 
Merged revisions 373849 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373849 | mmichelson | 2012-09-26 16:11:35 -0500 (Wed, 26 Sep 2012) | 8 lines

  Move handling of 408 response so there is no misleading warning message.

  (closes issue ASTERISK-20060)
  Reported by: Walter Doekes
  ........

  Merged revisions 373848 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373816 via svnmerge from
Automerge script [Wed, 26 Sep 2012 18:23:22 +0000 (18:23 +0000)] 
Merged revisions 373816 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373816 | rmudgett | 2012-09-26 13:15:50 -0500 (Wed, 26 Sep 2012) | 18 lines

  Fixed meetme tab completion and command documentation.

  * Removed unnecessary case sensitivity in meetme list, lock, unlock, mute,
  unmute, and kick commands.

  * Separated meetme lock/unlock, mute/unmute, and kick commands into their
  own registered commands to simplify tab completion and parameter checking.
  meetme_lock_cmd(), meetme_mute_cmd(), and meetme_kick_cmd()

  * Simplified meetme_show_cmd()

  (closes issue AST-1006)
  Reported by: John Bigelow
  Tested by: rmudgett
  ........

  Merged revisions 373815 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373769,373774 via svnmerge from
Automerge script [Tue, 25 Sep 2012 23:25:45 +0000 (23:25 +0000)] 
Merged revisions 373769,373774 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373769 | mmichelson | 2012-09-25 17:54:13 -0500 (Tue, 25 Sep 2012) | 11 lines

  Remove dead code and documentation for nonexistent feature.

  multiplelogin was removed from chan_agent back in 1.6.0 when
  AgentCallbackLogin() was removed.

  (closes issue AST-948)
  reported by Steve Pitts
  ........

  Merged revisions 373768 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r373774 | mmichelson | 2012-09-25 18:08:46 -0500 (Tue, 25 Sep 2012) | 10 lines

  Fix saying of date in Dutch.

  The Dutch say the date before the month.

  (closes issue ASTERISK-20353)
  Reported by: Teun Ouwehand
  ........

  Merged revisions 373773 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373737 via svnmerge from
Automerge script [Tue, 25 Sep 2012 21:25:18 +0000 (21:25 +0000)] 
Merged revisions 373737 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373737 | mmichelson | 2012-09-25 16:12:40 -0500 (Tue, 25 Sep 2012) | 11 lines

  Fix error where improper IMAP greetings would be deleted.

  (closes issue ASTERISK-20435)
  Reported by: fhackenberger
  Patches:
   asterisk-20435-imap-del-greeting.diff uploaded by Michael L. Young (License #5026)
   (with suggested modification made by me)
  ........

  Merged revisions 373735 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373703,373706 via svnmerge from
Automerge script [Tue, 25 Sep 2012 20:26:43 +0000 (20:26 +0000)] 
Merged revisions 373703,373706 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373703 | kmoore | 2012-09-25 14:34:01 -0500 (Tue, 25 Sep 2012) | 11 lines

  Fix an issue where media would not flow for situations where the legacy STUN code is in use.

  The STUN packets should *not* be blocked by strict RTP.

  (closes issue ASTERISK-20415)
Reported-by: Michele Cicciotti
Patch-by: Josh Colp (trunk r369817)
  ........

  Merged revisions 373702 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r373706 | file | 2012-09-25 15:12:02 -0500 (Tue, 25 Sep 2012) | 22 lines

  Fix T.38 support when used with chan_local in between.

  Users of the T.38 API can indicate AST_T38_REQUEST_PARMS on a channel to request that the
  channel indicate a T.38 negotiation with the parameters present on the channel. The return
  value of this indication is expected to be AST_T38_REQUEST_PARMS upon success but with
  chan_local involved this could never occur.

  This fix changes chan_local to always return AST_T38_REQUEST_PARMS for this situation. If
  the underlying channel technology on the other side does not support T.38 this would have
  been determined ahead of time using ast_channel_get_t38_state and an indication would
  not occur.

  (closes issue ASTERISK-20229)
  Reported by: wdoekes
  Patches:
       ASTERISK-20229.patch uploaded by wdoekes (license 5674)

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

  Merged revisions 373705 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373665,373675 via svnmerge from
Automerge script [Tue, 25 Sep 2012 18:24:11 +0000 (18:24 +0000)] 
Merged revisions 373665,373675 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373665 | twilson | 2012-09-25 12:35:30 -0500 (Tue, 25 Sep 2012) | 21 lines

  Properly handle UAC/UAS roles for SIP session timers

  The SIP session timer mechanism contains a mandatory 'refresher' parameter
  (included in the Session-Expires header) which is used in the session timer
  offer/answer signaling within a SIP Invite dialog. It looks like asterisk is
  interpreting the uac resp. uas role only as the initial role of client and
  server (caller is uac, callee is uas). The standard rfc 4028 however assigns
  the client role to the ((RE)-Invite) requester, the server role to the
  ((RE)-Invite) responder.

  This patch has Asterisk track the actual refresher as "us" or "them" as opposed
  to relying on just the configured "uas" or "uac" properties.

  (closes issue AST-922)
  Reported by: Thomas Airmont

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

  Merged revisions 373652 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r373675 | kmoore | 2012-09-25 13:20:04 -0500 (Tue, 25 Sep 2012) | 13 lines

  "show" completion option for "queue" shouldn't appear twice

  When tab-completing CLI commands starting with "queue", "show" appeared
  twice in the list due to the way that Asterisk's tab completion
  functions and the order in which the commands were registered. The
  registration order has been altered to resolve this issue.

  (closes issue AST-940)
Reported-by: Steve Pitts
  ........

  Merged revisions 373666 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373631,373633,373645 via svnmerge from
Automerge script [Tue, 25 Sep 2012 17:25:10 +0000 (17:25 +0000)] 
Merged revisions 373631,373633,373645 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373631 | jrose | 2012-09-25 11:24:34 -0500 (Tue, 25 Sep 2012) | 10 lines

  chan_sip: Set Quality of Service for video rtp instance

  (closes issue ASTERISK-20201)
  Reported by: ddkprog
  Patches:
      chan_sip.c.diff uploaded by ddkprog (license 6008)
  ........

  Merged revisions 373617 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r373633 | rmudgett | 2012-09-25 11:33:31 -0500 (Tue, 25 Sep 2012) | 5 lines

  Make rebuild GSM, ilbc, or lpc10 codecs if the respective sources change.
  ........

  Merged revisions 373618 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r373645 | rmudgett | 2012-09-25 12:19:52 -0500 (Tue, 25 Sep 2012) | 14 lines

  Fix valgrind found memcpy issues in codec_ilbc.

  Valgrind found codec_ilbc using memcpy instead of memmove for overlapping
  memory blocks.

  (issue ASTERISK-19890)
  (closes issue ASTERISK-20231)
  Reported by: Walter Doekes
  Patches:
        ASTERISK-20231.patch (license #5674) patch uploaded by Walter Doekes
  ........

  Merged revisions 373640 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373579 via svnmerge from
Automerge script [Tue, 25 Sep 2012 14:24:51 +0000 (14:24 +0000)] 
Merged revisions 373579 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373579 | kmoore | 2012-09-25 08:28:20 -0500 (Tue, 25 Sep 2012) | 11 lines

  Fix documentation for default username in res_odbc

  This was previously stated to be "root", but is actually the name of
  the context if unspecified.

  (closes issue ASTERISK-20258)
  Reported by: Stefan x
  ........

  Merged revisions 373578 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373551 via svnmerge from
Automerge script [Tue, 25 Sep 2012 12:26:47 +0000 (12:26 +0000)] 
Merged revisions 373551 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373551 | file | 2012-09-25 07:00:23 -0500 (Tue, 25 Sep 2012) | 15 lines

  Fix an issue where a caller to ast_write on a MulticastRTP channel would determine it failed when in reality it did not.

  When sending RTP packets via multicast the amount of data sent is stored in a variable and returned
  from the write function. This is incorrect as any non-zero value returned is considered a failure while
  a return value of 0 is success. For callers (such as ast_streamfile) that checked the return value
  they would have considered it a failure when in reality nothing went wrong and it was actually a success.

  The write function for the multicast RTP engine now returns -1 on failure and 0 on success, as it should.

  (closes issue ASTERISK-17254)
  Reported by: wybecom
  ........

  Merged revisions 373550 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373533 via svnmerge from
Automerge script [Tue, 25 Sep 2012 00:22:04 +0000 (00:22 +0000)] 
Merged revisions 373533 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373533 | file | 2012-09-24 19:11:28 -0500 (Mon, 24 Sep 2012) | 5 lines

  Add missing checks that I neglected. The SIP technology and SIP info technology should be considered equal.
  ........

  Merged revisions 373532 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373501,373505 via svnmerge from
Automerge script [Mon, 24 Sep 2012 22:25:05 +0000 (22:25 +0000)] 
Merged revisions 373501,373505 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373501 | rmudgett | 2012-09-24 17:11:01 -0500 (Mon, 24 Sep 2012) | 18 lines

  Be consistent, send From: "Anonymous" <sip:anonymous@anonymous.invalid>

  When setting CALLERID(pres)=unavailable in the dialplan, the From header
  in the SIP message contains "Anonymous" <sip:Anonymous@anonymous.invalid>.
  For consistency, Asterisk should use a lowercase a in the userpart of the
  URI.

  * Make the From header use a lowercase A in the userpart of the anonymous
  URI.

  (closes issue ASTERISK-19838)
  Reported by: Antti Yrjola
  Patches:
        chan_sip_patch_ASTERISK-19838.patch (license #6383) patch uploaded by Antti Yrjola
  ........

  Merged revisions 373500 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r373505 | mjordan | 2012-09-24 17:17:02 -0500 (Mon, 24 Sep 2012) | 19 lines

  Revert change to res_rtp_asterisk committed in r373236 (1.8)

  The change committed in r373236 attempted to account for endpoints that
  increased their RTP timestamp in DTMF end of event re-transmissions.  This
  change attempted to make Asterisk continue to work with endpoints that
  failed to follow the RFC while maintaining the fix that allowed for out of
  order DTMF to be handled.  Unfortunately, there is no free lunch, and this
  patch broke any system that sent DTMF immediately after an RTP session was
  established or when an SSRC is updated.  As such, that patch is being
  reverted for the previous behavior.

  Endpoints that erroneously increase the RTP timestamp in DTMF end of event
  packets will not work properly with Asterisk.

  (issue ASTERISK-20424)
  ........

  Merged revisions 373504 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373466,373468 via svnmerge from
Automerge script [Mon, 24 Sep 2012 21:25:04 +0000 (21:25 +0000)] 
Merged revisions 373466,373468 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373466 | rmudgett | 2012-09-24 15:44:27 -0500 (Mon, 24 Sep 2012) | 33 lines

  Fix potential reentrancy problems in chan_sip.

  Asterisk v1.8 and later was not as vulnerable to this issue.

  * Made find_call() lock each private as it processes the found dialogs.
  (Primary cause of ABE-2876)

  * Made the other functions that traverse the dialogs container lock each
  private as it examines them.

  * Fix race condition in sip_call() if the thread that sent the INVITE is
  held up long enough for a response to be processed.  The p->initid for the
  INVITE retransmission could be added after it was canceled by the response
  processing.

  * Made __sip_destroy() clean up resource pointers after freeing.  This is
  primarily defensive in case someone has a stale private pointer.

  * Removed redundant memset() in reqprep().  The call to init_req() already
  does the memset() and is the first reference to req in reqprep().

  * Removed useless set of req.method in transmit_invite().  The calls to
  initreqprep() and reqprep() have to do this because they memset() the req.

  JIRA ABE-2876

  ..........

  Merged -r373423 from https://origsvn.digium.com/svn/asterisk/be/branches/C.3-bier
  ........

  Merged revisions 373424 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r373468 | jrose | 2012-09-24 16:05:44 -0500 (Mon, 24 Sep 2012) | 13 lines

  func_audiohookinherit: Document some missed sources.

  This patch also mentions that AUDIOHOOK_INHERIT can be used to
  transfer MixMonitor audiohooks. There is also wiki that addresses
  audiohooks and the use of AUDIOHOOK_INHERIT at the following link:
  https://wiki.asterisk.org/wiki/display/AST/Audiohooks

  (closes issue ASTERISK-18220)
  Reported by: Ishfaq Malik
  ........

  Merged revisions 373467 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoreenable automerge
Jason Parker [Mon, 24 Sep 2012 21:22:46 +0000 (21:22 +0000)] 
reenable automerge

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

12 years agoFix a deadlock caused by a race condition between removing a hint and reloading the...
Jason Parker [Mon, 24 Sep 2012 21:22:34 +0000 (21:22 +0000)] 
Fix a deadlock caused by a race condition between removing a hint and reloading the dialplan and subscribing to the removed hint.

If conditions were right it was possible for both the PBX core and chan_sip to deadlock by both having a lock that the other
wants. In the case of the PBX core it had the contexts lock and wanted a SIP dialog lock, while in the case of chan_sip it
had the SIP dialog lock and wanted the contexts lock.

This fix unlocks the SIP dialog before getting the extension state so that the other thread will not block on trying to lock
it. Once the extension state is retrieved the SIP dialog is locked again and life carries on.

As the SIP dialog is reference counted it is not possible for it to go away after unlocking.

(closes issue ASTERISK-20437)
Reported by: jhutchins
........

Merged revisions 373438 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 373440 from http://svn.asterisk.org/svn/asterisk/branches/10

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

12 years agoautomerge cancel
Automerge script [Mon, 24 Sep 2012 19:22:01 +0000 (19:22 +0000)] 
automerge cancel

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

12 years agoMerged revisions 373343 via svnmerge from
Automerge script [Fri, 21 Sep 2012 19:24:48 +0000 (19:24 +0000)] 
Merged revisions 373343 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373343 | jrose | 2012-09-21 14:08:58 -0500 (Fri, 21 Sep 2012) | 10 lines

  iax2-provision: Fix improper return on failed cache retrieval

  (closes issue ASTERISK-20337)
  reported by: John Covert
  Patches:
      iax2-provision.c.patch uploaded by John Covert (license 5512)
  ........

  Merged revisions 373342 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373300 via svnmerge from
Automerge script [Fri, 21 Sep 2012 15:23:06 +0000 (15:23 +0000)] 
Merged revisions 373300 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373300 | jrose | 2012-09-21 10:07:38 -0500 (Fri, 21 Sep 2012) | 12 lines

  app_queue: Make queue reload members and variants of that work

  Prior to this patch, 'queue reload members' cli command did not
  work at all. This also affects the manager function 'QueueReload'
  when supplied with the 'members: yes' field.

  (closes issue AST-956)
  Reported by: John Bigelow
  ........

  Merged revisions 373298 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373237,373245 via svnmerge from
Automerge script [Thu, 20 Sep 2012 19:27:45 +0000 (19:27 +0000)] 
Merged revisions 373237,373245 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373237 | mjordan | 2012-09-20 13:42:51 -0500 (Thu, 20 Sep 2012) | 18 lines

  When processing RFC 2833 DTMF, accomodate increasing timestamps in End events

  While endpoints should not be changing the source timestamp between DTMF event
  packets, the fact is there exists those endpoints that do exactly that.  To
  work around this, we absorb timestamps within the expected re-transmit period.
  Note that this period only affects End of Event packets, so it should not
  prevent the detection of new DTMF digits that happen to arrive right on top
  of each other.

  (closes issue ASTERISK-20424)
  Reported by: Vladimir Mikhelson
  Tested by: mjordan, Vladimir Mikhelson

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

  Merged revisions 373236 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r373245 | file | 2012-09-20 14:14:31 -0500 (Thu, 20 Sep 2012) | 15 lines

  Fix incorrect MeetME conference bridge reference count decrementing and sometimes premature destruction.

  When using the 'e' or 'E' option to MeetMe the configured conference bridges are loaded and examined to see
  if any are empty. If no conference bridges are empty the caller is prompted to enter the number of one.
  This operation left around a pointer to the last created conference bridge still containing participants.
  When the caller that was not able to find any empty conference bridge hung up this pointer was disposed of
  and the reference count of the conference bridge decremented. If there was only a single participant in the
  conference bridge it was ultimately destroyed prematurely.

  (closes issue AST-994)
  Reported by: John Bigelow
  ........

  Merged revisions 373242 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373196 via svnmerge from
Automerge script [Thu, 20 Sep 2012 03:19:05 +0000 (03:19 +0000)] 
Merged revisions 373196 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

........
  r373196 | mjordan | 2012-09-19 21:35:13 -0500 (Wed, 19 Sep 2012) | 12 lines

  Ensure that all ConfBridge sounds can be set using CONFBRIDGE function

  The CONFBRIDGE function can be used to set the sounds in a ConfBridge
  bridge profile.  Unfortunately, three sounds were missed in the portion
  of the code that applies the settings passed in from the function:
  sound_only_one, join, and leave.  This patch makes sure that the sounds
  passed from the function are applied to the bridge profile.

  (closes issue ASTERISK-20404)
  Reported by: univ
  Tested by: mjordan
........

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

12 years agoMerged revisions 373179 via svnmerge from
Automerge script [Wed, 19 Sep 2012 17:19:21 +0000 (17:19 +0000)] 
Merged revisions 373179 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373179 | file | 2012-09-19 12:05:47 -0500 (Wed, 19 Sep 2012) | 13 lines

  Fix a regression where direct media was not permitted for calls using SIP INFO DTMF.

  A change was committed to fix direct media ACL support. This change wrongly assumed that
  only a single channel technology structure exists for chan_sip. This is in fact false as
  a second exists for calls using SIP INFO DTMF. The code which performs direct media ACL
  checking now checks for both the non-INFO DTMF and INFO DTMF channel technology structures.

  (closes issue ASTERISK-20409)
  Reported by: michele cicciotti privatewave
  ........

  Merged revisions 373165 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373132 via svnmerge from
Automerge script [Tue, 18 Sep 2012 20:25:16 +0000 (20:25 +0000)] 
Merged revisions 373132 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373132 | seanbright | 2012-09-18 15:13:21 -0500 (Tue, 18 Sep 2012) | 10 lines

  Don't crash when passing a NULL message to __astman_get_header.

  Before this commit, __astman_get_header would blindly dereference the passed in
  'struct message *' to traverse the header list.  There are cases, however, such
  as '*CLI> sip qualify peer foo' where the message pointer is NULL, so we need
  to check for that.
  ........

  Merged revisions 373131 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373101 via svnmerge from
Automerge script [Sat, 15 Sep 2012 00:21:35 +0000 (00:21 +0000)] 
Merged revisions 373101 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373101 | rmudgett | 2012-09-14 19:20:21 -0500 (Fri, 14 Sep 2012) | 20 lines

  Made companding law for SS7 calls only determined by SS7 signaling type.

  For SS7, the companding law for a call was chosen inconsistently depending
  upon ss7type (ITU vs ANSI) and the DAHDI companding default (T1 vs E1).
  For incoming calls, the companding law was determined by ss7type.  For
  outgoing calls, the companding law was determined by the DAHDI default.
  With the wrong combination you would get A-law/u-law conflicts.  An
  A-law/u-law conflict sounds like bad static on the line.

  SS7 ITU  signaling with E1 line: ok
  SS7 ITU  signaling with T1 line: noise
  SS7 ANSI signaling with E1 line: noise
  SS7 ANSI signaling with T1 line: ok

  * Fix the companding law used to be determined by the SS7 signaling type
  only.
  ........

  Merged revisions 373090 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373059,373062 via svnmerge from
Automerge script [Fri, 14 Sep 2012 19:28:57 +0000 (19:28 +0000)] 
Merged revisions 373059,373062 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373059 | mjordan | 2012-09-14 13:28:40 -0500 (Fri, 14 Sep 2012) | 16 lines

  Constify __ao2_ref_debug in astobj2

  When REF_DEBUG is enabled in certain files - most notably ccss.c - the 'tag'
  parameter passed to __ao2_ref_debug will be a const char *.  The function
  currently expects that parameter to not be const.  This causes a warning
  when compiling, as the const qualifier is being discarded.  With dev-mode
  enabled, this prevents compiling Asterisk.

  This patch makes __ao2_ref_debug's tag and file parameters const.

  (closes issue ASTERISK-20408)
  Reported by: mjordan
  ........

  Merged revisions 372959 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r373062 | mjordan | 2012-09-14 14:12:48 -0500 (Fri, 14 Sep 2012) | 30 lines

  Resolve memory leaks in TLS initialization and TLS client connections

  This patch resolves two sources of memory leaks when using TLS in Asterisk:
  1) It removes improper initialization (and multiple re-initializations) of
     portions of the SSL library.  Asterisk calls SSL_library_init and
     SSL_load_error_strings during SSL initialization; collectively this
     obviates the need for calling any of the following during initialization
     or client connection handling:
     * ERR_load_crypto_strings (handled by SSL_load_error_strings)
     * OpenSSL_add_all_algorithms (synonym for SSL_library_init)
     * SSLeay_add_ssl_algorithms (synonym for SSL_library_init)
  2) Failure to completely clean up all memory allocated by Asterisk and by
     the SSL library for TLS clients.  This included not freeing the SSL_CTX
     object in the SIP channel driver, as well as not clearing the error
     stack when the TLS client exited.

  Note that these memory leaks were found by Thomas Arimont, and this patch
  was essentially written by him with some minor tweaks.

  (closes issue AST-889)
  Reported by: Thomas Arimont
  Tested by: Thomas Arimont
  patches:
    (bugAST-889.patch) by Thomas Arimont (license 5525)

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

  Merged revisions 373061 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 373025 via svnmerge from
Automerge script [Thu, 13 Sep 2012 19:23:30 +0000 (19:23 +0000)] 
Merged revisions 373025 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r373025 | dlee | 2012-09-13 13:44:30 -0500 (Thu, 13 Sep 2012) | 18 lines

  Fix timeouts for ast_waitfordigit[_full].

  ast_waitfordigit_full would simply pass its timeout to ast_waitfor_nandfds,
  expecting it to decrement the timeout by however many milliseconds were
  waited. This is a problem if it consistently waits less than 1ms. The timeout
  will never be decremented, and we wait... FOREVER!

  This patch makes ast_waitfordigit_full manage the timeout itself. It maintains
  the previously undocumented behavior that negative timeouts wait forever.

  (closes issue ASTERISK-20375)
  Reported by: Mark Michelson
  Tested by: Mark Michelson
  Review: https://reviewboard.asterisk.org/r/2109/
  ........

  Merged revisions 373024 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372933 via svnmerge from
Automerge script [Wed, 12 Sep 2012 15:26:56 +0000 (15:26 +0000)] 
Merged revisions 372933 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372933 | mmichelson | 2012-09-12 09:53:35 -0500 (Wed, 12 Sep 2012) | 10 lines

  Add channel name to a warning to make debugging easier.

  The "autodestruct with owner in place" message is typically
  indicative of a channel reference leak. Printing out the name
  of the channel in the message may be helpful when trying to
  debug the issue.
  ........

  Merged revisions 372932 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372916 via svnmerge from
Automerge script [Tue, 11 Sep 2012 23:22:10 +0000 (23:22 +0000)] 
Merged revisions 372916 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372916 | jrose | 2012-09-11 17:23:20 -0500 (Tue, 11 Sep 2012) | 13 lines

  chan_local: Switch from using a random 4 digit hex identifier to unique id

  Changes chan_local channels to use an 8 digit hex identifier generated
  atomically and sequentially in order to eliminate the chance of having
  multiple channels with the same name during high call volume situations.

  (issue ASTERISK-20318)
  Reported by: Dan Cropp
  Review: https://reviewboard.asterisk.org/r/2104/
  ........

  Merged revisions 372902 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372885 via svnmerge from
Automerge script [Tue, 11 Sep 2012 21:22:13 +0000 (21:22 +0000)] 
Merged revisions 372885 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

........
  r372885 | mmichelson | 2012-09-11 16:04:36 -0500 (Tue, 11 Sep 2012) | 18 lines

  Fix inability to shutdown gracefully due to an unending channel reference.

  message.c makes use of a special message queue channel that exists
  in thread storage. This channel never goes away due to the fact that
  the taskprocessor used by message.c does not get shut down, meaning
  that it never ends the thread that stores the channel.

  This patch fixes the problem by shutting down the taskprocessor when
  Asterisk is shut down. In addition, the thread storage has a destructor
  that will release the channel reference when the taskprocessor is destroyed.

  (closes issue AST-937)
  Reported by Jason Parker
  Patches:
   AST-937.patch uploaded by Mark Michelson (License #5049)
  Tested by Jason Parker
........

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

12 years agoMerged revisions 372863 via svnmerge from
Automerge script [Tue, 11 Sep 2012 17:19:08 +0000 (17:19 +0000)] 
Merged revisions 372863 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

........
  r372863 | dlee | 2012-09-11 12:14:06 -0500 (Tue, 11 Sep 2012) | 4 lines

  Corrects the astsbindir setting when installing the sample asterisk.conf.

  (closes issue ASTERISK-20406)
........

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

12 years agoMerged revisions 372841 via svnmerge from
Automerge script [Tue, 11 Sep 2012 16:22:33 +0000 (16:22 +0000)] 
Merged revisions 372841 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372841 | mmichelson | 2012-09-11 10:30:37 -0500 (Tue, 11 Sep 2012) | 15 lines

  Fix bad channel application data reference.

  When channels get bridged due to an AMI bridge action
  or a DTMF attended transfer, the two channels that
  get bridged have their application data pointing to
  the other channel's name. This means that if one channel
  is hung up but the other moves on, it means that the
  channel that moves on will have its application data
  pointing at freed memory.

  (issue ASTERISK-20335)
  ........

  Merged revisions 372840 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372805 via svnmerge from
Automerge script [Mon, 10 Sep 2012 21:25:14 +0000 (21:25 +0000)] 
Merged revisions 372805 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372805 | kmoore | 2012-09-10 15:56:35 -0500 (Mon, 10 Sep 2012) | 13 lines

  Ensure iax2 debug output is displayed when expected

  When IAX2 debug was changed from iax_showframe to iax_outputframe,
  some instances were missed (or added afterward). This was causing
  debug output to not be displayed when expected.

  (closes issue ASTERISK-20338)
Reported-by: John Covert
Patch-by: John Covert
  ........

  Merged revisions 372804 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372764,372767 via svnmerge from
Automerge script [Mon, 10 Sep 2012 19:24:57 +0000 (19:24 +0000)] 
Merged revisions 372764,372767 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372764 | kmoore | 2012-09-10 13:32:51 -0500 (Mon, 10 Sep 2012) | 12 lines

  Warn on CLI when UDPTL init fails

  This adds a CLI warning when a SDP offer is rejected due to UDPTL
  initialization failure. Previously, there was no indication of the
  reason for offer rejection in this case.

  (closes issue ASTERISK-20357)
Reported-by: Francesco Usseglio Gaudi
  ........

  Merged revisions 372763 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r372767 | jrose | 2012-09-10 13:41:45 -0500 (Mon, 10 Sep 2012) | 8 lines

  app_meetme: Document that 'p' option will continue in dialplan.

  (closes issue AST-991)
  Reported by John Bigelow
  ........

  Merged revisions 372765 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372737 via svnmerge from
Automerge script [Mon, 10 Sep 2012 17:22:47 +0000 (17:22 +0000)] 
Merged revisions 372737 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372737 | jrose | 2012-09-10 12:14:46 -0500 (Mon, 10 Sep 2012) | 15 lines

  Masquerade: Retain parkinglot settings made by CHANNEL function.

  Prior to this patch, the user would have a parkinglot set on a channel that
  was parked and when the channel was retrieved, any attempt by that channel
  to park would simply use the default. This patch makes parkinglot values
  set in this way be retained through the masquerade.

  (closes issue AST-990)
  Reported by: Nick Huskinson
  Patches:
      masquerade_parkinglot_patch.diff Uploaded by Jonathan Rose (license 6182)
  ........

  Merged revisions 372736 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372710 via svnmerge from
Automerge script [Sun, 9 Sep 2012 02:26:55 +0000 (02:26 +0000)] 
Merged revisions 372710 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372710 | mjordan | 2012-09-08 20:24:36 -0500 (Sat, 08 Sep 2012) | 24 lines

  Only re-create an SRTP session when needed

  In r356604, SRTP handling was fixed to accomodate multiple crypto keys in an
  SDP offer and the ability to re-create an SRTP session when the crypto keys
  changed.  In certain circumstances - most notably when a phone is put on
  hold after having been bridged for a significant amount of time - the act
  of re-creating the SRTP session causes problems for certain models of phones.
  The patch committed in r356604 always re-created the SRTP session regardless
  of whether or not the cryptographic keys changed.  Since this is technically
  not necessary, this patch modifies the behavior to only re-create the SRTP
  session if Asterisk detects that the remote key has changed.  This allows
  models of phones that do not handle the SRTP session changing to continue
  to work, while also providing the behavior needed for those phones that do
  re-negotiate cryptographic keys.

  (issue ASTERISK-20194)
  Reported by: Nicolo Mazzon
  Tested by: Nicolo Mazzon

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

  Merged revisions 372709 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372695 via svnmerge from
Automerge script [Sat, 8 Sep 2012 06:19:10 +0000 (06:19 +0000)] 
Merged revisions 372695 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372695 | dlee | 2012-09-08 00:21:41 -0500 (Sat, 08 Sep 2012) | 10 lines

  Add OPENSSL_INCLUDE to the CFLAGS for ssl.c and tcptls.c.

  Without this flag, those files will compile with the system installed
  OpenSSL headers (if they exist). This is a real bummer if a different
  path was specified using --with-ssl=

  (closes issue ASTERISK-20392)
  ........
  Merged revisions 372682 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372656 via svnmerge from
Automerge script [Fri, 7 Sep 2012 23:24:26 +0000 (23:24 +0000)] 
Merged revisions 372656 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372656 | rmudgett | 2012-09-07 18:06:38 -0500 (Fri, 07 Sep 2012) | 8 lines

  Fix MALLOC_DEBUG version of ast_strndup().

  (closes issue ASTERISK-20349)
  Reported by: Brent Eagles
  ........

  Merged revisions 372655 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372621,372625,372629 via svnmerge from
Automerge script [Fri, 7 Sep 2012 22:25:26 +0000 (22:25 +0000)] 
Merged revisions 372621,372625,372629 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372621 | rmudgett | 2012-09-07 16:24:39 -0500 (Fri, 07 Sep 2012) | 18 lines

  Fix VoicemailUserEntry event headers ServerEmail and MailCommand reported values.

  The AMI action VoicemailUsersList VoicemailUserEntry event headers
  ServerEmail and MailCommand did not report the global values if they were
  not overridden.  The VoicemailUserEntry event header ServerEmail was not
  populated with the global value if the voicemail user did not override it.
  The VoicemailUserEntry event header MailCommand was never populated with a
  value.

  * Removed unused struct ast_vm_user member mailcmd[].

  (closes issue AST-973)
  Reported by: John Bigelow
  Tested by: rmudgett
  ........

  Merged revisions 372620 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r372625 | rmudgett | 2012-09-07 16:49:16 -0500 (Fri, 07 Sep 2012) | 10 lines

  Fix exception path typo in app_queue.c try_calling().

  (closes issue ASTERISK-20380)
  Reported by: Jeremy Pepper
  Patches:
        fix-local-channel-locking.patch (license #6350) patch uploaded by Jeremy Pepper
  ........

  Merged revisions 372624 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r372629 | rmudgett | 2012-09-07 17:07:59 -0500 (Fri, 07 Sep 2012) | 8 lines

  Remove annoying unconditional debug message from INC/DEC functions.

  (closes issue AST-1001)
  Reported by: Guenther Kelleter
  ........

  Merged revisions 372628 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372582 via svnmerge from
Automerge script [Fri, 7 Sep 2012 03:24:26 +0000 (03:24 +0000)] 
Merged revisions 372582 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372582 | mjordan | 2012-09-06 21:25:36 -0500 (Thu, 06 Sep 2012) | 13 lines

  Free ast_str objects when temp file fails to be created in MiniVM

  The previous commit (r372554) was from a patch that was written before
  r366880, which ensured that ast_str objects allocated in the sendmail
  routine were free'd in off nominal paths.  This commit frees the
  string objects in the off nominal path introduced in r372554.

  (issue ASTERISK-17133)
  Reported by: Tzafrir Cohen
  ........

  Merged revisions 372581 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372555 via svnmerge from
Automerge script [Fri, 7 Sep 2012 02:24:26 +0000 (02:24 +0000)] 
Merged revisions 372555 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372555 | mjordan | 2012-09-06 21:11:46 -0500 (Thu, 06 Sep 2012) | 22 lines

  Fix file descriptor leak and pointer scope issue in MiniVM when sending mail

  When MiniVM sends an e-mail and it has the volgain option set, it will spawn
  sox in a separate process to handle the manipulation of the sound file.  In
  doing so, it creates a temporary file.  There are two problems here:
    1) The file descriptor returned from mkstemp is leaked
    2) The finalfilename character pointer points to a buffer that loses scope
       once volgain processing is finished.

  Note that in r316265, Russell fixed some gcc warnings by using the return
  value of the mkstemp call.  A warning was placed in minivm that the file
  descriptor was going to be leaked.  This patch reverts that change, as it
  handles the leak and 'uses' the file descriptor returned from mkstemp.

  (closes issue ASTERISK-17133)
  Reported by: Tzafrir Cohen
  patches:
    minivm_18501_demo.diff uploaded by Tzafrir Cohen (license #5035)
  ........

  Merged revisions 372554 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372518,372522 via svnmerge from
Automerge script [Thu, 6 Sep 2012 22:24:38 +0000 (22:24 +0000)] 
Merged revisions 372518,372522 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372518 | kmoore | 2012-09-06 16:40:50 -0500 (Thu, 06 Sep 2012) | 14 lines

  Ensure listed queues are not offered for completion

  When using tab-completion for the list of queues on "queue reset stats"
  or "queue reload {all|members|parameters|rules}", the tab-completion
  listing for further queues erroneously listed queues that had already
  been added to the list. The tab-completion listing now only displays
  queues that are not already in the list.

  (closes issue AST-963)
Reported-by: John Bigelow
  ........

  Merged revisions 372517 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r372522 | rmudgett | 2012-09-06 17:10:04 -0500 (Thu, 06 Sep 2012) | 22 lines

  Fix loss of MOH on an ISDN channel when parking a call for the second time.

  Using the AMI redirect action to take an ISDN call out of a parking lot
  causes the MOH state to get confused.  The redirect action does not take
  the call off of hold.  When the call is subsequently parked again, the
  call no longer hears MOH.

  * Make chan_dahdi/sig_pri restart MOH on repeated AST_CONTROL_HOLD frames
  if it is already in a state where it is supposed to be sending MOH.  The
  MOH may have been stopped by other means.  (Such as killing the generator.)

  This simple fix is done rather than making the AMI redirect action post an
  AST_CONTROL_UNHOLD unconditionally when it redirects a channel and thus
  potentially breaking something with an unexpected AST_CONTROL_UNHOLD.

  (closes issue ABE-2873)
  Patches:
        jira_abe_2873_c.3_bier.patch (license #5621) patch uploaded by rmudgett
  ........

  Merged revisions 372521 from https://origsvn.digium.com/svn/asterisk/be/branches/C.3-bier
................

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

12 years agoMerged revisions 372499 via svnmerge from
Automerge script [Thu, 6 Sep 2012 19:22:43 +0000 (19:22 +0000)] 
Merged revisions 372499 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

........
  r372499 | dsessions | 2012-09-06 13:54:54 -0500 (Thu, 06 Sep 2012) | 16 lines

  LDAP Realtime Peers Cannot Register

  Prior to 1.8, it was not necessary for an explicit "type" to be set for an
  asterisk LDAP realtime peer. Now the routine find_peer actually checks the
  type field during registration and fails to find the peer if it is not set.

  The attached patches make the realtime type equal whatever type is being
  searched for if the type is 0 upon return from routine build_peer.

  (closes issue ASTERISK-17222)
  Reported by: John Covert
  Patch by: David Vossel
  Tested by: Darren Sessions

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

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

12 years agoMerged revisions 372472 via svnmerge from
Automerge script [Thu, 6 Sep 2012 17:20:44 +0000 (17:20 +0000)] 
Merged revisions 372472 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372472 | jrose | 2012-09-06 10:54:38 -0500 (Thu, 06 Sep 2012) | 15 lines

  chan_sip: Note change in behavior to how directmediapermit/deny ACL works

  r366547 introduced a change to the directmedia ACL for chan_sip which
  modified the behavior significantly. Prior to the patch, this option would
  bridge peers with directmedia if a peer's IP address matched its own
  directmedia ACL. After that patch, the peer would check the bridged peer's
  ACL instead. This change has been present since 1.8.14.0. That patched failed
  to document the change in Upgrade.txt, so this patch adds mention of that
  change to UPGRADE.txt (UPGRADE-1.8.txt in newer branches)

  (issue AST-876)
  ........

  Merged revisions 372471 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372445 via svnmerge from
Automerge script [Thu, 6 Sep 2012 15:26:00 +0000 (15:26 +0000)] 
Merged revisions 372445 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372445 | kmoore | 2012-09-06 09:29:35 -0500 (Thu, 06 Sep 2012) | 14 lines

  Ensure "rules" is tab-completable for "queue show"

  Previously, tabbing at the end of "queue show" produced a list of
  available queues about which information could be shown, but did not
  include an alternative command, "rules", to access information about
  queue rules. The "rules" item should now be shown in the list of
  tab-completable items.

  (closes issue AST-958)
Reported-by: John Bigelow
  ........

  Merged revisions 372444 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372418 via svnmerge from
Automerge script [Thu, 6 Sep 2012 03:24:25 +0000 (03:24 +0000)] 
Merged revisions 372418 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372418 | mjordan | 2012-09-05 21:49:41 -0500 (Wed, 05 Sep 2012) | 25 lines

  Fix DUNDi message routing bug when neighboring peer is unreachable

  Consider a scenario where DUNDi peer PBX1 has two peers that are its neighbors,
  PBX2 and PBX3, and where PBX2 and PBX3 are also neighbors.  If the connection
  is temporarily broken between PBX1 and PBX3, PBX1 should not include PBX3 in
  the list of peers it sends to PBX2 in a DPDISCOVER message, as it cannot send
  messages to PBX3.  If it does, PBX2 will assume that PBX3 already received the
  message and fail to forward the message on to PBX3 itself.  This patch fixes
  this by only including peers in a DPDISCOVER message that are reachable by the
  sending node.  This includes all peers with an empty address
  (00:00:00:00:00:00) and that are have been reached by a qualify message.

  This patch also prevents attempting to qualify a dynamic peer with an empty
  address until that peer registers.

  (closes issue ASTERISK-19309)
  Reported by: Peter Racz
  patches:
    dundi_routing.patch uploaded by Peter Racz (license 6290)

  The patch uploaded by Peter was modified slightly for this commit.
  ........

  Merged revisions 372417 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372391 via svnmerge from
Automerge script [Thu, 6 Sep 2012 01:24:25 +0000 (01:24 +0000)] 
Merged revisions 372391 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372391 | mjordan | 2012-09-05 19:56:47 -0500 (Wed, 05 Sep 2012) | 24 lines

  Allow configured numbers for FollowMe to be greater than 90 characters

  When parsing a 'number' defined in followme.conf, FollowMe previously parsed
  the number in the configuration file into a buffer with a length of 90
  characters.  This can artificially limit some parallel dial scenarios.  This
  patch allows for numbers of any length to be defined in the configuration
  file.

  Note that Clod Patry originally wrote a patch to fix this problem and received
  a Ship It! on the JIRA issue.  The patch originally expanded the buffer to 256
  characters.  Instead, the patch being committed duplicates the string in the
  config file on the stack before parsing it for consumption by the application.

  (closes issue ASTERISK-16879)
  Reported by: Clod Patry
  Tested by: mjordan
  patches:
    followme_no_limit.diff uploaded by Clod Patry (license #5138)

  Slightly modified for this commit.
  ........

  Merged revisions 372390 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372372 via svnmerge from
Automerge script [Wed, 5 Sep 2012 20:22:41 +0000 (20:22 +0000)] 
Merged revisions 372372 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

........
  r372372 | rmudgett | 2012-09-05 14:42:17 -0500 (Wed, 05 Sep 2012) | 1 line

  Fix compile error.
........

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

12 years agoMerged revisions 372338,372341,372358 via svnmerge from
Automerge script [Wed, 5 Sep 2012 19:25:56 +0000 (19:25 +0000)] 
Merged revisions 372338,372341,372358 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372338 | kmoore | 2012-09-05 13:30:49 -0500 (Wed, 05 Sep 2012) | 13 lines

  Ensure counts generated in manager_show_dialplan_helper are correct

  When manager_show_dialplan_helper was written, the counter increment
  for the total number of contexts was placed with the extensions
  increment instead of in the enclosing loop.  This function should
  now generate correct context counts.

  (closes issue AST-970)
Reported-by: John Bigelow
  ........

  Merged revisions 372337 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r372341 | alecdavis | 2012-09-05 13:43:12 -0500 (Wed, 05 Sep 2012) | 7 lines

  dsp.c: in ast_mf_detect_init incorrectly sets goertzel samples to 160, should be MF_GSIZE

  Related https://reviewboard.asterisk.org/r/2097/
  ........

  Merged revisions 372339 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r372358 | kmoore | 2012-09-05 14:22:08 -0500 (Wed, 05 Sep 2012) | 13 lines

  Correct documentation for ModuleLoad AMI action

  The documentation incorrectly listed 'rtp' as a reloadable subsystem
  and left out many other reloadable subsystems. It is now also
  documented that subsystems may only be reloaded, not loaded or
  unloaded.

  (closes issue AST-977)
Reported-by: John Bigelow
  ........

  Merged revisions 372354 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372288 via svnmerge from
Automerge script [Wed, 5 Sep 2012 14:22:36 +0000 (14:22 +0000)] 
Merged revisions 372288 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372288 | mjordan | 2012-09-05 08:42:54 -0500 (Wed, 05 Sep 2012) | 27 lines

  Fix memory leaks in app_voicemail when using IMAP storage or realtime config

  This patch fixes two memory leaks:

  1. When find_user is called with NULL as its first parameter, the voicemail
     user returned is allocated on the heap.  The inboxcount2 function uses
     find_user in such a fashion when counting new messages, and fails to free
     the resulting voicemail user object.

  2. When populate_defaults is called on a voicemail user, it wipes whatever
     flags have been set on the object by copying over the global flags object.
     If the VM_ALLOCED flag was ste on the voicemail user prior to doing so,
     that flag is removed.  This leaks the voicemail user when free_user is later
     called.

  (closes issue ASTERISK-19155)
  Reported by: Filip Jenicek
  patches:
    asterisk.patch2 uploaded by Filip Jenicek (license 6277)

  Patch slightly modified for this commit.

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

  Merged revisions 372268 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372240 via svnmerge from
Automerge script [Wed, 5 Sep 2012 08:25:44 +0000 (08:25 +0000)] 
Merged revisions 372240 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372240 | alecdavis | 2012-09-05 02:37:42 -0500 (Wed, 05 Sep 2012) | 21 lines

  dsp.c: Fix multiple issues when no-interdigit delay is present, and fast DTMF 50ms/50ms

  Revert DTMF hit/miss detector to original -r349249 method with some changes, remove unnecessary;
    1. reseting of hits=0, when no signal, only need to set it once.
    2. incrementing of hits, when the hit is the same as the current hit.
    3. setting of lasthit, when it's the same as before.

  Change HITS_TO_BEGIN to 2, MISSES_TO_END to 3

  & 3 spelling mistakes

  (closes issue ASTERISK-19610)
  alecdavis (license 585)
  Reported by: Jean-Philippe Lord
  Tested by: alecdavis

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

  Merged revisions 372239 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372213 via svnmerge from
Automerge script [Wed, 5 Sep 2012 07:25:25 +0000 (07:25 +0000)] 
Merged revisions 372213 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372213 | alecdavis | 2012-09-05 01:47:54 -0500 (Wed, 05 Sep 2012) | 13 lines

  dsp.c: optimize goerztzel sample loops, in dtmf_detect, mf_detect and tone_detect

  use a temporary short int when repeatedly used to call goertzel_sample.

  alecdavis (license 585)
  Reported by: alecdavis
  Tested by: alecdavis

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

  Merged revisions 372212 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372198 via svnmerge from
Automerge script [Wed, 5 Sep 2012 05:22:21 +0000 (05:22 +0000)] 
Merged revisions 372198 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372198 | elguero | 2012-09-04 23:47:00 -0500 (Tue, 04 Sep 2012) | 19 lines

  Fix Incrementing Sequence Number For Retransmitted DTMF End Packets

  In Asterisk 1.4+, a fix was put in place to increment the sequence number for
  retransmitted DTMF end packets.  With the introduction of the RTP engine API in
  1.8, the sequence number was no longer being incremented.  This patch fixes this
  regression as well as cleans up a few lines that were not doing anything.

  (closes issue ASTERISK-20295)
  Reported by: Nitesh Bansal
  Tested by: Michael L. Young
  Patches:
  01_rtp_event_seq_num.patch uploaded by Nitesh Bansal (license 6418)
  asterisk-20295-dtmf-fix-cleanup.diff uploaded by Michael L. Young (license 5026)

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

  Merged revisions 372185 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372165 via svnmerge from
Automerge script [Wed, 5 Sep 2012 02:22:04 +0000 (02:22 +0000)] 
Merged revisions 372165 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372165 | mjordan | 2012-09-04 21:19:25 -0500 (Tue, 04 Sep 2012) | 18 lines

  Fix memory leak when CEL is successfully written to PostgreSQL database

  PQClear is not called when the result object of a call to PQExec has a
  status of PGRES_COMMAND_OK.  Interestingly enough, the off nominal case was
  handled properly, so this memory leak only occurred when CEL records were
  successfully written.

  This patch properly clears the result in the nominal code path.

  (closes issue ASTERISK-19991)
  Reported by: Etienne Lessard
  Tested by: Etienne Lessard
  patches:
    mem_leak_cel_pgsql.patch uploaded by Etienne Lessard (license #6394)
  ........

  Merged revisions 372158 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372090 via svnmerge from
Automerge script [Thu, 30 Aug 2012 21:24:42 +0000 (21:24 +0000)] 
Merged revisions 372090 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372090 | mmichelson | 2012-08-30 15:53:09 -0500 (Thu, 30 Aug 2012) | 17 lines

  Prevent crash on shutdown due to refcount error on queues container.

  When app_queue is unloaded, the queues container has its refcount
  decremented, potentially to 0. Then the taskprocessor responsible
  for handling device state changes is unreferenced. If the
  taskprocessor happens to be just about to run its task, then it
  will create and destroy an iterator on the queues container.
  This can cause the refcount on the queues container to increase to
  1 and then back to 0. Going back to 0 a second time results in
  double frees.

  This failure was seen periodically in the testsuite when Asterisk
  would shut down.
  ........

  Merged revisions 372089 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 372049 via svnmerge from
Automerge script [Thu, 30 Aug 2012 19:24:57 +0000 (19:24 +0000)] 
Merged revisions 372049 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r372049 | mmichelson | 2012-08-30 13:33:37 -0500 (Thu, 30 Aug 2012) | 16 lines

  Help prevent ringing queue members from being rung when ringinuse set to no.

  Queue member status would not always get updated properly when the member
  was called, thus resulting in the member getting multiple calls. With this
  change, we update the member's status at the time of calling, and we also
  check to make sure the member is still available to take the call before
  placing an outbound call.

  (closes issue ASTERISK-16115)
  reported by nik600
  Patches:
   app_queue.c-svn-r370418.patch uploaded by Italo Rossi (license #6409)
  ........

  Merged revisions 372048 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 371999,372020 via svnmerge from
Automerge script [Thu, 30 Aug 2012 16:24:38 +0000 (16:24 +0000)] 
Merged revisions 371999,372020 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r371999 | mjordan | 2012-08-30 11:06:47 -0500 (Thu, 30 Aug 2012) | 36 lines

  AST-2012-012: Resolve AMI User Unauthorized Shell Access through ExternalIVR

  The AMI Originate action can allow a remote user to specify information that can
  be used to execute shell commands on the system hosting Asterisk. This can
  result in an unwanted escalation of permissions, as the Originate action, which
  requires the "originate" class authorization, can be used to perform actions
  that would typically require the "system" class authorization. Previous attempts
  to prevent this permission escalation (AST-2011-006, AST-2012-004) have sought
  to do so by inspecting the names of applications and functions passed in with
  the Originate action and, if those applications/functions matched a predefined
  set of values, rejecting the command if the user lacked the "system" class
  authorization. As reported by IBM X-Force Research, the "ExternalIVR"
  application is not listed in the predefined set of values. The solution for
  this particular vulnerability is to include the "ExternalIVR" application in the
  set of defined applications/functions that require "system" class authorization.

  Unfortunately, the approach of inspecting fields in the Originate action against
  known applications/functions has a significant flaw. The predefined set of
  values can be bypassed by creative use of the Originate action or by certain
  dialplan configurations, which is beyond the ability of Asterisk to analyze at
  run-time. Attempting to work around these scenarios would result in severely
  restricting the applications or functions and prevent their usage for legitimate
  means. As such, any additional security vulnerabilities, where an
  application/function that would normally require the "system" class
  authorization can be executed by users with the "originate" class authorization,
  will not be addressed. Instead, the README-SERIOUSLY.bestpractices.txt file has
  been updated to reflect that the AMI Originate action can result in commands
  requiring the "system" class authorization to be executed. Proper system
  configuration can limit the impact of such scenarios.

  (closes issue ASTERISK-20132)
  Reported by: Zubair Ashraf of IBM X-Force Research
  ........

  Merged revisions 371998 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r372020 | mjordan | 2012-08-30 11:22:54 -0500 (Thu, 30 Aug 2012) | 17 lines

  AST-2012-013: Resolve ACL rules being ignored during calls by some IAX2 peers

  When an IAX2 call is made using the credentials of a peer defined in a dynamic
  Asterisk Realtime Architecture (ARA) backend, the ACL rules for that peer are
  not applied to the call attempt. This allows for a remote attacker who is aware
  of a peer's credentials to bypass the ACL rules set for that peer.

  This patch ensures that the ACLs are applied for all peers, regardless of their
  storage mechanism.

  (closes issue ASTERISK-20186)
  Reported by: Alan Frisch
  Tested by: mjordan, Alan Frisch
  ........

  Merged revisions 372015 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 371962 via svnmerge from
Automerge script [Thu, 30 Aug 2012 13:26:31 +0000 (13:26 +0000)] 
Merged revisions 371962 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r371962 | mjordan | 2012-08-30 07:48:07 -0500 (Thu, 30 Aug 2012) | 17 lines

  Restore CODING-GUIDELINES to doc folder

  In r294740, the CODING-GUIDELINES was removed from the doc folder in favor
  of the content on the Asterisk wiki.  Some folks still look in the doc folder
  initially for coding guideline suggestions; as such, this patch adds a
  CODING-GUIDELINES file back into the doc folder.  The content of the file
  merely points to the correct page on the Asterisk wiki where the coding
  guidelines currently live.

  (closes issue ASTERISK-20279)
  Reported by: Andrew Latham
  Patches:
    CODING-GUIDELINES.diff uploaded by Andrew Latham (license 5985)
  ........

  Merged revisions 371961 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 371920 via svnmerge from
Automerge script [Wed, 29 Aug 2012 21:24:59 +0000 (21:24 +0000)] 
Merged revisions 371920 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r371920 | jrose | 2012-08-29 15:58:21 -0500 (Wed, 29 Aug 2012) | 5 lines

  app_meetme: Adding test events for following activity in MeetMe.
  ........

  Merged revisions 371919 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 371890 via svnmerge from
Automerge script [Wed, 29 Aug 2012 20:25:06 +0000 (20:25 +0000)] 
Merged revisions 371890 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r371890 | rmudgett | 2012-08-29 14:40:20 -0500 (Wed, 29 Aug 2012) | 13 lines

  Initialize file descriptors for dummy channels to -1.

  Dummy channels usually aren't read from, but functions like SHELL and CURL
  use autoservice on the channel.

  (closes issue ASTERISK-20283)
  Reported by: Gareth Palmer
  Patches:
        svn-371580.patch (license #5169) patch uploaded by Gareth Palmer (modified)
  ........

  Merged revisions 371888 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 371861 via svnmerge from
Automerge script [Wed, 29 Aug 2012 19:24:57 +0000 (19:24 +0000)] 
Merged revisions 371861 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r371861 | rmudgett | 2012-08-29 13:24:54 -0500 (Wed, 29 Aug 2012) | 15 lines

  Fix hangup cause passthrough regression.

  The v1.8 -r369258 change to fix the F and F(x) action logic introduced a
  regression in passing the hangup cause from the called channel to the
  caller channel.

  (closes issue ASTERISK-20287)
  Reported by: Konstantin Suvorov
  Patches:
        app_dial_hangupcause.patch (license #6421) patch uploaded by Konstantin Suvorov (modified)
  Tested by: rmudgett
  ........

  Merged revisions 371860 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 371825 via svnmerge from
Automerge script [Wed, 29 Aug 2012 17:26:46 +0000 (17:26 +0000)] 
Merged revisions 371825 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r371825 | jrose | 2012-08-29 12:07:35 -0500 (Wed, 29 Aug 2012) | 8 lines

  chan_sip: Send 408 on retransmit timeout instead of 603

  (closes issue ASTERISK-20124)
  Reported by: Walter Doekes
  ........

  Merged revisions 371824 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 371783,371789 via svnmerge from
Automerge script [Mon, 27 Aug 2012 22:25:07 +0000 (22:25 +0000)] 
Merged revisions 371783,371789 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r371783 | mmichelson | 2012-08-27 16:29:29 -0500 (Mon, 27 Aug 2012) | 9 lines

  Fix incorrect documentation of the MailboxStatus manager command.

  The "Waiting" field was misdocumented as reporting the number of
  messages waiting. In reality, it simply indicated the presence or
  absence of waiting messages.
  ........

  Merged revisions 371782 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r371789 | mmichelson | 2012-08-27 16:49:51 -0500 (Mon, 27 Aug 2012) | 13 lines

  Fix misleading documentation in agents.conf.sample regarding ackcall usage.

  The documentation made it sound as if the DTMF acknowledgment was needed
  at the time the agent logs in, rather than when the agent is called. This
  is likely a relic from the days when there were multiple ways of logging
  in agents.

  (closes issue AST-962)
  reported by Steve Pitts
  ........

  Merged revisions 371787 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 371748 via svnmerge from
Automerge script [Mon, 27 Aug 2012 18:25:10 +0000 (18:25 +0000)] 
Merged revisions 371748 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r371748 | mmichelson | 2012-08-27 12:36:43 -0500 (Mon, 27 Aug 2012) | 10 lines

  Fix incorrectly documented option in queues.conf

  sharedlastcall defaults to "no" not "yes"

  (closes issue AST-979)
  reported by Steve Pitts
  ........

  Merged revisions 371747 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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

12 years agoMerged revisions 371719 via svnmerge from
Automerge script [Mon, 27 Aug 2012 17:24:42 +0000 (17:24 +0000)] 
Merged revisions 371719 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r371719 | dlee | 2012-08-27 11:43:09 -0500 (Mon, 27 Aug 2012) | 15 lines

  Fixes ast_rwlock_timed[rd|wr]lock for BSD and variants.

  The original implementations simply wrap pthread functions, which take
  absolute time as an argument. The spinlock version for systems without
  those functions treated the argument as a delta. This patch fixes the
  spinlock version to be consistent with the pthread version.

  (closes issue ASTERISK-20240)
  Reported by: Egor Gorlin
  Patches:
   lock.c.patch uploaded by Egor Gorlin (license 6416)
  ........

  Merged revisions 371718 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

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