asterisk/asterisk.git
11 years agoMerged revisions 331956 via svnmerge from
Richard Mudgett [Mon, 15 Aug 2011 17:36:47 +0000 (17:36 +0000)]
Merged revisions 331956 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r331956 | rmudgett | 2011-08-15 12:35:03 -0500 (Mon, 15 Aug 2011) | 20 lines

  Merged revisions 331955 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r331955 | rmudgett | 2011-08-15 12:24:08 -0500 (Mon, 15 Aug 2011) | 13 lines

    Fix some minor chan_dahdi config load issues.

    * Address chan_dahdi.conf dahdichan option todo item about needing line
    number.

    * Make ignore_failed_channels option also apply to dahdichan option.

    * Don't attempt to create a default pseudo channel if the chan_dahdi.conf
    channel/channels option is not allowed.

    * Add a similar check for dahdichan in normal chan_dahdi.conf sections as
    is done in users.conf.
  ........
................

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

11 years agoMerged revisions 331894 via svnmerge from
Paul Belanger [Mon, 15 Aug 2011 15:24:55 +0000 (15:24 +0000)]
Merged revisions 331894 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r331894 | pabelanger | 2011-08-15 11:22:45 -0400 (Mon, 15 Aug 2011) | 12 lines

  Merged revisions 331886 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r331886 | pabelanger | 2011-08-15 11:21:16 -0400 (Mon, 15 Aug 2011) | 5 lines

    Fix noisy message when briding channels

    (closes issue ASTERISK-18270)
    Reported by: Federico Alves
  ........
................

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

11 years agoMerged revisions 331868 via svnmerge from
David Vossel [Mon, 15 Aug 2011 15:15:43 +0000 (15:15 +0000)]
Merged revisions 331868 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r331868 | dvossel | 2011-08-15 10:14:13 -0500 (Mon, 15 Aug 2011) | 12 lines

  Merged revisions 331867 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r331867 | dvossel | 2011-08-15 10:12:16 -0500 (Mon, 15 Aug 2011) | 6 lines

    Fixes locking inversion issues present in the handling of the sip REFER method.

    (closes issue ASTERISK-18082)
    Reported by: James Van Vleet
  ........
................

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

11 years agoFormatting guideline fixes
Olle Johansson [Mon, 15 Aug 2011 13:27:06 +0000 (13:27 +0000)]
Formatting guideline fixes

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

11 years agoMerged revisions 331775 via svnmerge from
Matthew Nicholson [Fri, 12 Aug 2011 19:06:10 +0000 (19:06 +0000)]
Merged revisions 331775 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r331775 | mnicholson | 2011-08-12 14:03:31 -0500 (Fri, 12 Aug 2011) | 17 lines

  Merged revisions 331774 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r331774 | mnicholson | 2011-08-12 14:01:27 -0500 (Fri, 12 Aug 2011) | 11 lines

    Unlock the channel before calling update_queue.

    Holding the channel lock when calling update_queue which attempts to lock the
    queue lock can cause a deadlock. This deadlock involves the following chain:

    1. hold chan lock -> wait queue lock
    2. hold queue lock -> wait agent list lock
    3. hold agent list lock -> wait chan list lock
    4. hold chan list lock -> wait chan lock
  ........
................

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

11 years agoMerged revisions 331772 via svnmerge from
Richard Mudgett [Fri, 12 Aug 2011 19:01:04 +0000 (19:01 +0000)]
Merged revisions 331772 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r331772 | rmudgett | 2011-08-12 13:59:45 -0500 (Fri, 12 Aug 2011) | 15 lines

  Merged revisions 331771 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r331771 | rmudgett | 2011-08-12 13:58:40 -0500 (Fri, 12 Aug 2011) | 8 lines

    Suppress warning message when using DAHDITransfer or DAHDIHangup.

    * The fake event should only be processed by the channel that currently
    owns the private and not the associated call waiting or 3-way channel.

    JIRA AST-620
    JIRA SWP-3616
  ........
................

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

11 years agoMerged revisions 331644 via svnmerge from
Jonathan Rose [Fri, 12 Aug 2011 18:03:29 +0000 (18:03 +0000)]
Merged revisions 331644 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r331644 | jrose | 2011-08-12 11:18:57 -0500 (Fri, 12 Aug 2011) | 9 lines

  Merged revisions 331635 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r331635 | jrose | 2011-08-12 10:49:17 -0500 (Fri, 12 Aug 2011) | 1 line

    Fixes 32bit compilation warnings brought on by 331634 in app_dial and app_meetme
  ........
................

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

11 years agoMerged revisions 331715 via svnmerge from
Richard Mudgett [Fri, 12 Aug 2011 17:56:46 +0000 (17:56 +0000)]
Merged revisions 331715 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r331715 | rmudgett | 2011-08-12 12:54:47 -0500 (Fri, 12 Aug 2011) | 29 lines

  Merged revisions 331714 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r331714 | rmudgett | 2011-08-12 12:47:57 -0500 (Fri, 12 Aug 2011) | 22 lines

    AMI actions DAHDIHangup and DAHDITransfer have no effect.

    The AMI actions DAHDIHangup and DAHDITransfer have no effect on a DAHDI
    channel.  These two AMI actions are highly specialized to analog channels
    and appear to make the channel behave like a jack port for headsets.

    * Made the faked DAHDI event get processed before a normal media stream
    read in dahdi_read() instead of trying to trigger an exception read by
    setting the AST_FLAG_EXCEPTION flag.  Apparently a change was made long
    ago that changed how AST_FLAG_EXCEPTION is processed in the core.
    Unfortunately, the faked DAHDI events no longer worked when that happened.

    * Updated the DAHDI AMI action documentation for the following actions:
    DAHDITransfer, DAHDIHangup, DAHDIDialOffhook, DAHDIDNDon, DAHDIDNDoff,
    DAHDIShowChannels, and DAHDIRestart.

    * Made use sscanf() instead of atoi() for better error checking of the
    DAHDIChannel header string.

    JIRA AST-620
    JIRA SWP-3616
  ........
................

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

11 years agoMerged revisions 331659 via svnmerge from
Terry Wilson [Fri, 12 Aug 2011 16:32:24 +0000 (16:32 +0000)]
Merged revisions 331659 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r331659 | twilson | 2011-08-12 11:31:21 -0500 (Fri, 12 Aug 2011) | 11 lines

  Merged revisions 331658 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r331658 | twilson | 2011-08-12 11:30:26 -0500 (Fri, 12 Aug 2011) | 4 lines

    Fix netsock2 multiple zero-expansion test

    Remove erroneous single bracket.
  ........
................

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

11 years agoMerged revisions 331654 via svnmerge from
Kinsey Moore [Fri, 12 Aug 2011 16:22:45 +0000 (16:22 +0000)]
Merged revisions 331654 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r331654 | kmoore | 2011-08-12 11:21:37 -0500 (Fri, 12 Aug 2011) | 19 lines

  Merged revisions 331649 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r331649 | kmoore | 2011-08-12 11:20:25 -0500 (Fri, 12 Aug 2011) | 12 lines

    Logger does not warn of failure to open logging channels

    Currently, logger only prints an error message to stderr when it fails to open
    a logger channel where many users will not see it because the logger lock is
    held.  The alternative provided by this patch is to log the error to all
    attached consoles in the hopes that it will be easier to see.  Additionally,
    this patch prevents the failed logger channel from being added to the list
    where it would silently fail on each call to the Asterisk logger.

    (closes issue ASTERISK-16231)
    Review: https://reviewboard.asterisk.org/r/1338
  ........
................

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

11 years agoMerged revisions 331579 via svnmerge from
Jason Parker [Thu, 11 Aug 2011 21:55:48 +0000 (21:55 +0000)]
Merged revisions 331579 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r331579 | qwell | 2011-08-11 16:54:54 -0500 (Thu, 11 Aug 2011) | 13 lines

  Merged revisions 331578 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r331578 | qwell | 2011-08-11 16:46:39 -0500 (Thu, 11 Aug 2011) | 6 lines

    Use proper values for 64-bit option flags.

    Also, reusing bits es no bueno, so change the value of a duplicate.

    (issue ASTERISK-18239)
  ........
................

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

