]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
15 years agoMerged revisions 244927 via svnmerge from
Sean Bright [Fri, 5 Feb 2010 17:10:15 +0000 (17:10 +0000)] 
Merged revisions 244927 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r244927 | seanbright | 2010-02-05 12:05:32 -0500 (Fri, 05 Feb 2010) | 9 lines

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

  ........
    r244926 | seanbright | 2010-02-05 12:03:35 -0500 (Fri, 05 Feb 2010) | 1 line

    Update main copyright date.
  ........
................

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

15 years agoBlocked revisions 244924 via svnmerge
David Vossel [Fri, 5 Feb 2010 16:59:30 +0000 (16:59 +0000)] 
Blocked revisions 244924 via svnmerge

........
  r244924 | dvossel | 2010-02-05 10:59:06 -0600 (Fri, 05 Feb 2010) | 6 lines

  fixes issue with sip registry not having correct default expiry

  default expiry was not being set correctly for a registry object.
  Thanks to ebroad for reporting the issue and testing the patch.
........

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

15 years agoBlocked revisions 244769 via svnmerge
David Vossel [Thu, 4 Feb 2010 23:18:40 +0000 (23:18 +0000)] 
Blocked revisions 244769 via svnmerge

........
  r244769 | dvossel | 2010-02-04 17:16:30 -0600 (Thu, 04 Feb 2010) | 5 lines

  parse_moved_contact tries to parse contact_name twice

  parse_moved_contact attempts to remove a quoted string
  twice, and the first try wasn't even being done correctly.
........

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

15 years agoBlocked revisions 244597 via svnmerge
David Vossel [Thu, 4 Feb 2010 23:18:03 +0000 (23:18 +0000)] 
Blocked revisions 244597 via svnmerge

........
  r244597 | dvossel | 2010-02-03 14:33:32 -0600 (Wed, 03 Feb 2010) | 51 lines

  -----Changes -----
  New files
  - channels/sip/sip.h – A new header for shared #define, enum, and struct
    definitions.
  - channels/sip/include/sip_utils.h – sip util functions shared among
    the all the sip APIs
  - channels/sip/include/config_parser.h – sip config-parser API
  - channels/sip/config_parser.c  – Contains sip.conf parsing helper functions
    with unit tests.
  - channels/sip/include/reqresp_parser.h – sip request response parser API
  - channels/sip/reqresp_parser.c – Contains sip request and response parsing
    helper functions with unit tests.

  New Unit Tests
  - sip_parse_uri_test
  - sip_parse_host_test
  - sip_parse_register_line_test

  Code Refactoring
  - All reusable #define, enum, and struct definitions were moved out of chan_sip.c
    into sip.h. During this process formatting changes were made to comments
    in both sip.h and chan_sip.c in order to better adhere to the coding guidelines.
  - The beginnings of three new sip APIs, sip-utils.h, config-parser.h,
    reqresp-parser.h using existing chan_sip.c functions.
  - parse_uri() and get_calleridname() were moved from chan_sip.c to request-parser.c
    along with unit tests for both functions.
  - sip_parse_host() and sip_parse_register_line() were moved from chan_sip.c to
    config-parser.c along with unit tests for both functions.

  Changes to parse_uri()
  -removal of the options parameter.  It was never used and did not behave correctly.
  -additional check for [?header] field. When this field was present, the transport
   type was not being set correctly.

  ----- Overview -----
  This patch is introduced with the hope that unit tests for all our sip parsing
  functions will be written soon.  chan_sip is a huge file, and with the addition of
  each unit test chan_sip is going to grow larger and harder to maintain.  I'm proposing
  we begin refactoring chan_sip, starting with the parsing functions.  With each parsing
  function we move into a separate helper file, a unit test should accompany it.  I've
  attempted to lay down the ground work for this change by creating two new parser
  helper files (config-parser.c and reqresp-parser.c) and moving all shared structs,
  enums, and defines from chan_sip.c into a shared sip.h file.  We can't verify everything
  in Asterisk using unit tests, but string parsing is one area where unit tests make
  the most sense.  By beginning to restructure the code in this way, chan_sip not only
  becomes less bloated, but Asterisk as a whole will become more stable.

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

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

15 years agoMerged revisions 244547 via svnmerge from
Mark Michelson [Wed, 3 Feb 2010 19:28:16 +0000 (19:28 +0000)] 
Merged revisions 244547 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r244547 | mmichelson | 2010-02-03 13:26:53 -0600 (Wed, 03 Feb 2010) | 3 lines

  Initialize counters in ast_sched_report so that resulting data is not bogus.
........

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

