Commit Graph

17777 Commits

Author SHA1 Message Date
Jason Parker
f2b45219ee Merged revisions 245497 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r245497 | qwell | 2010-02-08 14:41:05 -0600 (Mon, 08 Feb 2010) | 11 lines
  
  Merged revisions 245496 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r245496 | qwell | 2010-02-08 14:39:50 -0600 (Mon, 08 Feb 2010) | 4 lines
    
    Remove reference of documentation in source directory.
    
    People don't always build Asterisk from source (distro packages, anybody?).
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@245498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-08 20:42:00 +00:00
Jeff Peeler
4e1b424062 Merged revisions 245090 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r245090 | jpeeler | 2010-02-05 13:26:22 -0600 (Fri, 05 Feb 2010) | 11 lines
  
  Merged revisions 245044 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r245044 | kpfleming | 2010-02-05 12:32:29 -0600 (Fri, 05 Feb 2010) | 5 lines
    
    Remove contrib/firmware directory as it is empty
    
    Remove explicit license for IAXy firmware as it is no longer included in the tree
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@245093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-05 19:26:44 +00:00
Sean Bright
2003431fdd 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.0@244928 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-05 17:10:11 +00:00
Mark Michelson
fd56ee7963 Blocked revisions 244547 via svnmerge
........
  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.0@244550 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-03 19:27:20 +00:00
Tilghman Lesher
761bf2a9dd 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.0@244506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-03 18:40:49 +00:00
David Vossel
f6a9d404fc 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.0@244447 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-02 22:32:56 +00:00
Tilghman Lesher
3338bc9cb7 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.0@244332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-02 18:59:20 +00:00
Tilghman Lesher
c7a5783716 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.0@244303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-01 23:30:19 +00:00
Tilghman Lesher
0dcbfb8232 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.0@244072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-01 17:59:37 +00:00
Jeff Peeler
a74adccc89 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.0@243987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-28 22:50:21 +00:00
Leif Madsen
beb0ec5f88 Update location of bug tracker in documentation.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@243866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-28 18:52:55 +00:00
Russell Bryant
5df623fcbe 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.0@243852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-28 16:23:50 +00:00
Jeff Peeler
d643706f79 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.0@243694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-27 20:38:19 +00:00
Jeff Peeler
9e86b8546d 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.0@243572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-27 18:50:50 +00:00
Mark Michelson
6f8d167899 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.0@243488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-27 18:08:51 +00:00
Russell Bryant
016ed35457 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.0@243483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-27 17:35:36 +00:00
David Vossel
7f2680353e 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.0@243394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-27 00:01:32 +00:00
Jeff Peeler
e7c972628b 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.0@243286 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-26 18:25:12 +00:00
Jeff Peeler
29378d1fcd Blocked revisions 243244 via svnmerge
........
  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.0@243245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-26 18:08:47 +00:00
