Commit Graph

477 Commits

Author SHA1 Message Date
Tilghman Lesher
d0dcc74723 Merged revisions 267669 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r267669 | tilghman | 2010-06-03 14:46:42 -0500 (Thu, 03 Jun 2010) | 8 lines
  
  Handle OOM errors more gracefully.
  
  (closes issue #17084)
   Reported by: falves11
   Patches: 
         issue17084_162_A.diff uploaded by falves11 (license 374)
   Tested by: falves11
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@267670 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-03 19:51:06 +00:00
Tilghman Lesher
584d906cf9 Merged revisions 261917 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r261917 | tilghman | 2010-05-07 15:54:35 -0500 (Fri, 07 May 2010) | 8 lines
  
  Double free crash
  
  (closes issue #17245)
   Reported by: thedavidfactor
   Patches: 
         20100426__issue17245.diff.txt uploaded by tilghman (license 14)
   Tested by: murraytm
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@261947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-05-07 21:25:13 +00:00
Tilghman Lesher
30a70e2d51 LISTFILTER was doubling delimiters on output.
(closes issue #16900)
 Reported by: bluecrow76
 Patches: 
       asterisk-1.6.2.4-func_strings.diff uploaded by bluecrow76 (license 270)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@251678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-10 20:48:33 +00:00
Mark Michelson
03d9c747e4 Merged revisions 250730 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r250730 | mmichelson | 2010-03-04 14:12:26 -0600 (Thu, 04 Mar 2010) | 3 lines
  
  Adjust XML for func_channel to indicate that rtpdest can take a "text" argument.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@250733 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-04 20:15:10 +00:00
Tilghman Lesher
6a6b5fdcde Merged revisions 246204 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r246204 | tilghman | 2010-02-10 15:24:10 -0600 (Wed, 10 Feb 2010) | 2 lines
  
  Fussy compiler on another machine...
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@246207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-10 21:28:47 +00:00
Tilghman Lesher
7fffe29a7f Merged revisions 246200 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r246200 | tilghman | 2010-02-10 15:19:35 -0600 (Wed, 10 Feb 2010) | 2 lines
  
  Fix weird issue with unit tests on optimized build - turned out to be a signing issue.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@246203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-10 21:22:30 +00:00
Tilghman Lesher
f67a681f7d Merged revisions 246022 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r246022 | tilghman | 2010-02-10 09:36:57 -0600 (Wed, 10 Feb 2010) | 2 lines
  
  Enable warnings on atypical conditions for the FILTER function (suggested by mmichelson on the -dev list).
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@246025 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-10 15:38:35 +00:00
Tilghman Lesher
fbe568b625 Merged revisions 245945 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r245945 | tilghman | 2010-02-10 08:06:12 -0600 (Wed, 10 Feb 2010) | 9 lines
  
  Merged revisions 245944 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r245944 | tilghman | 2010-02-10 07:37:13 -0600 (Wed, 10 Feb 2010) | 2 lines
    
    Include examples of FILTER usage in extension patterns where a "." may be a risk.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@245948 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-10 14:09:48 +00:00
Tilghman Lesher
29bbb76c71 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
2010-02-02 18:59:37 +00:00
Russell Bryant
8a78df9d64 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
2010-01-27 17:41:57 +00:00
Tilghman Lesher
64d78ce792 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
2010-01-21 05:56:09 +00:00
Tilghman Lesher
cdeac2b465 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
2010-01-06 21:48:49 +00:00
David Vossel
73b963445b Merged revisions 232269 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r232269 | dvossel | 2009-12-02 09:42:54 -0600 (Wed, 02 Dec 2009) | 15 lines
  
  Merged revisions 232268 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r232268 | dvossel | 2009-12-02 09:41:36 -0600 (Wed, 02 Dec 2009) | 9 lines
    
    fixes segfault in func_groupcount
    
    closes issue #16337)
    Reported by: Parantido
    Patches:
          issue_16337.diff uploaded by dvossel (license 671)
    	  Tested by: Parantido, dvossel
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@232270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-02 15:43:27 +00:00
Russell Bryant
0dcda4fa67 Merged revisions 232012 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r232012 | russell | 2009-12-01 17:38:34 -0600 (Tue, 01 Dec 2009) | 2 lines
  
  Fix a build error on FreeBSD.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@232015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-01 23:40:18 +00:00
David Vossel
1bac02d6ac Merged revisions 229670 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r229670 | dvossel | 2009-11-12 10:44:39 -0600 (Thu, 12 Nov 2009) | 12 lines
  
  Merged revisions 229669 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r229669 | dvossel | 2009-11-12 10:41:49 -0600 (Thu, 12 Nov 2009) | 6 lines
    
    fixes merging error, datastore was being freed in the wrong function.
    
    (closes issue #16219)
    Reported by: aragon
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@229671 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-12 16:47:12 +00:00
Matthew Nicholson
778181794e Merged revisions 228620 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r228620 | mnicholson | 2009-11-06 13:47:11 -0600 (Fri, 06 Nov 2009) | 15 lines
  
  Merged revisions 228378 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r228378 | mnicholson | 2009-11-06 10:26:59 -0600 (Fri, 06 Nov 2009) | 8 lines
    
    Properly handle '=' while decoding base64 messages and null terminate strings returned from BASE64_DECODE.
    
    (closes issue #15271)
    Reported by: chappell
    Patches:
          base64_fix.patch uploaded by chappell (license 8)
    Tested by: kobaz
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@228649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-06 20:26:17 +00:00
David Vossel
52e172919d Merged revisions 228268 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r228268 | dvossel | 2009-11-06 09:04:24 -0600 (Fri, 06 Nov 2009) | 9 lines
  
  fixes memory leak in func_audiohookinherit.c
  
  (closes issue #15394)
  Reported by: boroda
  Patches:
        bug15394_memoryleak_diff2.txt uploaded by dbrooks (license 790)
  Tested by: dbrooks, boroda
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@228269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-06 15:05:22 +00:00
Tilghman Lesher
4afb3624ba Merged revisions 224856 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r224856 | tilghman | 2009-10-20 17:09:07 -0500 (Tue, 20 Oct 2009) | 12 lines
  
  Merged revisions 224855 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r224855 | tilghman | 2009-10-20 17:07:11 -0500 (Tue, 20 Oct 2009) | 5 lines
    
    Pay attention to the return value of the manipulate function.
    While this looks like an optimization, it prevents a crash from occurring
    when used with certain audiohook callbacks (diagnosed with SVN trunk,
    backported to 1.4 to keep the source consistent across versions).
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@224859 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-20 22:11:11 +00:00
Sean Bright
8c6f79adec Fix merge error.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@222547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-07 18:00:03 +00:00
Kevin P. Fleming
6410aa2418 Merged revisions 222176 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r222176 | kpfleming | 2009-10-05 20:24:24 -0500 (Mon, 05 Oct 2009) | 27 lines
  
  Recorded merge of revisions 222152 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r222152 | kpfleming | 2009-10-05 20:16:36 -0500 (Mon, 05 Oct 2009) | 20 lines
    
    Fix ao2_iterator API to hold references to containers being iterated.
    
    See Mantis issue for details of what prompted this change.
    
    Additional notes:
    
    This patch changes the ao2_iterator API in two ways: F_AO2I_DONTLOCK
    has become an enum instead of a macro, with a name that fits our
    naming policy; also, it is now necessary to call
    ao2_iterator_destroy() on any iterator that has been
    created. Currently this only releases the reference to the container
    being iterated, but in the future this could also release other
    resources used by the iterator, if the iterator implementation changes
    to use additional resources.
    
    (closes issue #15987)
    Reported by: kpfleming
    
    Review: https://reviewboard.asterisk.org/r/383/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@222187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-06 01:39:07 +00:00
Matthias Nick
e28d4da865 Merged revisions 221368 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r221368 | mnick | 2009-09-30 14:42:36 -0500 (Wed, 30 Sep 2009) | 23 lines
  
  Merged revisions 221153,221157,221303 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r221153 | mnick | 2009-09-30 10:37:39 -0500 (Wed, 30 Sep 2009) | 2 lines
    
    check bounds - prevents for buffer overflow
  ........
    r221157 | mnick | 2009-09-30 10:41:46 -0500 (Wed, 30 Sep 2009) | 8 lines
    
    added a new dialplan function 'CSV_QUOTE' and changed the cdr_custom.sample.conf
    
    (closes issue #15471)
    Reported by: dkerr
    Patches:
          csv_quote_14.txt uploaded by mnick (license )
    Tested by: mnick
  ........
    r221303 | mnick | 2009-09-30 14:02:00 -0500 (Wed, 30 Sep 2009) | 2 lines
    
    changed the prototype definition of csv_quote
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221371 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-30 20:16:34 +00:00
Tilghman Lesher
a1a3188102 Recorded merge of revisions 221044 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r221044 | tilghman | 2009-09-29 23:32:36 -0500 (Tue, 29 Sep 2009) | 8 lines
  
  Allow locks to be inherited through a masquerade without causing starvation.
  (closes issue #14859)
   Reported by: atis
   Patches: 
         20090821__issue14859.diff.txt uploaded by tilghman (license 14)
         20090925__issue14859__1.6.1.diff.txt uploaded by tilghman (license 14)
   Tested by: atis, tilghman
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-30 04:41:59 +00:00
Michiel van Baak
90ebfef75e Merged revisions 220629 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r220629 | mvanbaak | 2009-09-27 22:40:16 +0200 (Sun, 27 Sep 2009) | 3 lines
  
  add name argument for the CALLERID dialplan function to the xml documentation.
  Pointed out to me on IRC by snuff-home. Thanks
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@220632 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-27 20:45:24 +00:00
Tilghman Lesher
322cf3c761 Merged revisions 212249 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r212249 | tilghman | 2009-08-14 12:36:40 -0500 (Fri, 14 Aug 2009) | 2 lines
  
  Add SSL_VERIFYPEER, as requested on the -users list
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@212250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-14 17:37:37 +00:00
Tilghman Lesher
9e94589304 AST-2009-005
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@211580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-10 19:36:38 +00:00
Tilghman Lesher
39bee0fb7e Merged revisions 207946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r207946 | tilghman | 2009-07-21 17:45:32 -0500 (Tue, 21 Jul 2009) | 15 lines
  
  Merged revisions 207945 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r207945 | tilghman | 2009-07-21 17:38:54 -0500 (Tue, 21 Jul 2009) | 8 lines
    
    Force an error if a blank is passed to QUOTE (because the documentation states the argument is not optional).
    This change makes URIENCODE and QUOTE behave similarly, since the documentation
    states that the argument is not optional, for both.
    (closes issue #15439)
     Reported by: pkempgen
     Patches: 
           20090706__issue15439.diff.txt uploaded by tilghman (license 14)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@207949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-21 22:49:00 +00:00
Kevin P. Fleming
c049643f5f Merged revisions 207680 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r207680 | kpfleming | 2009-07-21 08:28:04 -0500 (Tue, 21 Jul 2009) | 18 lines
  
  Merged revisions 207647 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r207647 | kpfleming | 2009-07-21 08:04:44 -0500 (Tue, 21 Jul 2009) | 12 lines
    
    Ensure that user-provided CFLAGS and LDFLAGS are honored.
    
    This commit changes the build system so that user-provided flags (in ASTCFLAGS
    and ASTLDFLAGS) are supplied to the compiler/linker *after* all flags provided
    by the build system itself, so that the user can effectively override the
    build system's flags if desired. In addition, ASTCFLAGS and ASTLDFLAGS can now
    be provided *either* in the environment before running 'make', or as variable
    assignments on the 'make' command line. As a result, the use of COPTS and LDOPTS
    is no longer necessary, so they are no longer documented, but are still supported
    so as not to break existing build systems that supply them when building Asterisk.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@207685 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-21 13:56:35 +00:00
David Vossel
693a287cb5 Merged revisions 206877 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r206877 | dvossel | 2009-07-16 16:45:14 -0500 (Thu, 16 Jul 2009) | 6 lines
  
  TIMEOUT(absolute) returned negative value.
  
  (closes issue #15513)
  Reported by: ys
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@206878 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-16 21:45:47 +00:00
Tilghman Lesher
88cfc407c2 Merged revisions 206808 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r206808 | tilghman | 2009-07-16 11:51:05 -0500 (Thu, 16 Jul 2009) | 13 lines
  
  Merged revisions 206807 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r206807 | tilghman | 2009-07-16 11:27:35 -0500 (Thu, 16 Jul 2009) | 6 lines
    
    Fix a memory leak.
    (closes issue #15517)
     Reported by: adomjan
     Patches: 
           func_realtime.c-ast_variable_destroy.diff uploaded by adomjan (license 487)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@206811 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-16 16:53:10 +00:00
Tilghman Lesher
72d537dd49 Merged revisions 198470 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r198470 | tilghman | 2009-05-31 12:52:28 -0500 (Sun, 31 May 2009) | 2 lines
  
  Fix documentation for FIELDQTY.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@198471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-31 17:53:34 +00:00
Tilghman Lesher
17c6d4c61d Recorded merge of revisions 197209 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r197209 | tilghman | 2009-05-27 14:20:56 -0500 (Wed, 27 May 2009) | 12 lines
  
  Recorded merge of revisions 197194 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r197194 | tilghman | 2009-05-27 14:09:42 -0500 (Wed, 27 May 2009) | 5 lines
    
    Use a different determinator on whether to print the delimiter, since leading fields may be blank.
    (closes issue #15208)
     Reported by: ramonpeek
     Patch by me, though inspired in part by a patch from ramonpeek
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@197247 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-27 19:30:06 +00:00
Leif Madsen
3469ac1122 Update CHANNEL(transfercapabilities) documentation.
(closes issue #15073)
Reported by: pkempgen
Patches:
      20090511__issue15073__trunk.diff.txt uploaded by tilghman (license 14)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@193612 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-11 18:59:11 +00:00
Sean Bright
9d68c84ec4 Merged revisions 193274 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r193274 | seanbright | 2009-05-08 11:18:40 -0400 (Fri, 08 May 2009) | 2 lines
  
  Fix the spelling of UNAVAILABLE in func_devstate CLI completion.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@193336 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-08 15:36:18 +00:00
Tilghman Lesher
581a50018b Merged revisions 193006 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r193006 | tilghman | 2009-05-07 12:51:13 -0500 (Thu, 07 May 2009) | 7 lines
  
  Second result should not contain data from the first result.
  (closes issue #15039)
   Reported by: jims
   Patches: 
         20090506__issue15039.diff.txt uploaded by tilghman (license 14)
   Tested by: jims
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@193008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-07 17:53:00 +00:00
Jeff Peeler
e8a4ceb8e5 Merged revisions 190057 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r190057 | jpeeler | 2009-04-22 16:15:55 -0500 (Wed, 22 Apr 2009) | 9 lines
  
  Fix building of chan_h323 with gcc-3.3
  
  There seems to be a bug with old versions of g++ that doesn't allow a structure
  member to use the name list. Rename list member to group_list in ast_group_info
  and change the few places it is used.
  
  (closes issue #14790)
  Reported by: stuarth
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@190066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-22 21:18:40 +00:00
Tilghman Lesher
f2efb57947 Merged revisions 187050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r187050 | tilghman | 2009-04-08 12:08:43 -0500 (Wed, 08 Apr 2009) | 7 lines
  
  If the first column is empty, output a delimiter anyway.
  (closes issue #14848)
   Reported by: john8675309
   Patches: 
         20090408__bug14848.diff.txt uploaded by tilghman (license 14)
   Tested by: john8675309
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@187051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-08 17:13:21 +00:00
Tilghman Lesher
96a699c065 Fix an off-by-one error in the FILE() function, and extend FILE()'s length parameter to work like variable substitution.
Previously, FILE() returned one less character than specified, due to the
terminating NULL.  Both the offset and length parameters now behave
identically to the way variable substitution offsets and lengths also work.
(closes issue #14670)
 Reported by: BMC


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@182278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-16 17:33:38 +00:00
Tilghman Lesher
a1f583177e ODBC transaction support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@177320 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-19 00:26:01 +00:00
Russell Bryant
4ec301360c Merge a large set of updates to the Asterisk indications API.
This patch includes a number of changes to the indications API.  The primary
motivation for this work was to improve stability.  The object management
in this API was significantly flawed, and a number of trivial situations could
cause crashes.

The changes included are:

1) Remove the module res_indications.  This included the critical functionality
   that actually loaded the indications configuration.  I have seen many people
   have Asterisk problems because they accidentally did not have an
   indications.conf present and loaded.  Now, this code is in the core,
   and Asterisk will fail to start without indications configuration.

   There was one part of res_indications, the dialplan applications, which did
   belong in a module, and have been moved to a new module, app_playtones.

2) Object management has been significantly changed.  Tone zones are now
   managed using astobj2, and it is no longer possible to crash Asterisk by
   issuing a reload that destroys tone zones while they are in use.

3) The API documentation has been filled out.

4) The API has been updated to follow our naming conventions.

5) Various bits of code throughout the tree have been updated to account
   for the API update.

6) Configuration parsing has been mostly re-written.

7) "Code cleanup"

The code is from svn/asterisk/team/russell/indications/.

Review: http://reviewboard.digium.com/r/149/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@176627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-17 20:41:24 +00:00
Tilghman Lesher
4ac9617be5 Add assertions in the quest to track down a refcount leak.
(closes issue #14485)
 Reported by: davevg


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@176592 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-17 18:49:20 +00:00
Tilghman Lesher
a2ddc0bb5e Don't increment the loop, now that incrementing is taken care of by the
decoder function.
(closes issue #14363)
 Reported by: andrew53
 Patches: 
       func_strings_filter.patch uploaded by andrew53 (license 519)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@172706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-31 16:40:59 +00:00
Tilghman Lesher
402c61117a Parameter position reversed in documentation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@172548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-30 18:36:56 +00:00
Mark Michelson
dda3fd446f Fix some signedness problems in func_aes.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@171797 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-28 00:17:55 +00:00
David Vossel
abf70664ab Adding AES_ENCRYPT and AES_DECRYPT dialplan functions.
(closes issue #14301)
Reported by: amorsen

review: http://reviewboard.digium.com/r/128/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@171757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-27 22:43:36 +00:00
Kevin P. Fleming
1c2911f5a1 ast_str_SQLGetData is *not* part of the ast_str API, it's part of the ast_odbc API and just happens to use an ast_str as the buffer; move all of it to res_odbc.c and res_odbc.h, renaming appropriately
along the way fix some minor coding style issues in strings.h and add some attribute_pure annotations to functions in the ast_str API



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@169438 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-19 21:42:46 +00:00
Kevin P. Fleming
9a7efae8fd remove the PBX_ODBC logic from the configure script, and add GENERIC_ODCB logic that includes copying the relevant LIB and INCLUDE data from either UnixODBC or iODBC, based on which was found; if both were found, prefer UnixODBC
this stops modules from being linked against both sets of libraries on systems that have both installed



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-15 20:18:53 +00:00
Russell Bryant
ef6ad2b53c Merged revisions 168561 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r168561 | russell | 2009-01-13 13:13:05 -0600 (Tue, 13 Jan 2009) | 2 lines

Revert unnecessary indications API change from rev 122314

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-13 19:22:13 +00:00
Tilghman Lesher
f19a4fc941 Merged revisions 168546 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r168546 | tilghman | 2009-01-13 11:48:00 -0600 (Tue, 13 Jan 2009) | 6 lines
  
  If either conditional is NULL, don't try copying it.
  (closes issue #14226)
   Reported by: caspy
   Patches: 
         20090113__bug14226.diff.txt uploaded by Corydon76 (license 14)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-13 17:51:12 +00:00
Eliel C. Sardanons
c04417b477 Fix a typo in the XML documentation of the AUDIOHOOK_INHERIT dialplan function.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@166823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-28 15:36:25 +00:00
Mark Michelson
9f7ce9da41 Fix a file playback crash and explicitly initialize values in func_timeout.c
A crash was brought up on the bugtracker. The first run through valgrind
was full of legitimate complaints of uninitialized values in func_timeout when
setting a response timeout. These were fixed but the crash persisted.

A second run through showed the real problem. The reference counting used
for filestreams was incorrect because there were some missing increments
when a frame was read from a format module.

(closes issue #14118)
Reported by: blitzrage
Patches:
      14118v2.patch uploaded by putnopvut (license 60)
Tested by: blitzrage



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@166267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-22 16:07:59 +00:00