11 years agoMerged revisions 331576 via svnmerge from
Richard Mudgett [Thu, 11 Aug 2011 21:44:08 +0000 (21:44 +0000)]
Merged revisions 331576 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r331576 | rmudgett | 2011-08-11 16:42:21 -0500 (Thu, 11 Aug 2011) | 16 lines

  Merged revisions 331575 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r331575 | rmudgett | 2011-08-11 16:39:58 -0500 (Thu, 11 Aug 2011) | 9 lines

    Segfault in shell_helper in func_shell.c.

    The return value of popen() was not checked for failure to open.

    (closes issue ASTERISK-18109)
    JIRA SWP-3633
    Reported by: Michael Myles
    Tested by: rmudgett
  ........
................

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

11 years agoMerged revisions 331518 via svnmerge from
Kinsey Moore [Wed, 10 Aug 2011 22:24:38 +0000 (22:24 +0000)]
Merged revisions 331518 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r331518 | kmoore | 2011-08-10 17:23:49 -0500 (Wed, 10 Aug 2011) | 17 lines

  Merged revisions 331517 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r331517 | kmoore | 2011-08-10 17:23:08 -0500 (Wed, 10 Aug 2011) | 10 lines

    SIP Notify via AMI or CLI leaks SIP PVTs

    Any SIP notify sent via AMI or CLI leaks a SIP PVT with ref count +2.  Removing
    the additional ref just before the invite and adding an unref following it
    corrects the issue as seen via REF_DEBUG.  The unref existed in a distant
    revision and it appears as though the wrong ref operation was removed.

    (closes issue ASTERISK-18091)
    Review: https://reviewboard.asterisk.org/r/1332/
  ........
................

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