Tilghman Lesher
c5e481d1fe 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.0@243060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-25 23:41:38 +00:00
Tilghman Lesher
8c3301a90d 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.0@242972 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-25 21:53:28 +00:00
Olle Johansson
5c85c4dade 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.0@242915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-25 20:38:40 +00:00
Tilghman Lesher
a23d7a42be 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.0@242885 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-25 20:24:11 +00:00
Tilghman Lesher
63cf842d1b 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.0@242730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-25 05:46:38 +00:00
Tilghman Lesher
4f9de18fe9 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.0@242725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-25 05:35:19 +00:00
Tilghman Lesher
6831e93066 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.0@242720 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-25 05:32:52 +00:00
Kinsey Moore
3a44068ee5 Ensure that the priority is set to 0 on the astcanary thread.
This was causing asterisk to exit erroneously while polling to ensure that
it had a proper DAHDI timing source.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@242603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-24 17:12:30 +00:00
Tilghman Lesher
32aa2dbb4b 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.0@242524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-24 06:42:42 +00:00
Tilghman Lesher
dd3efc712c Backporting register line parsing from trunk to fix a bad parsing error in 1.6.0.
(closes issue #16491)
 Reported by: jamicque
 Patches: 
       20100114__issue16491.diff.txt uploaded by tilghman (license 14)
 Tested by: jamicque

........
  r213098 | tilghman | 2009-08-19 16:05:17 -0500 (Wed, 19 Aug 2009) | 9 lines
  
  Better parsing for the "register" line
  Allows characters that are otherwise used as delimiters to be used within
  certain fields (like the secret).
  (closes issue #15008, closes issue #15672)
   Reported by: tilghman
   Patches: 
         20090818__issue15008.diff.txt uploaded by tilghman (license 14)
   Tested by: lmadsen, tilghman
........
  r213635 | dvossel | 2009-08-21 16:02:50 -0500 (Fri, 21 Aug 2009) | 5 lines
  
  fixes sip register parsing when user@domain is used
  
  (issue #15008)
  (issue #15672)
........
  r215222 | tilghman | 2009-09-01 16:19:40 -0500 (Tue, 01 Sep 2009) | 3 lines
  
  Fix register such that lines with a transport string, but without an authuser, parse correctly.
  (AST-228)
........
  r215801 | tilghman | 2009-09-02 22:43:51 -0500 (Wed, 02 Sep 2009) | 5 lines
  
  Default the callback extension to "s".  This is a regression.
  (closes issue #15764)
   Reported by: elguero
   Change-type: bugfix
........
  r235132 | dvossel | 2009-12-15 12:43:06 -0600 (Tue, 15 Dec 2009) | 14 lines
  
  reverse minor sip registration regression
  
  A registration regression caused by a code tweak in (issue #14331)
  and a bug fix in (issue #15539) caused some sip registration
  config entries to be constructed incorrectly.  Origially
  issue #14331 contained the code tweak as well as a bug fix, but since
  the issue was reported as a tweak the bug fix portion was moved into
  issue #15539.  Both the tweak and the bug fix contained minor incorrect
  logic that resulted in some SIP registrations to fail.
  
  (issue #14331)
  (issue #15539)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@242514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-23 00:42:09 +00:00
Tilghman Lesher
469733e1f7 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.0@242425 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-22 21:46:27 +00:00
Olle Johansson
3d50da71b4 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.0@242230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-22 09:35:33 +00:00
Alec L Davis
fc88c8653d 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.0@242141 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-22 01:47:58 +00:00
Sean Bright
e993d100ab 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.0@241939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-21 15:31:02 +00:00
Tilghman Lesher
431a247538 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.0@241767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-21 05:55:53 +00:00
David Vossel
dab81735a4 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.0@241758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-20 21:27:56 +00:00
David Vossel
d5b0542f34 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.0@241631 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-20 20:13:37 +00:00
Alec L Davis
ce33012dbb 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.0@241457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-20 09:37:54 +00:00
Jeff Peeler
75b6779b19 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.0@241367 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-19 23:01:02 +00:00
Jeff Peeler
dbd71d4930 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.0@241316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-19 18:58:10 +00:00
Jason Parker
907a387d05 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.0@241231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-19 17:42:42 +00:00
Jason Parker
a27e27158a 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.0@241099 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-18 22:05:36 +00:00
Sean Bright
f89c76dd9c 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.0@241017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-18 20:01:46 +00:00
David Vossel
1b57e4ee1b 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.0@240890 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-18 16:46:43 +00:00
David Vossel
c9cb9f55fe 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.0@240845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-18 15:55:34 +00:00
Sean Bright
bf915a27cb 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.0@240718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-17 19:47:43 +00:00
Sean Bright
fb56500a20 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.0@240668 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-16 00:59:22 +00:00
Tilghman Lesher
ed6edf6908 Merged revisions 239665 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r239665 | oej | 2010-01-13 04:45:19 -0600 (Wed, 13 Jan 2010) | 2 lines
  
  MAX() moved to utils.h
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@240666 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-16 00:43:11 +00:00
Russell Bryant
bf86123d01 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.0@240549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-15 23:06:56 +00:00
Tilghman Lesher
c6084513fd 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.0@240501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-15 21:44:29 +00:00
Tilghman Lesher
c880b6fa71 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.0@240416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-15 20:56:33 +00:00