15 years agoMerged revisions 244505 via svnmerge from
Tilghman Lesher [Wed, 3 Feb 2010 18:47:48 +0000 (18:47 +0000)] 
Merged revisions 244505 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r244505 | tilghman | 2010-02-03 12:34:29 -0600 (Wed, 03 Feb 2010) | 8 lines

  The chanvar= setting should inherit the entire list of variables, not just the first one.

  (closes issue #16359)
   Reported by: raarts
   Patches:
         dahdi-setvars.diff uploaded by raarts (license 937)
   Tested by: raarts
........

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

15 years agoMerged revisions 244443 via svnmerge from
David Vossel [Tue, 2 Feb 2010 22:29:37 +0000 (22:29 +0000)] 
Merged revisions 244443 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r244443 | dvossel | 2010-02-02 16:27:23 -0600 (Tue, 02 Feb 2010) | 18 lines

  fixes crash during T.38 negotiation caused by invalid or missing FaxMaxDatagram field

  AST-2010-001

  (closes issue #16634)
  Reported by: krn

  (closes issue #16724)
  Reported by: barthpbx

  (closes issue #16517)
  Reported by: bklang

  (closes issue #16485)
  Reported by: elsto
........

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

15 years agoMerged revisions 244393 via svnmerge from
Tilghman Lesher [Tue, 2 Feb 2010 20:35:44 +0000 (20:35 +0000)] 
Merged revisions 244393 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r244393 | tilghman | 2010-02-02 14:32:29 -0600 (Tue, 02 Feb 2010) | 18 lines

  Properly respect GOSUB_RESULT as to what to do with the master channel.

  Previously, we would parse GOSUB_RESULT, but not actually do anything with it.

  (closes issue #16686)
   Reported by: bklang
   Patches:
         app_dial-respect-gosub_result.patch uploaded by bklang (license 919)
         (with modifications)
........

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

15 years agoMerged revisions 244331 via svnmerge from
Tilghman Lesher [Tue, 2 Feb 2010 18:59:37 +0000 (18:59 +0000)] 
Merged revisions 244331 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r244331 | tilghman | 2010-02-02 12:54:33 -0600 (Tue, 02 Feb 2010) | 9 lines

  Correct some off-by-one errors, especially when expressions don't contain expected spaces.

  Also include the tests provided by the reporter, as regression tests.

  (closes issue #16667)
   Reported by: wdoekes
   Patches:
         astsvn-func_match-off-by-one.diff uploaded by wdoekes (license 717)
........

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

15 years agoMerged revisions 244243 via svnmerge from
Tilghman Lesher [Mon, 1 Feb 2010 23:34:13 +0000 (23:34 +0000)] 
Merged revisions 244243 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r244243 | tilghman | 2010-02-01 17:16:12 -0600 (Mon, 01 Feb 2010) | 18 lines

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

  ........
    r244242 | tilghman | 2010-02-01 17:13:44 -0600 (Mon, 01 Feb 2010) | 11 lines

    Backup and restore original textfile, for prosthesis (gerund of prepend).

    Also, fix menuselect such that changing voicemail build options correctly
    causes rebuild.

    (closes issue #16415)
     Reported by: tomo1657
     Patches:
           prepention.patch uploaded by tomo1657 (license 484)
           (with modifications by me to backport to 1.4)
  ........
................

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

15 years agoMerged revisions 244071 via svnmerge from
Tilghman Lesher [Mon, 1 Feb 2010 18:01:36 +0000 (18:01 +0000)] 
Merged revisions 244071 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r244071 | tilghman | 2010-02-01 11:53:39 -0600 (Mon, 01 Feb 2010) | 22 lines

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

  ........
    r244070 | tilghman | 2010-02-01 11:46:31 -0600 (Mon, 01 Feb 2010) | 16 lines

    Revert previous chan_local fix (r236981) and fix instead by destroying expired frames in the queue.

    (closes issue #16525)
     Reported by: kobaz
     Patches:
           20100126__issue16525.diff.txt uploaded by tilghman (license 14)
           20100129__issue16525__1.6.0.diff.txt uploaded by tilghman (license 14)
     Tested by: kobaz, atis

    (closes issue #16581)
     Reported by: ZX81

    (closes issue #16681)
     Reported by: alexr1
  ........
................

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

15 years agoEnsure manager hooks are executed when there are no manager sessions.
Jeff Peeler [Thu, 28 Jan 2010 22:56:59 +0000 (22:56 +0000)] 
Ensure manager hooks are executed when there are no manager sessions.

Conditional expanded to check for hooks before aborting manager event
processing. The other two changes are just optimizations.

(closes issue #16455)
Reported by: atis
Patches:
     manager_hooks_16.patch uploaded by atis (license 242)
Tested by: atis

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

15 years agoMerged revisions 243943 via svnmerge from
Tilghman Lesher [Thu, 28 Jan 2010 20:03:48 +0000 (20:03 +0000)] 
Merged revisions 243943 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r243943 | tilghman | 2010-01-28 14:00:09 -0600 (Thu, 28 Jan 2010) | 2 lines

  Informational message, not an error.
........

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

15 years agoUpdate location of bug tracker in documentation.
Leif Madsen [Thu, 28 Jan 2010 18:52:17 +0000 (18:52 +0000)] 
Update location of bug tracker in documentation.

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

15 years agoMerged revisions 243860 via svnmerge from
Russell Bryant [Thu, 28 Jan 2010 18:35:54 +0000 (18:35 +0000)] 
Merged revisions 243860 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r243860 | russell | 2010-01-28 12:35:15 -0600 (Thu, 28 Jan 2010) | 2 lines

  Add a missing line terminator for T.38 SDP.
........

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

15 years agoMerged revisions 243780 via svnmerge from
Russell Bryant [Thu, 28 Jan 2010 16:25:41 +0000 (16:25 +0000)] 
Merged revisions 243780 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r243780 | russell | 2010-01-28 09:07:23 -0600 (Thu, 28 Jan 2010) | 9 lines

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

  ........
    r243779 | russell | 2010-01-28 09:03:17 -0600 (Thu, 28 Jan 2010) | 2 lines

    Fix a bogus third argument to ast_copy_string().
  ........
................

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

15 years agoMerged revisions 243693 via svnmerge from
Jeff Peeler [Wed, 27 Jan 2010 20:39:11 +0000 (20:39 +0000)] 
Merged revisions 243693 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r243693 | jpeeler | 2010-01-27 14:37:33 -0600 (Wed, 27 Jan 2010) | 12 lines

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

  ........
    r243691 | jpeeler | 2010-01-27 14:35:56 -0600 (Wed, 27 Jan 2010) | 5 lines

    Revert 243570, I should have looked at this closer. Will reopen the issue, but
    am leaving the review closed as the change was pointless.

    (issue #16488)
  ........
................

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

15 years agoMerged revisions 243571 via svnmerge from
Jeff Peeler [Wed, 27 Jan 2010 18:52:34 +0000 (18:52 +0000)] 
Merged revisions 243571 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r243571 | jpeeler | 2010-01-27 12:49:52 -0600 (Wed, 27 Jan 2010) | 16 lines

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

  ........
    r243570 | jpeeler | 2010-01-27 12:47:34 -0600 (Wed, 27 Jan 2010) | 9 lines

    Extend announcement URL used with Queue from 80 chars to PATH_MAX.

    (closes issue #16488)
    Reported by: syspert
    Patches:
          soundfilelen.pacth-2 uploaded by syspert (license 938)

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

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

15 years agoMerged revisions 243487 via svnmerge from
Mark Michelson [Wed, 27 Jan 2010 18:10:16 +0000 (18:10 +0000)] 
Merged revisions 243487 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r243487 | mmichelson | 2010-01-27 12:08:02 -0600 (Wed, 27 Jan 2010) | 9 lines

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

  ........
    r243486 | mmichelson | 2010-01-27 12:06:43 -0600 (Wed, 27 Jan 2010) | 3 lines

    Use a safe list traversal while checking for duplicate vars in pbx_builtin_setvar_helper.
  ........
................

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

15 years agoMerged revisions 243482 via svnmerge from
Russell Bryant [Wed, 27 Jan 2010 17:41:57 +0000 (17:41 +0000)] 
Merged revisions 243482 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r243482 | russell | 2010-01-27 11:32:07 -0600 (Wed, 27 Jan 2010) | 13 lines

  Fix the ability to specify an OSP token for an outbound IAX2 call.

  When this patch was originally submitted, the code allowed for the token to be
  set via a channel variable.  I decided that a cleaner approach would be to
  integrate it into the CHANNEL() function.  Unfortunately, that is not a suitable
  approach.  It's not possible to get the value set on the channel soon enough
  using that method.  So, go back to the simple channel variable method.

  (closes issue #16711)
  Reported by: homesick
  Patches:
        iax-svn.diff uploaded by homesick (license 91)
........

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

15 years agoMerged revisions 243391 via svnmerge from
David Vossel [Wed, 27 Jan 2010 00:00:33 +0000 (00:00 +0000)] 
Merged revisions 243391 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r243391 | dvossel | 2010-01-26 17:56:57 -0600 (Tue, 26 Jan 2010) | 15 lines

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

  ........
    r243390 | dvossel | 2010-01-26 17:55:49 -0600 (Tue, 26 Jan 2010) | 9 lines

    fixes bug with channel receiving wrong privileges after call parking

    (closes issue #16429)
    Reported by: Yasuhiro Konishi
    Patches:
          features.c.diff uploaded by Yasuhiro Konishi (license 947)
    Tested by: dvossel
  ........
................

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

15 years agoMerged revisions 243266 via svnmerge from
Jeff Peeler [Tue, 26 Jan 2010 18:26:59 +0000 (18:26 +0000)] 
Merged revisions 243266 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r243266 | jpeeler | 2010-01-26 12:20:55 -0600 (Tue, 26 Jan 2010) | 9 lines

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

  ........
    r243258 | jpeeler | 2010-01-26 12:19:10 -0600 (Tue, 26 Jan 2010) | 2 lines

    Remove unnecessary code in ast_read as issue 16058 has been fully solved now.
  ........
................

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

15 years agoMerged revisions 243244 via svnmerge from
Jeff Peeler [Tue, 26 Jan 2010 18:16:19 +0000 (18:16 +0000)] 
Merged revisions 243244 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r243244 | jpeeler | 2010-01-26 12:07:57 -0600 (Tue, 26 Jan 2010) | 12 lines

  Fix crash resulting from frames with invalid data pointers.

  In ast_frdup the frame data union does not get set to point to malloced memory
  if the datalen is zero, so make sure to handle the same case in ast_frisolate
  appropriately.

  (closes issue #16058)
  Reported by: atis
  Patches:
        bug16058-fix.patch uploaded by jpeeler (license 325)
  Tested by: atis
........

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

15 years agoBlocked revisions 243242 via svnmerge
David Vossel [Tue, 26 Jan 2010 17:40:37 +0000 (17:40 +0000)] 
Blocked revisions 243242 via svnmerge

........
  r243242 | dvossel | 2010-01-26 11:40:02 -0600 (Tue, 26 Jan 2010) | 7 lines

  modify 'test show registered' cli output format

  In order to improve readability, the output from 'test show
  registered' has been modified to truncate fields to fit within
  the format output if they are over a certain length.
........

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

15 years agoBlocked revisions 243200 via svnmerge
David Vossel [Tue, 26 Jan 2010 16:31:30 +0000 (16:31 +0000)] 
Blocked revisions 243200 via svnmerge

........
  r243200 | dvossel | 2010-01-26 10:30:08 -0600 (Tue, 26 Jan 2010) | 56 lines

  RFC compliant uri and display-name encode/decode

  1.  URI Encoding
  This patch changes ast_uri_encode()'s behavior when doreserved is enabled.
  Previously when doreserved was enabled only a small set of reserved
  characters were encoded.  This set was comprised primarily of the reserved
  characters defined in RFC3261 section 25.1, but contained other characters as
  well.  Rather than only escaping the reserved set, doreserved now escapes
  all characters not within the unreserved set as defined by RFC 3261 and
  RFC 2396.  Also, the 'doreserved' variable has been renamed to 'do_special_char'
  in attempts to avoid confusion.

  When doreserve is not enabled, the previous logic of only encoding the
  characters <= 0X1F and > 0X7f remains, except for the '%' character, which
  must always be encoded as it signifies a HEX escaped character during the decode
  process.

  2. URI Decoding: Break up URI before decode.
  In chan_sip.c ast_uri_decode is called on the entire URI instead of it's
  individual parts after it is parsed.  This is not good as ast_uri_decode
  can introduce special characters back into the URI which can mess up parsing.
  This patch resolves this by not decoding a URI until parsing is completely
  done.  There are many instances where we check to see if pedantic checking
  is enabled before we decode a URI.  In these cases a new macro,
  SIP_PEDANTIC_DECODE, is used on the individual parsed segments of the URI
  rather than constantly putting if (pedantic) { decode() } checks everywhere
  in the code.  In the areas where ast_uri_decode is not dependent upon
  pedantic checking this macro is not used, but decoding is still moved to
  each individual part of the URI.  The only behavior that should change from
  this patch is the time at which decoding occurs.

  Since I had to look over every place URI parsing occurs to create this
  patch, I found several places where we use duplicate code for parsing.
  To consolidate the code, those areas have updated to use the parse_uri()
  function where possible.

  3. SIP display-name decoding according to RFC3261 section 25.
  To properly decode the display-name portion of a FROM header, chan_sip's
  get_calleridname() function required a complete re-write.  More information
  about this change can be found in the comments at the beginning of this function.

  4. Unit Tests.
  Unit tests for ast_uri_encode, ast_uri_decode, and get_calleridname() have been
  written.  This involved the addition of the test_utils.c file for testing the
  utils api.

  (closes issue #16299)
  Reported by: wdoekes
  Patches:
        astsvn-16299-get_calleridname.diff uploaded by wdoekes (license 717)
        get_calleridname_rewrite.diff uploaded by dvossel (license 671)
  Tested by: wdoekes, dvossel, Nick_Lewis

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

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

15 years agoMerged revisions 239920 via svnmerge from
Tilghman Lesher [Mon, 25 Jan 2010 23:42:50 +0000 (23:42 +0000)] 
Merged revisions 239920 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r239920 | tilghman | 2010-01-13 14:38:42 -0600 (Wed, 13 Jan 2010) | 2 lines

  Flex uses fwrite incorrectly, which breaks the build.  Providing a workaround.
........

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

15 years agoMerged revisions 242967,242971 via svnmerge from
Tilghman Lesher [Mon, 25 Jan 2010 21:53:48 +0000 (21:53 +0000)] 
Merged revisions 242967,242971 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r242967 | tilghman | 2010-01-25 15:38:33 -0600 (Mon, 25 Jan 2010) | 9 lines

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

  ........
    r242966 | tilghman | 2010-01-25 15:36:33 -0600 (Mon, 25 Jan 2010) | 2 lines

    Only rebuild parsers by an option in menuselect
  ........
................
  r242971 | tilghman | 2010-01-25 15:51:41 -0600 (Mon, 25 Jan 2010) | 9 lines

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

  ........
    r242969 | tilghman | 2010-01-25 15:50:22 -0600 (Mon, 25 Jan 2010) | 2 lines

    Err, and use the new menuselect define, too.
  ........
................

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

15 years agoBlocked revisions 242919 via svnmerge
Olle Johansson [Mon, 25 Jan 2010 21:14:46 +0000 (21:14 +0000)] 
Blocked revisions 242919 via svnmerge

........
r242919 | oej | 2010-01-25 22:13:20 +0100 (Mån, 25 Jan 2010) | 8 lines

Change api for pbx_builtin_setvar to actually return error code if a function can't be written to.

This patch removes code that was duplicated from pbx.c to manager.c
in order to prevent API change in released versions of Asterisk.

There are propably also other places that would benefit from reading the
return code and react if a function returns error codes on writing a value into it.

........

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

15 years agoMerged revisions 242904 via svnmerge from
Olle Johansson [Mon, 25 Jan 2010 20:56:13 +0000 (20:56 +0000)] 
Merged revisions 242904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r242904 | oej | 2010-01-25 21:27:59 +0100 (Mån, 25 Jan 2010) | 10 lines

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

........
r242850 | oej | 2010-01-25 21:03:38 +0100 (Mån, 25 Jan 2010) | 2 lines

Report error when writing to functions returns error in AMI setvar action

........

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

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

15 years agoMerged revisions 242857 via svnmerge from
Tilghman Lesher [Mon, 25 Jan 2010 20:24:30 +0000 (20:24 +0000)] 
Merged revisions 242857 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r242857 | tilghman | 2010-01-25 14:18:15 -0600 (Mon, 25 Jan 2010) | 9 lines

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

  ........
    r242852 | tilghman | 2010-01-25 14:15:45 -0600 (Mon, 25 Jan 2010) | 2 lines

    Restore FreeBSD to able-to-compile-ish-mode
  ........
................

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

15 years agoMerged revisions 242729 via svnmerge from
Tilghman Lesher [Mon, 25 Jan 2010 05:46:53 +0000 (05:46 +0000)] 
Merged revisions 242729 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r242729 | tilghman | 2010-01-24 23:45:00 -0600 (Sun, 24 Jan 2010) | 9 lines

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

  ........
    r242728 | tilghman | 2010-01-24 23:42:22 -0600 (Sun, 24 Jan 2010) | 2 lines

    Buildbot pointed out an error (thanks, buildbot!)
  ........
................

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

15 years agoMerged revisions 242724 via svnmerge from
Tilghman Lesher [Mon, 25 Jan 2010 05:35:35 +0000 (05:35 +0000)] 
Merged revisions 242724 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r242724 | tilghman | 2010-01-24 23:34:33 -0600 (Sun, 24 Jan 2010) | 9 lines

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

  ........
    r242723 | tilghman | 2010-01-24 23:33:37 -0600 (Sun, 24 Jan 2010) | 2 lines

    Oops, should have used CMD_PREFIX, not ECHO_PREFIX, for the commands.
  ........
................

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

15 years agoMerged revisions 242719 via svnmerge from
Tilghman Lesher [Mon, 25 Jan 2010 05:33:08 +0000 (05:33 +0000)] 
Merged revisions 242719 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r242719 | tilghman | 2010-01-24 23:30:33 -0600 (Sun, 24 Jan 2010) | 9 lines

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

  ........
    r242683 | tilghman | 2010-01-24 23:13:28 -0600 (Sun, 24 Jan 2010) | 2 lines

    Make the build of the Asterisk expression parser match that of the AEL parser.
  ........
................

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

15 years agoMerged revisions 242521 via svnmerge from
Tilghman Lesher [Sun, 24 Jan 2010 06:42:23 +0000 (06:42 +0000)] 
Merged revisions 242521 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r242521 | tilghman | 2010-01-24 00:40:31 -0600 (Sun, 24 Jan 2010) | 15 lines

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

  ........
    r242520 | tilghman | 2010-01-24 00:33:01 -0600 (Sun, 24 Jan 2010) | 8 lines

    Only rebuild bison and flex source files on demand, if bison and flex are detected by the configure script.

    Changed after discussion on the -dev list about possible unnecessary build
    failures, due to checkouts/untars causing these special source files to
    possibly be newer than their resulting C files.  This should additionally
    ensure that nobody need learn about extra Makefile arguments to ensure the
    proper files get rebuilt when changes are made to these special source files.
  ........
................

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

15 years agoMerged revisions 242424 via svnmerge from
Tilghman Lesher [Fri, 22 Jan 2010 21:46:44 +0000 (21:46 +0000)] 
Merged revisions 242424 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r242424 | tilghman | 2010-01-22 15:45:18 -0600 (Fri, 22 Jan 2010) | 14 lines

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

  ........
    r242423 | tilghman | 2010-01-22 15:44:18 -0600 (Fri, 22 Jan 2010) | 7 lines

    Rebuild from flex, bison sources when necessary.

    (issue #14629)
     Reported by: Marquis
     Patches:
           20100121__issue14629.diff.txt uploaded by tilghman (license 14)
  ........
................

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

15 years agoMerged revisions 242227 via svnmerge from
Olle Johansson [Fri, 22 Jan 2010 09:54:20 +0000 (09:54 +0000)] 
Merged revisions 242227 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r242227 | oej | 2010-01-22 10:28:34 +0100 (Fre, 22 Jan 2010) | 11 lines

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

........
r242226 | oej | 2010-01-22 10:19:30 +0100 (Fre, 22 Jan 2010) | 3 lines

Initialize notify_types to NULL

........

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

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

15 years agoAdd Dialed Number Identifier (DNID) field to cdr.
Alec L Davis [Fri, 22 Jan 2010 01:47:30 +0000 (01:47 +0000)] 
Add Dialed Number Identifier (DNID) field to cdr.

Branch support, retains ABI, if backend CDR collector is adaptive then database
requires 'dnid' field to be added, otherwise no functional changes.

  Reported by: alecdavis
  Tested by: alecdavis
  Patch
 cdr_dnid.diff2.txt uploaded by alecdavis (license 585)

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

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

15 years agoBlocked revisions 242092 via svnmerge
Mark Michelson [Thu, 21 Jan 2010 22:38:41 +0000 (22:38 +0000)] 
Blocked revisions 242092 via svnmerge

........
  r242092 | mmichelson | 2010-01-21 16:37:55 -0600 (Thu, 21 Jan 2010) | 3 lines

  Add missing argument to ast_calloc calls.
........

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

15 years agoBlocked revisions 242043 via svnmerge
Olle Johansson [Thu, 21 Jan 2010 21:07:43 +0000 (21:07 +0000)] 
Blocked revisions 242043 via svnmerge

........
r242043 | oej | 2010-01-21 22:05:56 +0100 (Tor, 21 Jan 2010) | 2 lines

Make sure we initialize the ast_ha structure with ast_calloc

........

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

15 years agoMerged revisions 241938 via svnmerge from
Sean Bright [Thu, 21 Jan 2010 15:32:48 +0000 (15:32 +0000)] 
Merged revisions 241938 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r241938 | seanbright | 2010-01-21 10:27:42 -0500 (Thu, 21 Jan 2010) | 12 lines

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

  ........
    r241932 | seanbright | 2010-01-21 10:25:46 -0500 (Thu, 21 Jan 2010) | 5 lines

    Fix configure check for PTHREAD_ONCE_INIT when manually adding -Wall to CFLAGS.

    (closes issue #16666)
    Reported by: romain_proformatique
  ........
................

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

15 years agoMerged revisions 241766 via svnmerge from
Tilghman Lesher [Thu, 21 Jan 2010 05:56:09 +0000 (05:56 +0000)] 
Merged revisions 241766 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r241766 | tilghman | 2010-01-20 23:54:30 -0600 (Wed, 20 Jan 2010) | 9 lines

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

  ........
    r241765 | tilghman | 2010-01-20 23:53:17 -0600 (Wed, 20 Jan 2010) | 2 lines

    Guard against division by zero.
  ........
................

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

15 years agoMerged revisions 241714 via svnmerge from
David Vossel [Wed, 20 Jan 2010 21:18:37 +0000 (21:18 +0000)] 
Merged revisions 241714 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r241714 | dvossel | 2010-01-20 15:14:47 -0600 (Wed, 20 Jan 2010) | 10 lines

  rtp timestamp to timeval calculation fix

  The rtp timestamp to timeval calculation was only
  accurate for 8kHz audio. This patch corrects this.

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

  SWP-648
........

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

15 years agoMerged revisions 241627 via svnmerge from
David Vossel [Wed, 20 Jan 2010 20:11:47 +0000 (20:11 +0000)] 
Merged revisions 241627 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r241627 | dvossel | 2010-01-20 14:01:07 -0600 (Wed, 20 Jan 2010) | 12 lines

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

  ........
    r241626 | dvossel | 2010-01-20 14:00:04 -0600 (Wed, 20 Jan 2010) | 6 lines

    fixes parsing error in Makefile.

    Some echo lines were missing "; . Thanks to jparker for pointing out
    the problem.
  ........
................

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

15 years agoUpdate CDR variables as pbx starts
Alec L Davis [Wed, 20 Jan 2010 09:37:25 +0000 (09:37 +0000)] 
Update CDR variables as pbx starts

Allows CDR variables added in cdr.c:set_one_cid to become visable during the call,
by executing ast_cdr_update() early in __ast_pbx_run.

Based on cdr_update.diff3.txt

(issue #16638)
Reported by: alecdavis
Patches:
      cdr_update.diff3.txt uploaded by alecdavis (license 585)
Tested by: alecdavis

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

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

........
  r241366 | jpeeler | 2010-01-19 16:59:53 -0600 (Tue, 19 Jan 2010) | 13 lines

  Initialize data on the stack so that Park doesn't interpret random arguments.

  passdata was only being set in pbx_substitue_variables when arguments were
  passed.

  (closes issue #16406)
  (closes issue #16586)
  Reported by: DLNoah
  Patches:
        bug16586v2.patch uploaded by jpeeler (license 325)
  Tested by: DLNoah
........

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

15 years agoMerged revisions 241314 via svnmerge from
Jeff Peeler [Tue, 19 Jan 2010 19:02:47 +0000 (19:02 +0000)] 
Merged revisions 241314 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r241314 | jpeeler | 2010-01-19 12:46:11 -0600 (Tue, 19 Jan 2010) | 20 lines

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

  ........
    r241227 | jpeeler | 2010-01-19 11:22:18 -0600 (Tue, 19 Jan 2010) | 13 lines

    Fix deadlock in agent_read by removing call to agent_logoff.

    One must always lock the agents list lock before the agent private. agent_read
    locks the private immediately, so locking the agents list lock is not an
    option (which is what agent_logoff requires). Because agent_read already
    has access to the agent private all that is necessary is to do the required
    hanging up that agent_logoff performed.

    (closes issue #16321)
    Reported by: valon24
    Patches:
          bug16321.patch uploaded by jpeeler (license 325)
  ........
................

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

15 years agoMerged revisions 241230 via svnmerge from
Jason Parker [Tue, 19 Jan 2010 17:43:40 +0000 (17:43 +0000)] 
Merged revisions 241230 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r241230 | qwell | 2010-01-19 11:42:10 -0600 (Tue, 19 Jan 2010) | 10 lines

  Allow parallel make (-j) to work properly.

  After some back and forth with the reporter, we came up with the necessary changes.

  (closes issue #16489)
  Reported by: Chainsaw
  Patches:
        asterisk-1.6.2.1-parallel-make-minimal.patch uploaded by Chainsaw (license 723)
  Tested by: Chainsaw, qwell
........

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

15 years agoBlocked revisions 241098 via svnmerge
Jason Parker [Mon, 18 Jan 2010 22:05:38 +0000 (22:05 +0000)] 
Blocked revisions 241098 via svnmerge

........
  r241098 | qwell | 2010-01-18 16:03:49 -0600 (Mon, 18 Jan 2010) | 8 lines

  Fix an RTP instance allocation failure on Solaris.

  (closes issue #16543)
  Reported by: crjw
  Patches:
        rtp_sin_family.patch uploaded by crjw (license 963)
  Tested by: crjw, qwell
........

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

15 years agoMerged revisions 241016 via svnmerge from
Sean Bright [Mon, 18 Jan 2010 20:01:50 +0000 (20:01 +0000)] 
Merged revisions 241016 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r241016 | seanbright | 2010-01-18 14:57:52 -0500 (Mon, 18 Jan 2010) | 19 lines

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

  ........
    r241015 | seanbright | 2010-01-18 14:54:19 -0500 (Mon, 18 Jan 2010) | 12 lines

    Plug a memory leak when reading configs with their comments.

    While reading through configuration files with the intent of returning their
    full contents (comments specifically) we allocated some memory and then forgot
    to free it.  This doesn't fix 16554 but clears up a leak I had in the lab.

    (issue #16554)
    Reported by: mav3rick
    Patches:
          issue16554_20100118.patch uploaded by seanbright (license 71)
    Tested by: seanbright
  ........
................

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

15 years agoBlocked revisions 240971 via svnmerge
David Vossel [Mon, 18 Jan 2010 17:45:43 +0000 (17:45 +0000)] 
Blocked revisions 240971 via svnmerge

........
  r240971 | dvossel | 2010-01-18 11:45:18 -0600 (Mon, 18 Jan 2010) | 9 lines

  transmit_silence_during_record replaced by transmit_silence

  In asterisk.conf, transmit_silence_during_record has been removed
  in favor of using only the transmit_silence option.  The
  transmit_silence_during_record option remains a valid option in
  asterisk.conf, but has been removed from the sample config and
  noted in CHANGES.
........

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

15 years agoMerged revisions 240887 via svnmerge from
David Vossel [Mon, 18 Jan 2010 16:45:57 +0000 (16:45 +0000)] 
Merged revisions 240887 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r240887 | dvossel | 2010-01-18 10:45:28 -0600 (Mon, 18 Jan 2010) | 7 lines

  updated transmit_silence option documentation in asterisk.conf

  This patch updates the transmit_silence option to better document
  why the option exists, and what it affects.  Thanks to russell
  for providing the verbage for this update.
........

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

15 years agoMerged revisions 240842 via svnmerge from
David Vossel [Mon, 18 Jan 2010 15:53:25 +0000 (15:53 +0000)] 
Merged revisions 240842 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r240842 | dvossel | 2010-01-18 09:52:55 -0600 (Mon, 18 Jan 2010) | 2 lines

  fixes spelling error.  s/memeber/member
........

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

15 years agoMerged revisions 240717 via svnmerge from
Sean Bright [Sun, 17 Jan 2010 19:47:47 +0000 (19:47 +0000)] 
Merged revisions 240717 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r240717 | seanbright | 2010-01-17 14:45:48 -0500 (Sun, 17 Jan 2010) | 5 lines

  Avoid a crash on Solaris when running 'core show functions.'

  (closes issue #16309)
  Reported by: asgaroth
........

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

15 years agoMerged revisions 240667 via svnmerge from
Sean Bright [Sat, 16 Jan 2010 00:59:26 +0000 (00:59 +0000)] 
Merged revisions 240667 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r240667 | seanbright | 2010-01-15 19:54:08 -0500 (Fri, 15 Jan 2010) | 2 lines

  Get MoH building on OpenSolaris.
........

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

15 years agoMerged revisions 240548 via svnmerge from
Russell Bryant [Fri, 15 Jan 2010 23:07:39 +0000 (23:07 +0000)] 
Merged revisions 240548 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r240548 | russell | 2010-01-15 17:06:32 -0600 (Fri, 15 Jan 2010) | 9 lines

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

  ........
    r240547 | russell | 2010-01-15 17:06:11 -0600 (Fri, 15 Jan 2010) | 2 lines

    Fix a spelling error in the asterisk.conf sample.
  ........
................

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

15 years agoMerged revisions 240499-240500 via svnmerge from
Tilghman Lesher [Fri, 15 Jan 2010 21:44:48 +0000 (21:44 +0000)] 
Merged revisions 240499-240500 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r240499 | tilghman | 2010-01-15 15:40:14 -0600 (Fri, 15 Jan 2010) | 9 lines

  The previous attempt at using a pipe to guarantee astcanary shutdown did not work.
  We're revisiting the previous patch, albeit with a method that overcomes the
  prior criticism that it was not POSIX-compliant.
  (closes issue #16602)
   Reported by: frawd
   Patches:
         20100114__issue16602.diff.txt uploaded by tilghman (license 14)
   Tested by: frawd
........
  r240500 | tilghman | 2010-01-15 15:42:36 -0600 (Fri, 15 Jan 2010) | 2 lines

  Oops, missed an include
........

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

15 years agoMerged revisions 240415 via svnmerge from
Tilghman Lesher [Fri, 15 Jan 2010 20:57:31 +0000 (20:57 +0000)] 
Merged revisions 240415 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r240415 | tilghman | 2010-01-15 14:54:24 -0600 (Fri, 15 Jan 2010) | 22 lines

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

  ........
    r240414 | tilghman | 2010-01-15 14:52:27 -0600 (Fri, 15 Jan 2010) | 15 lines

    Disallow leaving more than maxmsg voicemails.
    This is a possibility because our previous method assumed that no messages are
    left in parallel, which is not a safe assumption.  Due to the vmu structure
    duplication, it was necessary to track in-process messages via a separate
    structure.  If at some point, we switch vmu to an ao2-reference-counted
    structure, which would eliminate the prior noted duplication of structures,
    then we could incorporate this new in-process structure directly into vmu.
    (closes issue #16271)
     Reported by: sohosys
     Patches:
           20100108__issue16271.diff.txt uploaded by tilghman (license 14)
           20100108__issue16271__trunk.diff.txt uploaded by tilghman (license 14)
           20100108__issue16271__1.6.0.diff.txt uploaded by tilghman (license 14)
     Tested by: jsutton
  ........
................

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

15 years agoMerged revisions 240411 via svnmerge from
Russell Bryant [Fri, 15 Jan 2010 20:46:18 +0000 (20:46 +0000)] 
Merged revisions 240411 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r240411 | russell | 2010-01-15 14:41:11 -0600 (Fri, 15 Jan 2010) | 7 lines

  Ensure payload type is properly checked when comparing against cached events.

  (closes issue #16607)
  Reported by: ddv2005
  Patches:
        event.patch uploaded by ddv2005 (license 769)
........

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

15 years agoMerged revisions 240271 via svnmerge from
Sean Bright [Thu, 14 Jan 2010 23:18:40 +0000 (23:18 +0000)] 
Merged revisions 240271 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r240271 | seanbright | 2010-01-14 18:13:02 -0500 (Thu, 14 Jan 2010) | 7 lines

  Plug a memory leak in res_config_ldap.

  (closes issue #16257)
  Reported by: nito
  Patches:
        issue16257_20100111.diff uploaded by seanbright (license 71)
........

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

15 years agoMerged revisions 240226 via svnmerge from
Sean Bright [Thu, 14 Jan 2010 20:35:51 +0000 (20:35 +0000)] 
Merged revisions 240226 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r240226 | seanbright | 2010-01-14 15:30:03 -0500 (Thu, 14 Jan 2010) | 4 lines

  If we aren't running on a machine that support CLOCK_MONOTONIC, don't load.

  Group developed and tested by seanbright, Corydon76, Kobaz, and Amorsen.
........

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

15 years agoMerged revisions 240175 via svnmerge from
Tilghman Lesher [Thu, 14 Jan 2010 17:40:11 +0000 (17:40 +0000)] 
Merged revisions 240175 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r240175 | tilghman | 2010-01-14 11:34:53 -0600 (Thu, 14 Jan 2010) | 2 lines

  Similarly, ensure that matchcid is duplicated correctly when merging contexts.
........

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

15 years agoMerged revisions 240129 via svnmerge from
Tilghman Lesher [Thu, 14 Jan 2010 16:57:08 +0000 (16:57 +0000)] 
Merged revisions 240129 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r240129 | tilghman | 2010-01-14 10:52:22 -0600 (Thu, 14 Jan 2010) | 4 lines

  Ensure that the callerid is NULL when the parent is effectively NULL.
  This applies only to pattern-match hints, which create exact-match
  hints on the fly.
........

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

15 years agoMerged revisions 240078 via svnmerge from
Matthew Nicholson [Thu, 14 Jan 2010 16:15:47 +0000 (16:15 +0000)] 
Merged revisions 240078 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r240078 | mnicholson | 2010-01-14 10:14:35 -0600 (Thu, 14 Jan 2010) | 2 lines

  This change fixes a few bugs in the way the far max IFP was calculated that were introduced in r231692.

  (closes issue #16497)
  Reported by: globalnetinc
  Patches:
        udptl-max-ifp-fix1.diff uploaded by mnicholson (license 96)
  Tested by: globalnetinc
........

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

15 years agoMerged revisions 240039 via svnmerge from
Leif Madsen [Thu, 14 Jan 2010 14:38:38 +0000 (14:38 +0000)] 
Merged revisions 240039 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r240039 | lmadsen | 2010-01-14 08:38:01 -0600 (Thu, 14 Jan 2010) | 11 lines

  Add documentation about how to build queues.

  Add a how-to set of documentation about building queues with Asterisk.
  This documentation is based on Asterisk 1.6.2 but should work on most
  versions with minor modifications.

  (closes issue #16237)
  Reported by: lmadsen
  Patches:
        Building Queues (FINAL).txt uploaded by lmadsen (license 10)
  Tested by: pdhales, lmadsen, cmdrwalrus
........

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

15 years agoMerged revisions 239839 via svnmerge from
Jeff Peeler [Wed, 13 Jan 2010 19:51:40 +0000 (19:51 +0000)] 
Merged revisions 239839 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r239839 | jpeeler | 2010-01-13 13:48:16 -0600 (Wed, 13 Jan 2010) | 18 lines

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

  ........
    r239838 | jpeeler | 2010-01-13 13:43:33 -0600 (Wed, 13 Jan 2010) | 11 lines

    Fix regression for timed out parked call returning to caller

    This issue seems to have been exposed by the fix in 160390 whereby using a
    masquerade prevented a crash. The new channel used in the masquerade was
    not copying the macro information from the old channel.

    (closes issue #15459)
    Reported by: djrodman
    Patches:
          patch_15459.txt uploaded by mnick (license )
  ........
................

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

15 years agoMerged revisions 239834 via svnmerge from
Leif Madsen [Wed, 13 Jan 2010 19:32:09 +0000 (19:32 +0000)] 
Merged revisions 239834 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r239834 | lmadsen | 2010-01-13 13:31:13 -0600 (Wed, 13 Jan 2010) | 8 lines

  Add more examples to extensions.conf showing how to use various
  functionality and provide commonly useful features.

  (closes issue #16090)
  Reported by: pprindeville
  Patches:
        extensions.conf-bugid16090.patch#3 uploaded by pprindeville (license 347)
  Tested by: tzafrir, pprindeville, lmadsen
........

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

15 years agoMerged revisions 239712 via svnmerge from
David Vossel [Wed, 13 Jan 2010 16:37:06 +0000 (16:37 +0000)] 
Merged revisions 239712 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r239712 | dvossel | 2010-01-13 10:31:14 -0600 (Wed, 13 Jan 2010) | 24 lines

  add silence gen to wait apps

  asterisk.conf's 'transmit_silence' option existed before
  this patch, but was limited to only generating silence
  while recording and sending DTMF.  Now enabling the
  transmit_silence option generates silence during wait
  times as well.

  To achieve this, ast_safe_sleep has been modified to
  generate silence anytime no other generators are present
  and transmit_silence is enabled.  Wait apps not using
  ast_safe_sleep now generate silence when transmit_silence
  is enabled as well.

  (closes issue #16524)
  Reported by: kobaz

  (closes issue #16523)
  Reported by: kobaz
  Tested by: dvossel

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

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

15 years agoShow proper stats in "sip show channelstats"
Olle Johansson [Wed, 13 Jan 2010 11:25:55 +0000 (11:25 +0000)] 
Show proper stats in "sip show channelstats"

SIP show channelstats show current RTCP statistics for calls - if we have it. Calls bridged
in RTP p2p bridge doesn't have any statistics.  In calls where the remote end doesn't send
RTCP or we can't receive it due to NAT, there's no reliable data as well.

Thanks, Klaus, for the patch. Sorry for the delay.
(closes issue #15819)
Reported by: klaus3000
Patches:
      asterisk-sip-show-channelstats-1.6.2.txt uploaded by klaus3000 (license 65)
Tested by: klaus3000, oej

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

15 years agoMerged revisions 239665 via svnmerge from
Olle Johansson [Wed, 13 Jan 2010 10:48:16 +0000 (10:48 +0000)] 
Merged revisions 239665 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r239665 | oej | 2010-01-13 11:45:19 +0100 (Ons, 13 Jan 2010) | 2 lines

MAX() moved to utils.h

........

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

15 years agoBlocked revisions 239663 via svnmerge
Olle Johansson [Wed, 13 Jan 2010 10:36:08 +0000 (10:36 +0000)] 
Blocked revisions 239663 via svnmerge

........
r239663 | oej | 2010-01-13 11:24:23 +0100 (Ons, 13 Jan 2010) | 11 lines

SIP Show channelstats fix - use float division to show proper stats

(closes issue #15819)
Reported by: klaus3000
Patches:
      asterisk-sip-show-channelstats-trunk.txt uploaded by klaus3000 (license 65)
Tested by: klaus3000, oej

This patch is for trunk only and will be blocked in 1.6.2

........

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

15 years agoMerged revisions 239571 via svnmerge from
Tilghman Lesher [Tue, 12 Jan 2010 20:01:02 +0000 (20:01 +0000)] 
Merged revisions 239571 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r239571 | tilghman | 2010-01-12 13:58:00 -0600 (Tue, 12 Jan 2010) | 5 lines

  Blank callerid and NULL callerid should not compare equal.
  The second is the default state for matching CID in the dialplan (no matching)
  while the first matches one particular CallerID.  This is a regression.
  (fixes AST-314, SWP-611)
........

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

15 years agoMerged revisions 239520 via svnmerge from
Leif Madsen [Tue, 12 Jan 2010 18:25:35 +0000 (18:25 +0000)] 
Merged revisions 239520 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r239520 | lmadsen | 2010-01-12 12:22:45 -0600 (Tue, 12 Jan 2010) | 6 lines

  Note that direct T.38 is not supported.

  (closes issue #16411)
  Reported by: stanusr
  Patches:
        __20091210-sip.conf.sample-documentation.txt uploaded by lmadsen (license 10)
........

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

15 years agoMerged revisions 239473 via svnmerge from
Sean Bright [Tue, 12 Jan 2010 17:14:43 +0000 (17:14 +0000)] 
Merged revisions 239473 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r239473 | seanbright | 2010-01-12 12:09:12 -0500 (Tue, 12 Jan 2010) | 10 lines

  Fix crash in res_config_ldap.

  We need to allocate enough room for 2 pointers, not 2 characters.

  (closes issue #16397)
  Reported by: bklang
  Patches:
        res_config_ldap.patch uploaded by applsplatz (license 949)
  Tested by: applsplatz
........

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

15 years agoMerged revisions 239427 via svnmerge from
David Vossel [Tue, 12 Jan 2010 16:16:17 +0000 (16:16 +0000)] 
Merged revisions 239427 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r239427 | dvossel | 2010-01-12 10:14:41 -0600 (Tue, 12 Jan 2010) | 14 lines

  fixes text support in sdp answer

  The code that handled setting 'm=text' in the sdp was not executing
  in the correct order.  The check to see if text was needed came after
  the check to add 'm=text' to the sdp, this resulted in 'm=text' always
  being set to 0 because it looked like text was never required.

  (closes issue #16457)
  Reported by: peterj
  Patches:
        textportinsdp.diff uploaded by peterj (license 951)
        issue16457.diff uploaded by dvossel (license 671)
  Tested by: peterj
........

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

15 years agoMerged revisions 239308 via svnmerge from
Tilghman Lesher [Tue, 12 Jan 2010 03:25:20 +0000 (03:25 +0000)] 
Merged revisions 239308 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r239308 | tilghman | 2010-01-11 21:21:40 -0600 (Mon, 11 Jan 2010) | 15 lines

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

  ........
    r239307 | tilghman | 2010-01-11 21:18:36 -0600 (Mon, 11 Jan 2010) | 8 lines

    Portability and other fixes for the safe_asterisk script
    (closes issue #16416)
     Reported by: bklang
     Patches:
           safe_asterisk-compat-1.patch uploaded by bklang (license 919)
           20100106__issue16416__trunk.diff.txt uploaded by tilghman (license 14)
     Tested by: bklang
  ........
................

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

15 years agoMerged revisions 239191 via svnmerge from
Tilghman Lesher [Mon, 11 Jan 2010 22:08:25 +0000 (22:08 +0000)] 
Merged revisions 239191 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r239191 | tilghman | 2010-01-11 16:06:38 -0600 (Mon, 11 Jan 2010) | 3 lines

  Including bundle1.o breaks Tiger and Leopard
  (issue #16449)
........

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

15 years agoBlocked revisions 239111 via svnmerge
Sean Bright [Mon, 11 Jan 2010 16:22:58 +0000 (16:22 +0000)] 
Blocked revisions 239111 via svnmerge

........
  r239111 | seanbright | 2010-01-11 11:22:09 -0500 (Mon, 11 Jan 2010) | 1 line

  Fix spelling of 'category.'
........

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

15 years agoMerged revisions 238916 via svnmerge from
Tilghman Lesher [Sat, 9 Jan 2010 01:30:52 +0000 (01:30 +0000)] 
Merged revisions 238916 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r238916 | tilghman | 2010-01-08 19:08:04 -0600 (Fri, 08 Jan 2010) | 13 lines

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

  ........
    r238915 | tilghman | 2010-01-08 18:57:58 -0600 (Fri, 08 Jan 2010) | 6 lines

    -1 is interpreted as an error, intead of the maximum mask.
    (closes issue #16241)
     Reported by: vnovy
     Patches:
           manager.c.patch uploaded by vnovy (license 922)
  ........
................

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

15 years agoMerged revisions 238835 via svnmerge from
Jeff Peeler [Fri, 8 Jan 2010 23:34:31 +0000 (23:34 +0000)] 
Merged revisions 238835 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r238835 | jpeeler | 2010-01-08 17:30:55 -0600 (Fri, 08 Jan 2010) | 11 lines

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

  ........
    r238834 | jpeeler | 2010-01-08 17:28:37 -0600 (Fri, 08 Jan 2010) | 4 lines

    Stop a crash when no peer is passed to masq_park_call.

    (distantly related to issue #16406)
  ........
................

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

15 years agoMerged revisions 238754 via svnmerge from
Tilghman Lesher [Fri, 8 Jan 2010 22:18:26 +0000 (22:18 +0000)] 
Merged revisions 238754 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r238754 | tilghman | 2010-01-08 16:17:03 -0600 (Fri, 08 Jan 2010) | 7 lines

  Initialize variables that we attempt to free later.
  (closes issue #16302)
   Reported by: yahsyn
   Patches:
         20091124__issue16302.diff.txt uploaded by tilghman (license 14)
   Tested by: yahsyn
........

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

15 years agoMerged revisions 238635 via svnmerge from
David Vossel [Fri, 8 Jan 2010 19:43:50 +0000 (19:43 +0000)] 
Merged revisions 238635 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r238635 | dvossel | 2010-01-08 13:39:30 -0600 (Fri, 08 Jan 2010) | 22 lines

  fixes AUDIOHOOK_INHERIT regression

  During the process of removing an audiohook from one channel
  and attaching it to another the audiohook's status is updated
  to DONE and then back to whatever it was previously.  Typically
  updating the status after setting it to DONE is not a good idea
  because DONE can trigger unrecoverable audiohook destruction
  events... because of this a conditional check was added to
  audiohook_update_status to explicitly prevent the audiohook
  from ever changing after being set to DONE.  It was this check
  that prevented audiohook inherit from work properly though.

  Now ast_audiohook_move_by_source is treated as a special exception,
  as the audiohook must be returned to its previous status after
  attaching it to the new channel.  This is only a safe operation
  because the audiohook's lock is held the entire time, otherwise
  this could cause trouble.

  (closes issue #16522)
  Reported by: corruptor
........

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

15 years agoMerged revisions 238630 via svnmerge from
Matthew Nicholson [Fri, 8 Jan 2010 19:33:56 +0000 (19:33 +0000)] 
Merged revisions 238630 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r238630 | mnicholson | 2010-01-08 13:32:11 -0600 (Fri, 08 Jan 2010) | 12 lines

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

  ........
    r238629 | mnicholson | 2010-01-08 13:20:44 -0600 (Fri, 08 Jan 2010) | 5 lines

    Properly calculate the remaining space in the output string when reducing format strings.

    (closes issue #16560)
    Reported by: goldwein
  ........
................

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

15 years agoMerged revisions 238583 via svnmerge from
Jeff Peeler [Fri, 8 Jan 2010 17:20:04 +0000 (17:20 +0000)] 
Merged revisions 238583 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r238583 | jpeeler | 2010-01-08 11:18:41 -0600 (Fri, 08 Jan 2010) | 5 lines

  Stop trying to find a parking space after traversing the parkinglot one time.

  (closes issue #16428)
  Reported by: Yasuhiro Konishi
........

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

15 years agoMerged revisions 209400 via svnmerge from
Tilghman Lesher [Thu, 7 Jan 2010 21:17:43 +0000 (21:17 +0000)] 
Merged revisions 209400 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r209400 | kpfleming | 2009-07-28 08:49:46 -0500 (Tue, 28 Jul 2009) | 3 lines

  Define side-effect-safe MIN and MAX macros and remove duplicate definitions from various files.
  (closes issue #16251)
  Reported by: asgaroth
........

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

15 years agoBlocked revisions 238492 via svnmerge
David Vossel [Thu, 7 Jan 2010 20:44:30 +0000 (20:44 +0000)] 
Blocked revisions 238492 via svnmerge

........
  r238492 | dvossel | 2010-01-07 14:42:27 -0600 (Thu, 07 Jan 2010) | 14 lines

  fixes ast_transfer stall until hangup if called with a channel that doesn't support transfers

  ast_transfer sets res to 0 if there is no technology transfer function,
  but then tests for it to be negative before deciding to do an early exit.
  As a result, it will will wait for an AST_CONTROL_TRANSFER message that
  will never come.

  (closes issue #16424)
  Reported by: davidw
  Patches:
        Issue_16424_trunk_234134.patch uploaded by davidw (license 780)
........

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

15 years agoMerged revisions 238412 via svnmerge from
David Vossel [Thu, 7 Jan 2010 20:17:48 +0000 (20:17 +0000)] 
Merged revisions 238412 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r238412 | dvossel | 2010-01-07 14:15:27 -0600 (Thu, 07 Jan 2010) | 16 lines

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

  ........
    r238411 | dvossel | 2010-01-07 14:14:25 -0600 (Thu, 07 Jan 2010) | 10 lines

    fixes crash in "scheduled_destroy" in chan_iax

    A signed short was used to represent a callnumber.  This is makes
    it possible to attempt to access the iaxs array with a negative
    index.

    (closes issue #16565)
    Reported by: jensvb
  ........
................

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

15 years agoMerged revisions 238405 via svnmerge from
David Vossel [Thu, 7 Jan 2010 20:01:20 +0000 (20:01 +0000)] 
Merged revisions 238405 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r238405 | dvossel | 2010-01-07 14:00:31 -0600 (Thu, 07 Jan 2010) | 8 lines

  Change in sip show channels display format allowing more digits for CID

  (closes issue #16459)
  Reported by: Rzadzins
  Patches:
        chan_sip_longer_cid.patch uploaded by Rzadzins (license 953)
........

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

15 years agoMerged revisions 238361 via svnmerge from
David Vossel [Thu, 7 Jan 2010 18:59:03 +0000 (18:59 +0000)] 
Merged revisions 238361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r238361 | dvossel | 2010-01-07 12:58:23 -0600 (Thu, 07 Jan 2010) | 8 lines

  cli 'queue show' formatting fix.  queue name was truncated over 12 characters

  (closes issue #16078)
  Reported by: RoadKill
  Patches:
        quequename_limit.patch uploaded by ppyy (license 906)
  Tested by: dvossel
........

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

15 years agoMerged revisions 238313 via svnmerge from
Tzafrir Cohen [Thu, 7 Jan 2010 09:49:54 +0000 (09:49 +0000)] 
Merged revisions 238313 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r238313 | tzafrir | 2010-01-07 11:14:57 +0200 (ה', 07 ינו 2010) | 2 lines

  Document the usefulness of explicit udp:// in the register string
........

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

15 years agoMerged revisions 238231 via svnmerge from
Tilghman Lesher [Wed, 6 Jan 2010 21:48:49 +0000 (21:48 +0000)] 
Merged revisions 238231 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r238231 | tilghman | 2010-01-06 15:45:17 -0600 (Wed, 06 Jan 2010) | 11 lines

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

  ........
    r238230 | tilghman | 2010-01-06 15:41:55 -0600 (Wed, 06 Jan 2010) | 4 lines

    Revise documentation on disposition values to the actual values used.
    (closes issue #16289)
     Reported by: wdoekes
  ........
................

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

15 years agoMerged revisions 238181 via svnmerge from
Jeff Peeler [Wed, 6 Jan 2010 20:40:34 +0000 (20:40 +0000)] 
Merged revisions 238181 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r238181 | jpeeler | 2010-01-06 14:37:18 -0600 (Wed, 06 Jan 2010) | 8 lines

  Fix misreverting from 177158.

  (closes issue #15725)
  Reported by: shanermn
  Patches:
        v1-15725.patch uploaded by dimas (license 88)
  Tested by: shanermn
........

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

15 years agoMerged revisions 238134 via svnmerge from
Jeff Peeler [Wed, 6 Jan 2010 19:09:08 +0000 (19:09 +0000)] 
Merged revisions 238134 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r238134 | jpeeler | 2010-01-06 13:05:06 -0600 (Wed, 06 Jan 2010) | 10 lines

  Fix channel name comparison for bridge application.

  The channel name comparison was not comparing the whole string and therefore
  if one channel name was a substring of the other, the bridge would fail.

  (closes issue #16528)
  Reported by: telecos82
  Patches:
        res_features_r236843.diff uploaded by telecos82 (license 687)
........

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

15 years agoBlocked revisions 238091 via svnmerge
David Vossel [Wed, 6 Jan 2010 16:36:38 +0000 (16:36 +0000)] 
Blocked revisions 238091 via svnmerge

........
  r238091 | dvossel | 2010-01-06 10:36:02 -0600 (Wed, 06 Jan 2010) | 11 lines

  fixes test.c compile issue when TEST_FRAMEWORK is not enabled

  The ast_test_status_update() function is defined in test.h.
  When TEST_FRAMEWORK is not enabled a macro is defined as a no-op
  place holder for this function.  The macro did not contain
  the correct number of arguments.  This caused a compile error.

  Much thanks to wdoekes for reporting the issue and supplying the
  patch!
........

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

15 years agoMerged revisions 238010 via svnmerge from
Russell Bryant [Wed, 6 Jan 2010 15:22:41 +0000 (15:22 +0000)] 
Merged revisions 238010 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r238010 | russell | 2010-01-06 09:19:10 -0600 (Wed, 06 Jan 2010) | 14 lines

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

  ........
    r238009 | russell | 2010-01-06 09:18:22 -0600 (Wed, 06 Jan 2010) | 7 lines

    Resolve a crash due to an ast_frame not being fully initialized.

    (closes issue #16531)
    Reported by: john8675309

    (closes SWP-615)
  ........
................

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

15 years agoMerged revisions 237968 via svnmerge from
Tilghman Lesher [Wed, 6 Jan 2010 06:54:03 +0000 (06:54 +0000)] 
Merged revisions 237968 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r237968 | tilghman | 2010-01-06 00:53:23 -0600 (Wed, 06 Jan 2010) | 2 lines

  Whoa, duplicate setting (dead code).
........

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

15 years agoAdd a wait to ensure TestServer thinks it has finished sending the final digit.
Kinsey Moore [Tue, 5 Jan 2010 23:10:54 +0000 (23:10 +0000)] 
Add a wait to ensure TestServer thinks it has finished sending the final digit.

This was previously committed to 1.4, 1.6.0, 1.6.1, and trunk just after 1.6.2 was created (and missed).  1.6.2 also needs this patch to resolve the bug.

(closes issue #16550)
Reported by: opticron
Patches:
      apptest.diff uploaded by opticron (license 267)

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

15 years agoMerged revisions 237920 via svnmerge from
David Vossel [Tue, 5 Jan 2010 23:09:25 +0000 (23:09 +0000)] 
Merged revisions 237920 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r237920 | dvossel | 2010-01-05 17:08:50 -0600 (Tue, 05 Jan 2010) | 16 lines

  fixes holdtime playback issue in app_queue

  When reporting hold time, the number of seconds should be mod 60.
  Otherwise audio playback could be something like "2 minutes 123 seconds"
  rather than "2 minutes 3 seconds".

  Also, the "minute" sound file is missing, so for the moment until
  that file can be created the "minutes" file is used instead.

  (closes issue #16168)
  Reported by: nickilo
  Patches:
        patch-unified-trunk-rev-222176 uploaded by nickilo (license )
  Tested by: nickilo, wonderg
........

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

15 years agoMerged revisions 237839 via svnmerge from
David Vossel [Tue, 5 Jan 2010 19:30:44 +0000 (19:30 +0000)] 
Merged revisions 237839 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r237839 | dvossel | 2010-01-05 13:29:47 -0600 (Tue, 05 Jan 2010) | 19 lines

  fixes subscriptions being lost after 'module reload'

  During a module reload if multiple extension configs are present,
  such as both extensions.conf and extensions.ael, watchers for one
  config's hints will be lost during the merging of the other config.

  This happens because hint watchers are only preserved for the
  current config being merged.  The old context list is destroyed
  after the merging takes place, meaning any watchers that were not
  perserved will be removed.

  Now all hints are preserved during merging regardless of what config
  file is being merged.  These hints are only restored if they
  are present within the new context list.

  (closes issue #16093)
  Reported by: jlaroff
........

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

15 years agoMerged revisions 237699 via svnmerge from
Russell Bryant [Tue, 5 Jan 2010 17:25:52 +0000 (17:25 +0000)] 
Merged revisions 237699 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r237699 | russell | 2010-01-05 11:16:01 -0600 (Tue, 05 Jan 2010) | 14 lines

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

  ........
    r237697 | russell | 2010-01-05 11:13:28 -0600 (Tue, 05 Jan 2010) | 7 lines

    Change a NOTICE log message to DEBUG where it belongs.

    (closes issue #16479)
    Reported by: alexrecarey

    (closes SWP-577)
  ........
................

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

15 years agoMerged revisions 237656 via svnmerge from
Michiel van Baak [Tue, 5 Jan 2010 16:09:37 +0000 (16:09 +0000)] 
Merged revisions 237656 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r237656 | mvanbaak | 2010-01-05 17:08:12 +0100 (Tue, 05 Jan 2010) | 6 lines

  Make CLI command 'mixmonitor start|stop <channel> work again.

  (closes issue #16534)
  Reported by: jlaguilar
  Fix as suggested by jlaguilar in the bugreport
........

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