11 years agoMerged revisions 331462 via svnmerge from
Richard Mudgett [Wed, 10 Aug 2011 20:51:07 +0000 (20:51 +0000)]
Merged revisions 331462 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r331462 | rmudgett | 2011-08-10 15:41:35 -0500 (Wed, 10 Aug 2011) | 37 lines

  Merged revisions 331461 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r331461 | rmudgett | 2011-08-10 15:29:59 -0500 (Wed, 10 Aug 2011) | 30 lines

    Output of queue log not started until logger reloaded.

    ASTERISK-15863 caused a regression with queue logging.  The output of the
    queue log is not started until the logger configuration is reloaded.

    * Queue log initialization is completely delayed until the first message
    is posted to the queue log system.  Including the initial opening of the
    queue log file.

    * Fixed rotate_file() ROTATE strategy to give the file just rotated out to
    the configured exec function after rotate.  Just like the other strategies.

    * Fixed logger reload to always post the queue reload entry instead of
    just if there is a queue log file.

    * Refactored some code to eliminate some redundancy and to reduce stack
    utilization.

    (closes issue ASTERISK-17036)
    JIRA SWP-2952
    Reported by: Juan Carlos Valero
    Patches:
          jira_asterisk_17036_v1.8.patch (license #5621) patch uploaded by rmudgett
    Tested by: rmudgett

    (closes issue ASTERISK-18208)
    Reported by: Christian Pinedo

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

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

11 years agoMerged revisions 331420 via svnmerge from
Richard Mudgett [Wed, 10 Aug 2011 19:08:22 +0000 (19:08 +0000)]
Merged revisions 331420 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

........
  r331420 | rmudgett | 2011-08-10 14:07:53 -0500 (Wed, 10 Aug 2011) | 2 lines

  Make sure feature_request_and_dial() initializes outstate if passed in.
........

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

11 years agoMerged revisions 331418 via svnmerge from
Richard Mudgett [Wed, 10 Aug 2011 18:27:16 +0000 (18:27 +0000)]
Merged revisions 331418 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

........
  r331418 | rmudgett | 2011-08-10 13:25:08 -0500 (Wed, 10 Aug 2011) | 6 lines

  Revert -r318141.  It was a band-aid that only partially fixed parking.

  A better fix is on reviewboard review 1358.

  (issue ASTERISK-17374)
........

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

11 years agoSIP display-name needed to be empty for Avaya IP500
Jonathan Rose [Wed, 10 Aug 2011 15:45:57 +0000 (15:45 +0000)]
SIP display-name needed to be empty for Avaya IP500

In order to address a compatability issue with certain features on certain devices
which rely on display name content to change behavior, initreqprep in chan_sip.c
has been changed to no longer substitute cid_number into the display name when
cid_name isn't present.  Instead, it will send no display name in that case.

(closes issue ASTERISK-16198)
Reported by: Walter Doekes

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

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

11 years agoMerged revisions 331316 via svnmerge from
Kinsey Moore [Wed, 10 Aug 2011 13:49:31 +0000 (13:49 +0000)]
Merged revisions 331316 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r331316 | kmoore | 2011-08-10 08:48:41 -0500 (Wed, 10 Aug 2011) | 15 lines

  Merged revisions 331315 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r331315 | kmoore | 2011-08-10 08:47:46 -0500 (Wed, 10 Aug 2011) | 8 lines

    AMI action ModuleReload returns Error if Module: missing or empty

    An empty string was not being checked for properly causing identification of
    the module to be reloaded to fail and return an Error with message
    "No such module."

    (closes issue AST-616)
  ........
................

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

11 years agoMerged revisions 331265 via svnmerge from
Richard Mudgett [Tue, 9 Aug 2011 23:17:13 +0000 (23:17 +0000)]
Merged revisions 331265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r331265 | rmudgett | 2011-08-09 18:12:49 -0500 (Tue, 09 Aug 2011) | 22 lines

  Merged revisions 331248 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r331248 | rmudgett | 2011-08-09 17:12:59 -0500 (Tue, 09 Aug 2011) | 15 lines

    Misc minor items found in code.

    * Add some reentrancy protection in pbx.c when creating the contexts_table
    hash table.

    * Fix inverted test in chan_sip.c conditional code.

    * Fix uninitialized variable and use of the wrong variable in chan_iax2.c.

    * Fix test of return value in app_parkandannounce.c.  Explicitly testing
    for -1 is bad if the function does not actually return that value when it
    fails.

    * Fixup some comments and add some curly braces in features.c.
  ........
................

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

11 years agoMerged revisions 331147,331200 via svnmerge from
Alexandr Anikin [Tue, 9 Aug 2011 17:12:27 +0000 (17:12 +0000)]
Merged revisions 331147,331200 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r331147 | may | 2011-08-09 20:16:55 +0400 (Tue, 09 Aug 2011) | 11 lines

  Merged revisions 331146 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r331146 | may | 2011-08-09 20:13:09 +0400 (Tue, 09 Aug 2011) | 4 lines

    move ast_cond_signal for admitted call after all data filled/freed
    clear all log channels by pointed number not only first
    free allocated callToken in ooh323_answer
  ........
................
  r331200 | may | 2011-08-09 20:36:39 +0400 (Tue, 09 Aug 2011) | 9 lines

  Setup IP proto version for call in GK mode
  Added additional check for IP semantics before parse destination
  by ast_parse_args due to it can parse numeric as IP.

   (closes issue ASTERISK-18218)
   Reported by: slesru
   Patch: ASTERISK-18218.patch
................

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

11 years agoAllow ENUM query functions to report lookup errors
Kinsey Moore [Tue, 9 Aug 2011 17:08:33 +0000 (17:08 +0000)]
Allow ENUM query functions to report lookup errors

The ENUM dialplan functions do not report DNS query errors properly. It is
useful to differentiate between failed query (e.g. non-existent domain) vs. no
data records of the appropriate type. This is required to make overlapped
dialing work.

(closes issue ASTERISK-13769)
Review: https://reviewboard.asterisk.org/r/1355/
Patch-by: Timo Teras

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

11 years agoMerged revisions 331143 via svnmerge from
Jason Parker [Tue, 9 Aug 2011 16:02:45 +0000 (16:02 +0000)]
Merged revisions 331143 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r331143 | qwell | 2011-08-09 10:59:54 -0500 (Tue, 09 Aug 2011) | 9 lines

  Merged revisions 331142 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r331142 | qwell | 2011-08-09 10:58:16 -0500 (Tue, 09 Aug 2011) | 1 line

    Regenerate asterisk man page from sgml.
  ........
................

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

11 years agoMerged revisions 331139 via svnmerge from
Jason Parker [Tue, 9 Aug 2011 15:53:26 +0000 (15:53 +0000)]
Merged revisions 331139 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r331139 | qwell | 2011-08-09 10:50:07 -0500 (Tue, 09 Aug 2011) | 19 lines

  Merged revisions 306999 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r306999 | lathama | 2011-02-08 14:22:35 -0600 (Tue, 08 Feb 2011) | 12 lines

    Documentation Updates

    Note default polling setting in voicemail.conf
    Add missing config to asterisk.conf
    Update manpage

    (issue #16505)
    Reported by: tzafrir
    Patches:
          asterisk_sgml_fixes_demo.diff uploaded by tzafrir (license 46)
    Tested by: lathama, tzafrir
  ........
................

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

11 years agoMerged revisions 331138 via svnmerge from
Jason Parker [Tue, 9 Aug 2011 15:51:38 +0000 (15:51 +0000)]
Merged revisions 331138 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

........
  r331138 | qwell | 2011-08-09 10:47:20 -0500 (Tue, 09 Aug 2011) | 1 line

  Revert merge of r306999, due to merge conflict.
........

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

11 years agoMerged revisions 331097 via svnmerge from
Terry Wilson [Mon, 8 Aug 2011 22:59:45 +0000 (22:59 +0000)]
Merged revisions 331097 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

........
  r331097 | twilson | 2011-08-08 17:59:01 -0500 (Mon, 08 Aug 2011) | 5 lines

  Bump the AMI protocol version to 1.2

  As a result of converting Unlink events that were missed in the AMI
  1.1 update to Bridge events, the AMI protocol version is being incremented.
........

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

11 years agoMerged revisions 331041 via svnmerge from
Terry Wilson [Mon, 8 Aug 2011 21:16:25 +0000 (21:16 +0000)]
Merged revisions 331041 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

........
  r331041 | twilson | 2011-08-08 16:12:51 -0500 (Mon, 08 Aug 2011) | 6 lines

  Replace AMI Unlink events with Bridge events

  A previous update converted some of the Link and Unlink events to
  Bridge events, but a couple of Unlink events were missed. This patch
  rectifies the situation.

  (closes issues ASTERISK-17455)
........

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

11 years agoMerged revisions 331039 via svnmerge from
Kinsey Moore [Mon, 8 Aug 2011 20:54:14 +0000 (20:54 +0000)]
Merged revisions 331039 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r331039 | kmoore | 2011-08-08 15:53:30 -0500 (Mon, 08 Aug 2011) | 18 lines

  Merged revisions 331038 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r331038 | kmoore | 2011-08-08 15:52:45 -0500 (Mon, 08 Aug 2011) | 11 lines

    In-queue MOH stops after a periodic announcement

    If the seek value is past the end of file when resuming G.722 MOH, MOH will
    cease to function for the duration of the MOH session through all starts and
    stops until saved state is cleared.  Adjusting the code to guarantee a single
    valid read (which is already assumed) fixes the bug.

    (closes issue ASTERISK-18077)
    Review: https://reviewboard.asterisk.org/r/1328/
    Tested-by: Jonathan Rose <jrose@digium.com>
  ........
................

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

11 years agoLog queue member name when state_interface is set for ADDMEMBER and REMOVEMEMBER...
Kinsey Moore [Mon, 8 Aug 2011 20:28:20 +0000 (20:28 +0000)]
Log queue member name when state_interface is set for ADDMEMBER and REMOVEMEMBER events

app_queue logs the events ADDMEMBER and REMOVEMEMBER with the agent field set
to the interface value rather than the membername value when a member is added
with a state_interface value set.  However all other member related queue
events are logged with the membername when a state_interface is set.  This
patch makes these fields optionally more consistent and correct.

(closes issue ASTERISK-14769)
Review: https://reviewboard.asterisk.org/r/1286
Patch-by: Jamuel Starkey
Tested-by: Kinsey Moore <kmoore@digium.com>

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

11 years agoapp_queue: Add StateInterface to output of "queue show" and "QueueStatus"
Kinsey Moore [Mon, 8 Aug 2011 15:00:26 +0000 (15:00 +0000)]
app_queue: Add StateInterface to output of "queue show" and "QueueStatus"

This patch adds the state_interface of the queue member struct to the output
of "queue show" (CLI command) and "QueueStatus" (AMI action) when displaying
relevant queue member information.  For the AMI event message the variable
StateInterface has been added.

(closes issue ASTERISK-18071)
Review: https://reviewboard.asterisk.org/r/1300/
Patch-by: Jamuel Starkey

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

11 years agoMerged revisions 330940 via svnmerge from
David Vossel [Fri, 5 Aug 2011 15:57:06 +0000 (15:57 +0000)]
Merged revisions 330940 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

........
  r330940 | dvossel | 2011-08-05 10:53:49 -0500 (Fri, 05 Aug 2011) | 2 lines

  The slin resampler is no longer dependent on an external library, but the dependency was not removed correctly.
........

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

11 years agoMerged revisions 330899 via svnmerge from
Alexandr Anikin [Fri, 5 Aug 2011 08:47:59 +0000 (08:47 +0000)]
Merged revisions 330899 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r330899 | may | 2011-08-05 11:38:28 +0400 (Fri, 05 Aug 2011) | 11 lines

  Merged revisions 330827 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r330827 | may | 2011-08-04 23:37:16 +0400 (Thu, 04 Aug 2011) | 4 lines

    change gk client behaivour on rrq/grq failures to setup timers
    and next tries after timeout instead of complete failure in the ooh323
    stack
  ........
................

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

11 years agoMerged revisions 330844 via svnmerge from
Terry Wilson [Thu, 4 Aug 2011 20:53:16 +0000 (20:53 +0000)]
Merged revisions 330844 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r330844 | twilson | 2011-08-04 15:51:23 -0500 (Thu, 04 Aug 2011) | 11 lines

  Merged revisions 330843 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r330843 | twilson | 2011-08-04 15:29:19 -0500 (Thu, 04 Aug 2011) | 4 lines

    Make libsrtp instructions more explicit when linking fails

    (closes issue ASTERISK-18139)
  ........
................

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

11 years agoMerged revisions 330763 via svnmerge from
Kinsey Moore [Wed, 3 Aug 2011 15:16:25 +0000 (15:16 +0000)]
Merged revisions 330763 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r330763 | kmoore | 2011-08-03 10:15:26 -0500 (Wed, 03 Aug 2011) | 16 lines

  Merged revisions 330762 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r330762 | kmoore | 2011-08-03 10:14:36 -0500 (Wed, 03 Aug 2011) | 9 lines

    editing files in main/editline does not ensure rebuild of libedit.a

    When editing a source file in main/editline, the build system does not rebuild
    libedit.a and uses the already existing one instead.  Adding a PHONY to
    CHECK_SUBDIR fixes this problem.

    (closes issue ASTERISK-16221)
    Patch-by: Walter Doekes
  ........
................

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

11 years agoMerged revisions 330706 via svnmerge from
Kinsey Moore [Wed, 3 Aug 2011 13:40:22 +0000 (13:40 +0000)]
Merged revisions 330706 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r330706 | kmoore | 2011-08-03 08:39:06 -0500 (Wed, 03 Aug 2011) | 17 lines

  Merged revisions 330705 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r330705 | kmoore | 2011-08-03 08:38:17 -0500 (Wed, 03 Aug 2011) | 10 lines

    Call pickup broken for DAHDI channels when beginning with #

    The call pickup feature did not work on DAHDI devices for anything other than
    feature codes beginning with * since all feature codes in chan_dahdi were
    originally hard-coded to begin with *.  This patch is also applied to
    chan_dahdi.c to fix this bug with radio modes.

    (closes issue AST-621)
    Review: https://reviewboard.asterisk.org/r/1336/
  ........
................

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

11 years agoMerged revisions 330649 via svnmerge from
Kevin P. Fleming [Tue, 2 Aug 2011 20:54:19 +0000 (20:54 +0000)]
Merged revisions 330649 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r330649 | kpfleming | 2011-08-02 15:52:44 -0500 (Tue, 02 Aug 2011) | 9 lines

  Merged revisions 330648 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r330648 | kpfleming | 2011-08-02 15:51:56 -0500 (Tue, 02 Aug 2011) | 2 lines

    Convert an error message to actually be helpful.
  ........
................

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

11 years agoMerged revisions 330586 via svnmerge from
David Vossel [Tue, 2 Aug 2011 16:19:32 +0000 (16:19 +0000)]
Merged revisions 330586 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r330586 | dvossel | 2011-08-02 11:17:59 -0500 (Tue, 02 Aug 2011) | 15 lines

  Merged revisions 330581 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r330581 | dvossel | 2011-08-02 11:15:08 -0500 (Tue, 02 Aug 2011) | 8 lines

    Fixes crash in chan_iax2.

    Fixes crash in chan_iax2 resulting from an edge case in the
    way control frames are queued during calltoken negotiation is complete.

    (closes issue ASTERISK-17610)
    Reported by: mgrobecker
  ........
................

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

11 years agoMerged revisions 330579 via svnmerge from
David Vossel [Tue, 2 Aug 2011 16:09:50 +0000 (16:09 +0000)]
Merged revisions 330579 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r330579 | dvossel | 2011-08-02 11:08:57 -0500 (Tue, 02 Aug 2011) | 9 lines

  Merged revisions 330578 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r330578 | dvossel | 2011-08-02 11:07:02 -0500 (Tue, 02 Aug 2011) | 2 lines

    Optimization to buffer initialization fix.
  ........
................

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

11 years agoMerged revisions 330576 via svnmerge from
David Vossel [Tue, 2 Aug 2011 16:04:34 +0000 (16:04 +0000)]
Merged revisions 330576 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r330576 | dvossel | 2011-08-02 10:55:36 -0500 (Tue, 02 Aug 2011) | 12 lines

  Merged revisions 330575 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r330575 | dvossel | 2011-08-02 10:53:21 -0500 (Tue, 02 Aug 2011) | 5 lines

    Fixes uninitialized string buffer in log message.

    (closes issue ASTERISK-17200)
    Reported by: lmadsen
  ........
................

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

11 years agoBlocked revisions 330514 via svnmerge
Jonathan Rose [Mon, 1 Aug 2011 21:22:08 +0000 (21:22 +0000)]
Blocked revisions 330514 via svnmerge

................
  r330514 | jrose | 2011-08-01 16:21:23 -0500 (Mon, 01 Aug 2011) | 14 lines

  Blocked revisions 330510 via svnmerge

  ................
    r330510 | jrose | 2011-08-01 16:20:40 -0500 (Mon, 01 Aug 2011) | 8 lines

    Blocked revisions 330505 via svnmerge

    ........
      r330505 | jrose | 2011-08-01 16:19:47 -0500 (Mon, 01 Aug 2011) | 3 lines

      fixes reference leak pointed out by rmudgett in https://reviewboard.asterisk.org/r/1337/
    ........
  ................
................

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

11 years agoBlocked revisions 330492 via svnmerge
Jonathan Rose [Mon, 1 Aug 2011 21:11:24 +0000 (21:11 +0000)]
Blocked revisions 330492 via svnmerge

................
  r330492 | jrose | 2011-08-01 16:10:35 -0500 (Mon, 01 Aug 2011) | 24 lines

  Blocked revisions 330491 via svnmerge

  ................
    r330491 | jrose | 2011-08-01 16:09:15 -0500 (Mon, 01 Aug 2011) | 18 lines

    Blocked revisions 330490 via svnmerge

    ........
      r330490 | jrose | 2011-08-01 16:08:10 -0500 (Mon, 01 Aug 2011) | 12 lines

      Asterisk 18103 - Fix reload crash caused by destroying default parking lot

      Default parking lot was being destroyed in reload and was not being rebuilt properly.
      This patch keeps features.c reload from destroying the default parking lot in 1.6.2.
      Bug was caused by a hasty backport which didn't test reload enough times to catch the
      problem.

      (Closes Issue ASTERISK-18103)
      Reported by: 808blogger

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

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

11 years agoMerged revisions 330434 via svnmerge from
Kinsey Moore [Mon, 1 Aug 2011 15:24:21 +0000 (15:24 +0000)]
Merged revisions 330434 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r330434 | kmoore | 2011-08-01 10:23:29 -0500 (Mon, 01 Aug 2011) | 16 lines

  Merged revisions 330433 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r330433 | kmoore | 2011-08-01 10:22:10 -0500 (Mon, 01 Aug 2011) | 9 lines

    Incorrect playback for Spanish in some circumstances

    When you say the time in spanish and it is 01:00 - 01:59 or 13:00 - 13:59 you
    must use female pronunciation "1F". The function "say_date_with_format_es" does
    not take this in account.

    (closes ASTERISK-15016)
    Patch-by: Luis Jimenez
  ........
................

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

11 years agoFixed compiler warning and a couple prototype mismatches.
Richard Mudgett [Sun, 31 Jul 2011 00:19:11 +0000 (00:19 +0000)]
Fixed compiler warning and a couple prototype mismatches.

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

11 years agoMerged revisions 330369 via svnmerge from
Richard Mudgett [Sun, 31 Jul 2011 00:05:55 +0000 (00:05 +0000)]
Merged revisions 330369 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r330369 | rmudgett | 2011-07-30 18:57:56 -0500 (Sat, 30 Jul 2011) | 11 lines

  Merged revisions 330368 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r330368 | rmudgett | 2011-07-30 18:56:29 -0500 (Sat, 30 Jul 2011) | 4 lines

    Remove some redundant locking code in ast_do_masquerade().

    Also updated some comments.
  ........
................

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

11 years agoMerged revisions 330312 via svnmerge from
Gregory Nietsky [Sat, 30 Jul 2011 15:54:23 +0000 (15:54 +0000)]
Merged revisions 330312 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r330312 | irroot | 2011-07-30 17:34:41 +0200 (Sat, 30 Jul 2011) | 15 lines

  Merged revisions 330311 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r330311 | irroot | 2011-07-30 17:25:16 +0200 (Sat, 30 Jul 2011) | 9 lines

    prevent double masqurading channels when one is been hung up and deadlock avoidance is used.

    There is a race condition in ast_do_masquerade / ast_hangup (at least)

    Reported by me signed off by schmidts with input from David Vossel

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

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

11 years agoastobj2: Avoid using temporary objects + ao2_find() with OBJ_POINTER.
Russell Bryant [Fri, 29 Jul 2011 19:34:36 +0000 (19:34 +0000)]
astobj2: Avoid using temporary objects + ao2_find() with OBJ_POINTER.

There is a fairly common pattern making its way through the code base where we
put a temporary object on the stack so we can call ao2_find() with OBJ_POINTER.
The purpose is so that it can be passed into the object hash function.
However, this really seems like a hack and potentially error prone.  This patch
is a first stab at approach to avoid having to do that.

It adds a new flag, OBJ_KEY, which can be used instead of OBJ_POINTER in these
situations.  Then, the hash function can know whether it was given an object or
some custom data to hash.

The patch also changes some uses of ao2_find() for iax2_user and iax2_peer
objects to reflect how OBJ_KEY would be used.

So long, and thanks for all the fish.

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

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

11 years agoMerged revisions 330217 via svnmerge from
Sean Bright [Fri, 29 Jul 2011 17:20:20 +0000 (17:20 +0000)]
Merged revisions 330217 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r330217 | seanbright | 2011-07-29 13:19:42 -0400 (Fri, 29 Jul 2011) | 9 lines

  Merged revisions 330213 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r330213 | seanbright | 2011-07-29 13:18:56 -0400 (Fri, 29 Jul 2011) | 2 lines

    Correct the check for O_RDONLY.
  ........
................

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

11 years agoMerged revisions 330204 via svnmerge from
Sean Bright [Fri, 29 Jul 2011 17:02:11 +0000 (17:02 +0000)]
Merged revisions 330204 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r330204 | seanbright | 2011-07-29 12:58:40 -0400 (Fri, 29 Jul 2011) | 9 lines

  Merged revisions 330203 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r330203 | seanbright | 2011-07-29 12:58:08 -0400 (Fri, 29 Jul 2011) | 2 lines

    Only write to wav files that were opened to be written to.
  ........
................

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

11 years agoMerged revisions 330162 via svnmerge from
Paul Belanger [Fri, 29 Jul 2011 05:27:22 +0000 (05:27 +0000)]
Merged revisions 330162 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

........
  r330162 | pabelanger | 2011-07-29 01:25:18 -0400 (Fri, 29 Jul 2011) | 4 lines

  Fix typo pointed out on #asterisk

  Thanks notten
........

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

11 years agoMerged revisions 330108 via svnmerge from
Terry Wilson [Thu, 28 Jul 2011 21:46:27 +0000 (21:46 +0000)]
Merged revisions 330108 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r330108 | twilson | 2011-07-28 16:44:31 -0500 (Thu, 28 Jul 2011) | 9 lines

  Merged revisions 330107 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r330107 | twilson | 2011-07-28 16:42:41 -0500 (Thu, 28 Jul 2011) | 2 lines

    Make console colors work for TERM=xterm-256color
  ........
................

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

11 years agoMerged revisions 330051 via svnmerge from
Richard Mudgett [Thu, 28 Jul 2011 17:16:07 +0000 (17:16 +0000)]
Merged revisions 330051 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r330051 | rmudgett | 2011-07-28 12:10:37 -0500 (Thu, 28 Jul 2011) | 29 lines

  Merged revisions 330050 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ................
    r330050 | rmudgett | 2011-07-28 12:04:24 -0500 (Thu, 28 Jul 2011) | 22 lines

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

    ..........
      r330033 | rmudgett | 2011-07-28 11:26:38 -0500 (Thu, 28 Jul 2011) | 15 lines

      Datacalls with B410P fail.

      Incoming and outgoing call legs of a data call are using different
      formats: a-law, u-law.  When the call is bridged, the media stream is run
      through translation to convert the media formats.  The translation is bad
      for data calls.

      * Make incoming call that does not explicitly specify u-law or a-law use
      the DAHDI channel's default law.  The outgoing call always uses the
      default law from the DAHDI channel.

      (closes issue ABE-2800)
      Patches:
     jira_abe_2800_companding.patch (license #5621) patch uploaded by rmudgett
    ..........
  ................
................

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

11 years agoMerged revisions 329995 via svnmerge from
Jason Parker [Thu, 28 Jul 2011 15:46:16 +0000 (15:46 +0000)]
Merged revisions 329995 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r329995 | qwell | 2011-07-28 10:45:49 -0500 (Thu, 28 Jul 2011) | 13 lines

  Merged revisions 329994 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r329994 | qwell | 2011-07-28 10:45:24 -0500 (Thu, 28 Jul 2011) | 6 lines

    Fix a SIP transfer deadlock.

    The locking in this function is very scary.  There are like 6 structs involved.

    (closes issue AST-470)
  ........
................

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

11 years agoMerged revisions 329992 via svnmerge from
Matthew Nicholson [Thu, 28 Jul 2011 15:30:30 +0000 (15:30 +0000)]
Merged revisions 329992 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r329992 | mnicholson | 2011-07-28 10:28:21 -0500 (Thu, 28 Jul 2011) | 13 lines

  Merged revisions 329991 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r329991 | mnicholson | 2011-07-28 10:26:56 -0500 (Thu, 28 Jul 2011) | 6 lines

    check for CONFIG_STATUS_FILE_INVALID when loading the res_fax config file

    Patch by: tzafrir
    Reported by: tzafrir
    (closes issue ASTERISK-18161)
  ........
................

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

11 years agoMerged revisions 329952 via svnmerge from
Sean Bright [Thu, 28 Jul 2011 13:04:33 +0000 (13:04 +0000)]
Merged revisions 329952 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

........
  r329952 | seanbright | 2011-07-28 09:03:58 -0400 (Thu, 28 Jul 2011) | 4 lines

  The default conf-usermenu says that '8' can be used to leave the conference, so
  put that in the sample user menu.  '5' is supposed to extend the conference, but
  there doesn't appear to be a concept of that in the menu actions.
........

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

11 years agoMerged revisions 329950 via svnmerge from
Sean Bright [Thu, 28 Jul 2011 12:44:51 +0000 (12:44 +0000)]
Merged revisions 329950 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

........
  r329950 | seanbright | 2011-07-28 08:43:55 -0400 (Thu, 28 Jul 2011) | 1 line

  Correct the spelling of 'conference.'
........

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

11 years agoMerged revisions 329896 via svnmerge from
Sean Bright [Thu, 28 Jul 2011 11:36:12 +0000 (11:36 +0000)]
Merged revisions 329896 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r329896 | seanbright | 2011-07-28 07:35:27 -0400 (Thu, 28 Jul 2011) | 9 lines

  Merged revisions 329895 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r329895 | seanbright | 2011-07-28 07:34:33 -0400 (Thu, 28 Jul 2011) | 2 lines

    Make the output of Externhost in 'sip show settings' more consistent.
  ........
................

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

11 years agoreverting 329840 due to failing tests. Going to change this feature to be purely...
Jonathan Rose [Wed, 27 Jul 2011 21:22:12 +0000 (21:22 +0000)]
reverting 329840 due to failing tests.  Going to change this feature to be purely optional.

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

11 years agoAdds cdr logging of calls resulting in CONGESTION
Jonathan Rose [Wed, 27 Jul 2011 20:42:18 +0000 (20:42 +0000)]
Adds cdr logging of calls resulting in CONGESTION

Applies a patch made a long time ago by alecdavis which adds a CDR feature for logging
calls that failed due to congestion.

(closes issue #15907)
Reported by: alecdavis
Patches:
      cdr_congestion.diff.txt uploaded by alecdavis (license #5546)

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

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

11 years agoMerged revisions 329771 via svnmerge from
Sean Bright [Wed, 27 Jul 2011 19:19:46 +0000 (19:19 +0000)]
Merged revisions 329771 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r329771 | seanbright | 2011-07-27 15:18:47 -0400 (Wed, 27 Jul 2011) | 15 lines

  Merged revisions 329767 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r329767 | seanbright | 2011-07-27 15:17:46 -0400 (Wed, 27 Jul 2011) | 8 lines

    Explicitly sort the module list so that the menuselect lists are sorted.

    (closes ASTERISK-18141)
    Reported by: Richard Miller
    Patches:
     sort-order.diff uploaded by seanbright (License #5060)
    Tested by: leifmadsen
  ........
................

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

11 years agoMerged revisions 329710 via svnmerge from
Jonathan Rose [Wed, 27 Jul 2011 18:12:14 +0000 (18:12 +0000)]
Merged revisions 329710 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r329710 | jrose | 2011-07-27 13:11:07 -0500 (Wed, 27 Jul 2011) | 14 lines

  Merged revisions 329709 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r329709 | jrose | 2011-07-27 13:10:30 -0500 (Wed, 27 Jul 2011) | 8 lines

    Fix New Zealand indications profile based on http://www.telepermit.co.nz/TNA102.pdf

    (closes issue ASTERISK-16263)
    Reported by: richardf
    Patches:
          nz-indications.patch uploaded by richardf (License #6015)
  ........
................

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

11 years agoMerged revisions 329670 via svnmerge from
Sean Bright [Wed, 27 Jul 2011 15:26:31 +0000 (15:26 +0000)]
Merged revisions 329670 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

........
  r329670 | seanbright | 2011-07-27 11:25:53 -0400 (Wed, 27 Jul 2011) | 2 lines

  Sort the module list so that 'module show' is alphabetical.
........

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

11 years agoMerged revisions 329614 via svnmerge from
Tilghman Lesher [Wed, 27 Jul 2011 04:27:19 +0000 (04:27 +0000)]
Merged revisions 329614 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r329614 | tilghman | 2011-07-26 23:25:26 -0500 (Tue, 26 Jul 2011) | 13 lines

  Merged revisions 329613 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r329613 | tilghman | 2011-07-26 23:23:46 -0500 (Tue, 26 Jul 2011) | 6 lines

    Duration and billsec are swapped in high resolution time.

    Closes ASTERISK-18024
    Patches:
     20110726__ASTERISK-18024.diff by Tilghman Lesher (License 5003)
  ........
................

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

11 years agoMerged revisions 329538 via svnmerge from
Jonathan Rose [Tue, 26 Jul 2011 14:27:31 +0000 (14:27 +0000)]
Merged revisions 329538 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r329538 | jrose | 2011-07-26 09:19:34 -0500 (Tue, 26 Jul 2011) | 11 lines

  Merged revisions 329529 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r329529 | jrose | 2011-07-26 09:04:55 -0500 (Tue, 26 Jul 2011) | 5 lines

    Changes sound file for prepend "then-press-pound" to "vm-then-pound" which is the same
    prompt, only it turned out "then-press-pound" was part of extra sounds. Also, vm is more
    appropriate anyway.
  ........
................

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

11 years agoMerged revisions 329528 via svnmerge from
Jonathan Rose [Tue, 26 Jul 2011 14:17:13 +0000 (14:17 +0000)]
Merged revisions 329528 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r329528 | jrose | 2011-07-26 08:52:34 -0500 (Tue, 26 Jul 2011) | 24 lines

  Merged revisions 329527 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r329527 | jrose | 2011-07-26 08:25:35 -0500 (Tue, 26 Jul 2011) | 17 lines

    Fixes some voicemail forwarding behavior based around prepend mode.

    Formerly, prepend forwarding would have the user record a message with no useful prompt
    and an expectation for the user to push a button on the phone when finished recording.
    If a length of silence was detected instead, the recording would be canceled and the user
    would re-enter the voicemail forwarding menu. Subsequent time-outs in prepend recording
    would also bug out in the sense that they would write over the original message and get
    sent to the recipient regardless of whether they timed out or were accepted. This patch
    fixes this issue and adds a prompt which will be played after a timeout informing the
    user that they needed to press a button. Currently, the sound files that we have are
    somewhat inadquate for this, so after the call we simply have Allison say "Please try
    again. Then press pound." which actually relies on two separate sound files. Just one
    would be more appropriate.

    reporter: Vlad Povorozniuc
    Review: https://reviewboard.asterisk.org/r/1327/
  ........
................

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

11 years agoMerged revisions 329472 via svnmerge from
Paul Belanger [Mon, 25 Jul 2011 19:57:27 +0000 (19:57 +0000)]
Merged revisions 329472 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r329472 | pabelanger | 2011-07-25 15:55:33 -0400 (Mon, 25 Jul 2011) | 9 lines

  Merged revisions 329471 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r329471 | pabelanger | 2011-07-25 15:49:40 -0400 (Mon, 25 Jul 2011) | 2 lines

    Decrease verbose messages to debug, to help clean up CLI.
  ........
................

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

11 years agodsp_process was enhanced to work with alaw and ulaw in addition to slin.
Gregory Nietsky [Mon, 25 Jul 2011 14:07:01 +0000 (14:07 +0000)]
dsp_process was enhanced to work with alaw and ulaw in addition to slin.
noticed that some functions could be refactored here it is.

Reported by: irroot
Tested by: irroot, mnicholson
Review: https://reviewboard.asterisk.org/r/1304/

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

11 years agoRemove lastmsgssent from sip it has not been working since 1.6
Gregory Nietsky [Mon, 25 Jul 2011 09:39:54 +0000 (09:39 +0000)]
Remove lastmsgssent from sip it has not been working since 1.6
Clean up the return values to be consistant not currently used
Add doxygen returns
MWI Event is sent on Register

(closes issue ASTERISK-17866)
Reported by: one47
Tested by: irroot, mvanbaak
Review: https://reviewboard.asterisk.org/r/1172/

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

11 years agoMerged revisions 329334 via svnmerge from
Richard Mudgett [Fri, 22 Jul 2011 21:15:28 +0000 (21:15 +0000)]
Merged revisions 329334 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

........
  r329334 | rmudgett | 2011-07-22 16:14:22 -0500 (Fri, 22 Jul 2011) | 1 line

  Make use less redundant loop construct for iterating over hints.
........

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

11 years agoMerged revisions 329331 via svnmerge from
Richard Mudgett [Fri, 22 Jul 2011 20:46:36 +0000 (20:46 +0000)]
Merged revisions 329331 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r329331 | rmudgett | 2011-07-22 15:43:07 -0500 (Fri, 22 Jul 2011) | 55 lines

  Merged revisions 329299 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r329299 | rmudgett | 2011-07-22 10:44:58 -0500 (Fri, 22 Jul 2011) | 48 lines

    Deadlocks dealing with dialplan hints during reload.

    There are two remaining different deadlocks reported dealing with dialplan
    hints.

    The deadlock in ASTERISK-17666 is caused by invalid locking order in
    ast_remove_hint().  The hints container must be locked before the hint
    object.

    The deadlock in ASTERISK-17760 is caused by a catch-22 situation in
    handle_statechange().  The deadlock is caused by not having the conlock
    before calling the watcher callbacks.  Unfortunately, having that lock
    causes a different deadlock as reported in ASTERISK-16961.

    * Fixed ast_remove_hint() locking order.

    * Made handle_statechange() no longer call the watcher callbacks holding
    any locks that matter.

    * Made hint ao2 destructor do the watcher callbacks for extension
    deactivation to guarantee that they get called.

    * Fixed hint reference leak in ast_add_hint() if the callback container
    constructor failed.

    * Fixed hint reference leak in complete_core_show_hint() for every hint it
    found for CLI tab completion.

    * Adjusted locking in ast_merge_contexts_and_delete() for safety.

    * Added context_merge_lock to prevent ast_merge_contexts_and_delete() and
    handle_statechange() from interfering with each other.

    * Fixed ast_change_hint() not taking into account that the extension is
    used for the hash key.

    (closes issue ASTERISK-17666)
    Reported by: irroot
    Tested by: irroot
    JIRA SWP-3318

    (closes issue ASTERISK-17760)
    Reported by: Byron Clark
    Tested by: irroot
    JIRA SWP-3393

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

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

11 years agoMerged revisions 329257 via svnmerge from
Russell Bryant [Thu, 21 Jul 2011 20:26:44 +0000 (20:26 +0000)]
Merged revisions 329257 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

........
  r329257 | russell | 2011-07-21 15:22:36 -0500 (Thu, 21 Jul 2011) | 2 lines

  s/1.10/10.0/
........

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

11 years agoMerged revisions 329204 via svnmerge from
Richard Mudgett [Thu, 21 Jul 2011 18:06:47 +0000 (18:06 +0000)]
Merged revisions 329204 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r329204 | rmudgett | 2011-07-21 13:05:18 -0500 (Thu, 21 Jul 2011) | 13 lines

  Merged revisions 329203 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r329203 | rmudgett | 2011-07-21 13:04:09 -0500 (Thu, 21 Jul 2011) | 6 lines

    Document parkinglot in chan_dahdi.conf.sample.

    * Document existing feature in chan_dahdi.conf.sample.

    * Remove some dead code related to the parkinglot option.
  ........
................

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

11 years agoMerged revisions 329200 via svnmerge from
Richard Mudgett [Thu, 21 Jul 2011 17:33:06 +0000 (17:33 +0000)]
Merged revisions 329200 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r329200 | rmudgett | 2011-07-21 12:32:02 -0500 (Thu, 21 Jul 2011) | 24 lines

  Merged revisions 329199 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r329199 | rmudgett | 2011-07-21 12:30:57 -0500 (Thu, 21 Jul 2011) | 17 lines

    Update PickupChan documentation.

    The PickupChan uses the ampersand as the argument separator.
    Was documented as:
    PickupChan(channel[,channel2[,...][,options]])

    Fixed documentation to:
    PickupChan(Technology/Resource[&Technology2/Resource2[&...]][,options])

    This is a continuation of ASTERISK-17494 for v1.8 and later.

    (closes issue ASTERISK-18144)
    Reported by: Erik Smith
    Patches:
          pickupchan_ducumentation-v2.patch (License #6263) patch uploaded by Erik Smith
    Tested by: Erik Smith
  ........
................

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

11 years agoMerged revisions 329145 via svnmerge from
Richard Mudgett [Thu, 21 Jul 2011 16:59:38 +0000 (16:59 +0000)]
Merged revisions 329145 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r329145 | rmudgett | 2011-07-21 11:52:17 -0500 (Thu, 21 Jul 2011) | 16 lines

  Merged revisions 329144 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r329144 | rmudgett | 2011-07-21 11:46:21 -0500 (Thu, 21 Jul 2011) | 9 lines

    Dialplan bridge() app mutex 'current_dest_chan' freed more times than we've locked!

    This appears to be a leftover from when ast_channel was converted to ao2
    objects.

    Simply removed the extraneous unlock.

    (closes issue ASTERISK-17772)
  ........
................

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

11 years agoFix UPGRADE.txt files for Asterisk 10.
Jason Parker [Thu, 21 Jul 2011 16:22:58 +0000 (16:22 +0000)]
Fix UPGRADE.txt files for Asterisk 10.

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

11 years agoRemove another 2.0 property.
Jason Parker [Thu, 21 Jul 2011 16:14:44 +0000 (16:14 +0000)]
Remove another 2.0 property.

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

11 years agoFix merge properties to reflect Asterisk 10 branch
Russell Bryant [Thu, 21 Jul 2011 16:05:33 +0000 (16:05 +0000)]
Fix merge properties to reflect Asterisk 10 branch

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

11 years agoMerged revisions 329055 via svnmerge from
Paul Belanger [Wed, 20 Jul 2011 21:31:29 +0000 (21:31 +0000)]
Merged revisions 329055 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/2.0

................
  r329055 | pabelanger | 2011-07-20 17:27:50 -0400 (Wed, 20 Jul 2011) | 9 lines

  Merged revisions 329027 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r329027 | pabelanger | 2011-07-20 17:20:36 -0400 (Wed, 20 Jul 2011) | 2 lines

    Asterisk now requires libpri 1.4.11+ for PRI support.
  ........
................

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

11 years agoMerged revisions 328992 via svnmerge from
Terry Wilson [Wed, 20 Jul 2011 20:19:16 +0000 (20:19 +0000)]
Merged revisions 328992 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/2.0

................
  r328992 | twilson | 2011-07-20 15:18:25 -0500 (Wed, 20 Jul 2011) | 12 lines

  Merged revisions 328987 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r328987 | twilson | 2011-07-20 15:16:58 -0500 (Wed, 20 Jul 2011) | 5 lines

    We can't guarantee an eth0 is present

    FreeBSD test fails on this case presumably because there is no eth0 on the test
    machine. Better to just remove this test for now.
  ........
................

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

11 years agoMerged revisions 328936 via svnmerge from
Kinsey Moore [Wed, 20 Jul 2011 19:03:17 +0000 (19:03 +0000)]
Merged revisions 328936 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/2.0

................
  r328936 | kmoore | 2011-07-20 14:01:37 -0500 (Wed, 20 Jul 2011) | 15 lines

  Merged revisions 328935 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r328935 | kmoore | 2011-07-20 14:00:23 -0500 (Wed, 20 Jul 2011) | 8 lines

    Inband DTMF regression

    The functionality of inband DTMF in chan_sip relied upon
    ast_rtp_instance_dtmf_mode_get/set not working properly to avoid calling
    ast_rtp_instance_dtmf_begin/end on RTP streams with inband DTMF. According to
    documentation, ast_rtp_instance_dtmf_begin/end is meant only for RFC2833 DTMF,
    never inband.  This fixes the regression introduced in revision 328823.
  ........
................

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

11 years agoMerged revisions 328879 via svnmerge from
Kevin P. Fleming [Tue, 19 Jul 2011 21:32:54 +0000 (21:32 +0000)]
Merged revisions 328879 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/2.0

................
  r328879 | kpfleming | 2011-07-19 16:31:16 -0500 (Tue, 19 Jul 2011) | 23 lines

  Merged revisions 328878 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r328878 | kpfleming | 2011-07-19 16:29:07 -0500 (Tue, 19 Jul 2011) | 17 lines

    Revert partial attempt at handling pathnames with spaces.

    Revision 299794 attempted to improve the build system to be able to handle
    pathnames (primarily DESTDIR) with spaces in them, since this is common on
    some platforms (including Mac OSX). Unfortunately, the changes were incomplete
    and did not actually provide the desired behavior, and as a side effect the
    functionality that ensured that stale headers in the Asterisk 'include' directory
    were removed got broken. In addition, the check for stale (and possibly
    incompatible) modules in the Asterisk 'modules' directory also got broken, and
    would never report any stale modules. Users upgrading to this version or later
    versions would then see unexpected module load errors.

    Since there are few users who actually want to install Asterisk into paths
    that contain spaces, and a proper fix for the build system would take many hours,
    the best solution for now is to just revert the partial solution.
  ........
................

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

11 years agoEdit the merge properties to match their names.
Kevin P. Fleming [Tue, 19 Jul 2011 21:32:35 +0000 (21:32 +0000)]
Edit the merge properties to match their names.

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

11 years agoFix properties after twilson's change so merges still work
Russell Bryant [Tue, 19 Jul 2011 21:21:53 +0000 (21:21 +0000)]
Fix properties after twilson's change so merges still work

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

11 years agoMerged revisions 328824 via svnmerge from
Kinsey Moore [Tue, 19 Jul 2011 18:07:22 +0000 (18:07 +0000)]
Merged revisions 328824 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10

................
  r328824 | kmoore | 2011-07-19 13:05:21 -0500 (Tue, 19 Jul 2011) | 18 lines

  Merged revisions 328823 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r328823 | kmoore | 2011-07-19 12:57:18 -0500 (Tue, 19 Jul 2011) | 11 lines

    RTP bridge away with inband DTMF and feature detection

    When deciding whether Asterisk was allowed to bridge the call away from the
    core, chan_sip did not take into account the usage of features on dialed
    channels that require monitoring of DTMF on channels utilizing inband DTMF.
    This would cause Asterisk to allow the call to be locally or remotely bridged,
    preventing access to the data required to detect activations of such features.

    (closes 17237)
    Review: https://reviewboard.asterisk.org/r/1302/
  ........
................

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

11 years agoMerged revisions 328771 via svnmerge from
Kinsey Moore [Tue, 19 Jul 2011 15:49:55 +0000 (15:49 +0000)]
Merged revisions 328771 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10

................
  r328771 | kmoore | 2011-07-19 10:46:54 -0500 (Tue, 19 Jul 2011) | 18 lines

  Merged revisions 328770 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r328770 | kmoore | 2011-07-19 10:43:32 -0500 (Tue, 19 Jul 2011) | 11 lines

    MeetMe requests a PIN twice in some circumstances

    If a call to MeetMe includes both the dynamic(D) and always request PIN(P)
    options, MeetMe will ask for the PIN two times: once for creating the
    conference and once for entering the conference.  This behavior was introduced
    in rev 311616 when adding the CONFFLAG_ALWAYSPROMPT option to the logic branch
    controlling PIN entry for joining a conference.

    (closes AST-601)
    Review: https://reviewboard.asterisk.org/r/1305/
  ........
................

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

11 years agoMerged revisions 328717 via svnmerge from
Terry Wilson [Tue, 19 Jul 2011 02:00:56 +0000 (02:00 +0000)]
Merged revisions 328717 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10

................
  r328717 | twilson | 2011-07-18 20:55:32 -0500 (Mon, 18 Jul 2011) | 14 lines

  Merged revisions 328716 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r328716 | twilson | 2011-07-18 20:35:53 -0500 (Mon, 18 Jul 2011) | 7 lines

    Make AST_LIST_REMOVE safer

    AST_LIST_REMOVE shouldn't modify the element passed in if it isn't found. This
    commit also adds linked list unit tests.

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

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

11 years agoMerged revisions 328664 via svnmerge from
Mark Murawki [Mon, 18 Jul 2011 20:51:47 +0000 (20:51 +0000)]
Merged revisions 328664 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10

................
  r328664 | markm | 2011-07-18 16:50:13 -0400 (Mon, 18 Jul 2011) | 15 lines

  Merged revisions 328663 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r328663 | markm | 2011-07-18 16:47:04 -0400 (Mon, 18 Jul 2011) | 9 lines

    app_dial may double free a channel datastore

    When starting a call with originate, and having the callee channel run Bridge() on pickup, we will double free the dialed_interface_info datastore, causing a crash.  Make sure to check if the datastore still exists before trying to free it.

    (closes issue ASTERISK-17917)
    Reported by: Mark Murawski
    Tested by: Mark Murawski
  ........
................

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

11 years agoMerged revisions 328611 via svnmerge from
Mark Murawki [Mon, 18 Jul 2011 12:58:02 +0000 (12:58 +0000)]
Merged revisions 328611 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10

................
  r328611 | markm | 2011-07-18 08:56:49 -0400 (Mon, 18 Jul 2011) | 15 lines

  Merged revisions 328608 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r328608 | markm | 2011-07-18 08:35:57 -0400 (Mon, 18 Jul 2011) | 9 lines

    If the sip private structure is null, sip_setoption() will defref the null pointer and crash.

    Ideally, sip_setoption shouldn't be called if there is a lack of a sip private structure.  But this will fix a crash.

    (closes issue ASTERISK-17909)
    Reported by: Mark Murawski
    Tested by: Mark Murawski
  ........
................

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

11 years agoMerged revisions 328609 via svnmerge from
Mark Murawki [Mon, 18 Jul 2011 12:54:29 +0000 (12:54 +0000)]
Merged revisions 328609 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10

................
  r328609 | markm | 2011-07-18 08:37:53 -0400 (Mon, 18 Jul 2011) | 15 lines

  Merged revisions 328593 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r328593 | markm | 2011-07-18 08:06:50 -0400 (Mon, 18 Jul 2011) | 8 lines

    Fixed invalid read and null pointer deref on asterisk shutdown.

    In some cases when starting asterisk with -c and hitting control-c to shutdown, there will be an invalid read and null pointer deref causing a crash.

    (closes issue ASTERISK-17927)
    Reported by: Mark Murawski
    Tested by: Mark Murawski, Kinsey Moore, Tilghman Lesher
  ........
................

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

11 years agoMerged revisions 328541 via svnmerge from
Tilghman Lesher [Mon, 18 Jul 2011 07:12:22 +0000 (07:12 +0000)]
Merged revisions 328541 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10

................
  r328541 | tilghman | 2011-07-18 02:11:26 -0500 (Mon, 18 Jul 2011) | 9 lines

  Merged revisions 328540 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r328540 | tilghman | 2011-07-18 02:10:15 -0500 (Mon, 18 Jul 2011) | 2 lines

    Typo
  ........
................

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

11 years agoMerged revisions 328428-328429 via svnmerge from
Alexandr Anikin [Fri, 15 Jul 2011 21:41:46 +0000 (21:41 +0000)]
Merged revisions 328428-328429 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10

................
  r328428 | may | 2011-07-15 23:31:09 +0400 (Fri, 15 Jul 2011) | 13 lines

  Merged revisions 328427 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r328427 | may | 2011-07-15 23:22:24 +0400 (Fri, 15 Jul 2011) | 7 lines

    small gk processing fixes:
    - decrease for 1 second registration ttl for very low expirations (some
      providers expire few earlier than TTL)
    - delete rrq and registration expire timers on URQ received as we make
      new registration.
  ........
................
  r328429 | may | 2011-07-15 23:35:50 +0400 (Fri, 15 Jul 2011) | 2 lines

  delete unproperly changed svn props
................

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

11 years agoMerged revisions 328451 via svnmerge from
Leif Madsen [Fri, 15 Jul 2011 21:19:08 +0000 (21:19 +0000)]
Merged revisions 328451 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10

........
  r328451 | lmadsen | 2011-07-15 16:17:25 -0500 (Fri, 15 Jul 2011) | 1 line

  Build app_macro by default because things depend on it.
........

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

11 years agoMerged revisions 328448 via svnmerge from
Leif Madsen [Fri, 15 Jul 2011 21:01:41 +0000 (21:01 +0000)]
Merged revisions 328448 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10

........
  r328448 | lmadsen | 2011-07-15 16:57:15 -0400 (Fri, 15 Jul 2011) | 2 lines

  Update UPGRADE.txt and CHANGES files.
  Update documentation files stating that deprecated modules are no longer built by default.
........

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

11 years agoAdd SLA to skinny.
Damien Wedhorn [Fri, 15 Jul 2011 08:19:46 +0000 (08:19 +0000)]
Add SLA to skinny.

Adds sublines to skinny lines. Each subline can be attached to an
SLA station/trunk combo. Includes the following functionality:

Callid is persistent for both in/out calls on all skinny devices.
Can join, hold, resume.
All sublines appear under a single line button.

See: https://wiki.asterisk.org/wiki/display/~wedhorn/Skinny+SLA for doc.

(closes issue ASTERISK-17947)

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

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

11 years agoMerged revisions 328329 via svnmerge from
Richard Mudgett [Fri, 15 Jul 2011 00:23:14 +0000 (00:23 +0000)]
Merged revisions 328329 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10

........
  r328329 | rmudgett | 2011-07-14 19:19:32 -0500 (Thu, 14 Jul 2011) | 2 lines

  Make hint watcher callback take const strings for context and exten parameters.
........

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

11 years agoMerged revisions 328317 via svnmerge from
Richard Mudgett [Thu, 14 Jul 2011 23:34:43 +0000 (23:34 +0000)]
Merged revisions 328317 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10

................
  r328317 | rmudgett | 2011-07-14 18:28:49 -0500 (Thu, 14 Jul 2011) | 13 lines

  Merged revisions 328302 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r328302 | rmudgett | 2011-07-14 18:12:06 -0500 (Thu, 14 Jul 2011) | 6 lines

    Missing SIP pvt and channel unlock in sip_set_rtp_peer().

    Regression introduced by -r326144.

    Add missing SIP pvt and channel unlock in sip_set_rtp_peer().
  ........
................

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

11 years agoMerged revisions 328247 via svnmerge from
Leif Madsen [Thu, 14 Jul 2011 20:28:54 +0000 (20:28 +0000)]
Merged revisions 328247 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10

................
  r328247 | lmadsen | 2011-07-14 16:25:31 -0400 (Thu, 14 Jul 2011) | 14 lines

  Merged revisions 328209 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r328209 | lmadsen | 2011-07-14 16:13:06 -0400 (Thu, 14 Jul 2011) | 6 lines

    Introduce <support_level> tags in MODULEINFO.
    This change introduces MODULEINFO into many modules in Asterisk in order to show
    the community support level for those modules. This is used by changes committed
    to menuselect by Russell Bryant recently (r917 in menuselect). More information about
    the support level types and what they mean is available on the wiki at
    https://wiki.asterisk.org/wiki/display/AST/Asterisk+Module+Support+States
  ........
................

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

11 years agoMerged revisions 328207 via svnmerge from
Jonathan Rose [Thu, 14 Jul 2011 19:56:19 +0000 (19:56 +0000)]
Merged revisions 328207 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10

................
  r328207 | jrose | 2011-07-14 14:45:18 -0500 (Thu, 14 Jul 2011) | 13 lines

  Merged revisions 328205 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r328205 | jrose | 2011-07-14 14:21:02 -0500 (Thu, 14 Jul 2011) | 6 lines

    Monitor application arguments requirements fixed.

    Monitor was requiring options in spite of no individual option on Monitor being required.

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

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

11 years agoMerged revisions 328162 via svnmerge from
Matthew Nicholson [Thu, 14 Jul 2011 17:47:40 +0000 (17:47 +0000)]
Merged revisions 328162 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10

........
  r328162 | mnicholson | 2011-07-14 12:46:32 -0500 (Thu, 14 Jul 2011) | 3 lines

  tune the v21 preamble detector to properly detect the desired sequence of hits
  and misses
........

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

11 years agoMerged revisions 328120 via svnmerge from
David Vossel [Wed, 13 Jul 2011 22:10:26 +0000 (22:10 +0000)]
Merged revisions 328120 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10

........
  r328120 | dvossel | 2011-07-13 17:09:34 -0500 (Wed, 13 Jul 2011) | 15 lines

  Preserve sample rate quality of wideband mixmonitor recordings.

  MixMonitor has the ability to record in any file format Asterisk supports,
  but the quality of wideband audio is not preserved.  This is because
  regardless of the sample rate the call is being recorded in, the audio
  is always downsampled to 8khz and then upsampled to whatever wideband
  format it is being written as.  This patch resolves this by requesting
  the audio from the audiohook in the signed linear format closest to the
  sample rate of the format we are writing.  This fix is only possible for
  Asterisk 1.10 because audio hooks in 1.8 are not capable of wideband
  audio.

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

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

11 years agoAdd UPGRADE-1.10.txt file from UPGRADE.txt.
Leif Madsen [Wed, 13 Jul 2011 21:06:23 +0000 (21:06 +0000)]
Add UPGRADE-1.10.txt file from UPGRADE.txt.

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

11 years agoset 1.10 merge properties
Russell Bryant [Wed, 13 Jul 2011 20:40:19 +0000 (20:40 +0000)]
set 1.10 merge properties

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