Commit Graph

18294 Commits

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

................
  r248584 | tilghman | 2010-02-24 15:17:26 -0600 (Wed, 24 Feb 2010) | 14 lines
  
  Merged revisions 248582 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r248582 | tilghman | 2010-02-24 15:02:18 -0600 (Wed, 24 Feb 2010) | 7 lines
    
    Remove color code sequences from verbose messages that go to logfiles.
    (closes issue #16786)
     Reported by: dodo
     Patches: 
           logger2.patch uploaded by dodo (license 989)
     Tested by: tilghman
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@248641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-24 21:29:23 +00:00
David Vossel
381faf6c54 Merged revisions 248397 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r248397 | dvossel | 2010-02-23 10:34:39 -0600 (Tue, 23 Feb 2010) | 15 lines
  
  Merged revisions 248396 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r248396 | dvossel | 2010-02-23 10:26:05 -0600 (Tue, 23 Feb 2010) | 9 lines
    
    fixes invite with replaces deadlock
    
    (closes issue #16862)
    Reported by: pwalker
    Patches:
          replaces_deadlock_1.4 uploaded by dvossel (license 671)
    Tested by: pwalker, dvossel
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@248399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-23 16:48:37 +00:00
Tilghman Lesher
16580c731f Merged revisions 228798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

(closes issue #16470)
 Reported by: kjotte

........
  r228798 | tilghman | 2009-11-09 01:37:52 -0600 (Mon, 09 Nov 2009) | 14 lines
  
  Fix various problems detected with Valgrind.
   * chan_console accessed pvts after deallocation.
   * The module loader did not check usecount on shutdown, which led to chan_iax2
   reading a timer that was already unloaded.
  (closes issue #16062)
   Reported by: alexanderheinz
   Patches: 
         20091109__issue16062.diff.txt uploaded by tilghman (license 14)
   Tested by: tilghman
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@248009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-19 19:05:34 +00:00
Richard Mudgett
09e7707ea3 Merged revisions 247914 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r247914 | rmudgett | 2010-02-19 11:33:33 -0600 (Fri, 19 Feb 2010) | 62 lines
  
  Merged revisions 247910 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ................
    r247910 | rmudgett | 2010-02-19 11:18:49 -0600 (Fri, 19 Feb 2010) | 55 lines
    
    Merged revision 247904 from
    https://origsvn.digium.com/svn/asterisk/be/branches/C.2-...
    
    ..........
    r247904 | rmudgett | 2010-02-19 10:49:44 -0600 (Fri, 19 Feb 2010) | 49 lines
    
    Make chan_misdn DTMF processing consistent with other channel technologies.
    
    The processing of DTMF tones on the receiving side of an ISDN channel is
    inconsistent with the way it is handled in other channels, especially
    DAHDI analog.  This causes DTMF tones sent from an ISDN phone to be
    doubled at the connected party.
    
    We are using the following 2 options of misdn.conf
    1) astdtmf=yes
    2) senddtmf=yes
    
    Option one is necessary because the asterisk DSP DTMF detection is better
    than mISDN's internal DSP.  Not as many false positives.
    
    Option two is necessary to transmit DTMF tones end to end when mISDN
    channels are connected to SIP channels with out of band DTMF for example.
    
    The symptom is that DTMF tones sent by an ISDN phone are doubled on the
    way through asterisk when two mISDN channels are connected with a Local
    channel in between or if it is bridged to an analog channel.
    
    The doubling of DTMF tones is because DTMF is passed inband to asterisk by
    the mISDN channel and passed out of band once again after the release of
    the DTMF tone.  Passing it inband is wrong.  Neither an analog channel nor
    SIP channel passes DTMF inband if configured to inband DTMF.  Analog and
    SIP channels filter out the DTMF tones because they use the voice frames
    returned by ast_dsp_process.  But chan_misdn passes the unfiltered input
    voice frames instead.
    
    To overcome one aspect of the problem, the doubling of DTMF tones when two
    mISDN channels are directly bridged, someone made an 'optimization', where
    in that case the DTMF tone passed out-of-band to the peer channel is not
    translated to an inband tone at the transmit side.  This optimization is
    bad because it does not work in general.  For example, analog channels or
    mISDN channels when bridged through an intermediary local channel will
    generate DTMF tones from out-of-band information.  Also, of course, it
    must not be done when there is no inband DTMF available.
    
    This patch fixes the issue.  Now chan_misdn will filter the received
    inband DTMF signal the same as other channel types.
    
    Another change included: No need to build an extra translation path
    because ast_process_dsp does it if required.
    
    Patches:
    	misdn-dtmf.patch
    
    JIRA ABE-2080
  ................
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@247946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-19 18:22:12 +00:00
David Vossel
5bc239e4d1 Blocked revisions 247915 via svnmerge
........
  r247915 | dvossel | 2010-02-19 11:40:26 -0600 (Fri, 19 Feb 2010) | 7 lines
  
  handle_request_invite revise comment, fix coding guideline issues
  
  I'm working with this code right now trying to analyze a deadlock.
  This change is just to clean up a few things before I make a more
  complex patch.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@247917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-19 17:42:06 +00:00
Tilghman Lesher
9cbb23ea48 Merged revisions 247841 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r247841 | tilghman | 2010-02-18 17:13:46 -0600 (Thu, 18 Feb 2010) | 7 lines
  
  Revert an errant part of a previous cleanup, to fix a memory corruption issue.
  
  (closes issue #16368)
   Reported by: thirionjwf
   Patches: 
         res_speech.c.patch uploaded by thirionjwf (license 955)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@247843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-18 23:15:11 +00:00
Tilghman Lesher
3df30d972d Merged revisions 247787 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r247787 | tilghman | 2010-02-18 15:42:53 -0600 (Thu, 18 Feb 2010) | 17 lines
  
  If the peer record is from realtime, it could be set to 0, due to MySQL not representing NULL well in integer columns.
  
  NULL means the value is not specified for the column, which normally means
  the driver uses whatever is the default value.  However, on MySQL, placing
  a NULL in either a float or integer column results in a retrieval of the 0
  value.  Hence, users get an errant error on load.  This patch suppresses
  that error and makes the value as if it was not there.
  
  Note that this cannot be done in the realtime driver, because the lack of
  difference between NULL and 0 can only be intepreted correctly by the
  driver itself.  If we did it in the realtime driver, then it would be
  effectively impossible to set any realtime field to 0, because it would act
  as if the field were unspecified and possibly take on a different value.
  
  (closes issue #16683)
   Reported by: wdoekes
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@247790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-18 21:49:35 +00:00
David Vossel
c03cb6c8f8 Blocked revisions 247770 via svnmerge
........
  r247770 | dvossel | 2010-02-18 15:23:48 -0600 (Thu, 18 Feb 2010) | 9 lines
  
  fixes confbridge crash when no timing module is loaded.
  
  (closes issue #16471)
  Reported by: kjotte
  Patches:
        M16471.diff uploaded by junky (license 177)
  Tested by: kjotte, junky
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@247779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-18 21:26:06 +00:00
David Vossel
2f7e554609 Blocked revisions 247736 via svnmerge
........
  r247736 | dvossel | 2010-02-18 14:58:41 -0600 (Thu, 18 Feb 2010) | 7 lines
  
  fixes Queue with C option crash
  
  (closes issue #16475)
  Reported by: okrief
  Patches:
        queue_crash.diff uploaded by dvossel (license 671)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@247738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-18 21:00:37 +00:00
Matthew Nicholson
b26524c7ce Merged revisions 247652 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r247652 | mnicholson | 2010-02-18 13:39:37 -0600 (Thu, 18 Feb 2010) | 13 lines
  
  Merged revisions 247651 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r247651 | mnicholson | 2010-02-18 13:38:09 -0600 (Thu, 18 Feb 2010) | 6 lines
    
    Copy the calling party's account code to the called party if they don't already have one.
    
    (closes issue #16331)
    Reported by: bluefox
    Tested by: mnicholson
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@247654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-18 19:45:23 +00:00
Leif Madsen
97243a66a3 Merged revisions 247509 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r247509 | lmadsen | 2010-02-18 11:54:43 -0500 (Thu, 18 Feb 2010) | 9 lines
  
  Merged revisions 247508 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r247508 | lmadsen | 2010-02-18 11:53:44 -0500 (Thu, 18 Feb 2010) | 1 line
    
    Add additional link to best practices document per jsmith.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@247511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-18 16:57:03 +00:00
Leif Madsen
01d4e55a01 Merged revisions 247503 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r247503 | lmadsen | 2010-02-18 11:41:04 -0500 (Thu, 18 Feb 2010) | 18 lines
  
  Merged revisions 247502 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r247502 | lmadsen | 2010-02-18 11:38:17 -0500 (Thu, 18 Feb 2010) | 10 lines
    
    Add best practices documentation.
    
    (issue #16808)
    Reported by: lmadsen
    
    (issue #16810)
    Reported by: Nick_Lewis
    Tested by: lmadsen
    
    Review: https://reviewboard.asterisk.org/r/507/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@247505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-18 16:46:21 +00:00
Russell Bryant
cefcee5542 Merged revisions 247423 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r247423 | russell | 2010-02-17 22:20:11 -0600 (Wed, 17 Feb 2010) | 17 lines
  
  Merged revisions 247422 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r247422 | russell | 2010-02-17 22:19:01 -0600 (Wed, 17 Feb 2010) | 10 lines
    
    Tweak argument handling for wget in the sounds Makefile.
    
    1) Fix the check to see if we are using wget to not be full of fail.  The
    configure script populates this variable with the absolute path to wget if
    it is found, so it didn't work.
    
    2) Allow some extra arguments to be passed in for wget.  This is just a simple
    change to allow our Bamboo build script to tell wget to be quiet and not fill
    up our logs with download status output.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@247425 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-18 04:21:07 +00:00
Mark Michelson
478b6ff9ca Merged revisions 247335 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r247335 | mmichelson | 2010-02-17 15:22:40 -0600 (Wed, 17 Feb 2010) | 20 lines
  
  Fix two problems in ast_str functions found while writing a unit test.
  
  1. The documentation for ast_str_set and ast_str_append state that
  the max_len parameter may be -1 in order to limit the size of the
  ast_str to its current allocated size. The problem was that the max_len
  parameter in all cases was a size_t, which is unsigned. Thus a -1 was
  interpreted as UINT_MAX instead of -1. Changing the max_len parameter
  to be ssize_t fixed this issue.
  
  2. Once issue 1 was fixed, there was an off-by-one error in the case
  where we attempted to write a string larger than the current allotted
  size to a string when -1 was passed as the max_len parameter. When trying
  to write more than the allotted size, the ast_str's __AST_STR_USED was
  set to 1 higher than it should have been. Thanks to Tilghman for quickly
  spotting the offending line of code.
  
  Oh, and the unit test that I referenced in the top line of this commit
  will be added to reviewboard shortly. Sit tight...
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@247336 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-17 21:28:51 +00:00
Mark Michelson
f608016788 Merged revisions 247169 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r247169 | mmichelson | 2010-02-17 10:24:54 -0600 (Wed, 17 Feb 2010) | 9 lines
  
  Merged revisions 247168 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r247168 | mmichelson | 2010-02-17 10:24:17 -0600 (Wed, 17 Feb 2010) | 3 lines
    
    Make sure that when autofill is disabled that callers not in the front of the queue cannot place calls.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@247171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-17 16:25:51 +00:00
Mark Michelson
1423716c8f Merged revisions 247076 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r247076 | mmichelson | 2010-02-16 17:44:33 -0600 (Tue, 16 Feb 2010) | 12 lines
  
  Add va_end calls to __ast_str_helper.
  
  According to the man page for stdarg(3),
  "Each invocation of va_copy() must be matched by a
  corresponding invocation of va_end() in the same
  function."
  
  There were several cases in __ast_str_helper where
  va_copy was not matched with a corresponding call
  to va_end.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@247078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-16 23:46:24 +00:00
Mark Michelson
2397f1944c Merged revisions 246985 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r246985 | mmichelson | 2010-02-16 15:15:38 -0600 (Tue, 16 Feb 2010) | 3 lines
  
  Add some clarifying documentation to the ast_str_set and ast_str_append functions.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@246987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-16 21:17:06 +00:00
David Vossel
5091019af0 Merged revisions 246980 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r246980 | dvossel | 2010-02-16 14:54:48 -0600 (Tue, 16 Feb 2010) | 8 lines
  
  warning message if openssl support is missing while attempting tls connection
  
  (closes issue #16673)
  Reported by: michaesc
  Patches:
        tls_error_msg.diff uploaded by dvossel (license 671)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@246983 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-16 21:05:24 +00:00
David Vossel
8619d1f54f Merged revisions 246899 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r246899 | dvossel | 2010-02-16 11:07:41 -0600 (Tue, 16 Feb 2010) | 16 lines
  
  fixes sample rate conversion issue with Monitor application
  
  When using ast_seekstream with the read/write streams of a monitor,
  the number of samples we are seeking must be of the same rate as the
  stream or the jump calculation will be incorrect.  This patch adds logic
  to correctly convert the number of samples to jump to the sample rate
  the read/write stream is using.
  
  For example, if the call is G722 (16khz) and the read/write stream is
  recording a 8khz wav, seeking 320 samples of 16khz audio is not the
  same as seeking 320 samples of 8khz audio when performing the ast_seekstream
  on the stream.
  
  ABE-2044
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@246902 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-16 17:13:03 +00:00
Tilghman Lesher
ddba171f03 Merged revisions 246710 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r246710 | tilghman | 2010-02-15 17:43:28 -0600 (Mon, 15 Feb 2010) | 12 lines
  
  Merged revisions 246709 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r246709 | tilghman | 2010-02-15 17:42:33 -0600 (Mon, 15 Feb 2010) | 5 lines
    
    Make the menuselect instructions correct by allowing 'make menuselect' to actually solve dependency problems.
    
    (Previously, it would fail out again with the same message about running
    'make menuselect', which was NOT at all helpful.)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@246712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-15 23:44:54 +00:00
David Vossel
85e5e7eb1e Merged revisions 246546 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r246546 | dvossel | 2010-02-12 17:32:33 -0600 (Fri, 12 Feb 2010) | 21 lines
  
  Merged revisions 246545 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r246545 | dvossel | 2010-02-12 17:30:17 -0600 (Fri, 12 Feb 2010) | 16 lines
    
    lock channel during datastore removal
    
    On channel destruction the channel's datastores are removed and
    destroyed.  Since there are public API calls to find and remove
    datastores on a channel, a lock should be held whenever datastores are
    removed and destroyed.  This resolves a crash caused by a race
    condition in app_chanspy.c.
    
    (closes issue #16678)
    Reported by: tim_ringenbach
    Patches:
          datastore_destroy_race.diff uploaded by tim ringenbach (license 540)
    Tested by: dvossel
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@246548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-12 23:34:10 +00:00
Jason Parker
f1a4d13647 Fix some silly formatting that made my head hurt.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@246463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-12 19:08:20 +00:00
Tilghman Lesher
b5edce6a67 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.1@246206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-10 21:28:39 +00:00
Tilghman Lesher
27619090b2 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.1@246202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-10 21:21:26 +00:00
David Vossel
5413868305 Merged revisions 246116 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r246116 | dvossel | 2010-02-10 11:49:34 -0600 (Wed, 10 Feb 2010) | 14 lines
  
  Merged revisions 246115 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r246115 | dvossel | 2010-02-10 11:44:20 -0600 (Wed, 10 Feb 2010) | 8 lines
    
    fixes random deadlock in app_queue with use_weight during reload
    
    (closes issue #16677)
    Reported by: tim_ringenbach
    Patches:
          app_queue_use_weight_deadlock.diff uploaded by tim ringenbach (license 540)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@246119 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-10 17:52:45 +00:00
Jeff Peeler
391be9df5f Merged revisions 246070 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r246070 | jpeeler | 2010-02-10 10:47:37 -0600 (Wed, 10 Feb 2010) | 22 lines
  
  Change channel state on local channels for busy,answer,ring.
    
  Previously local channels channel state never changed. This became problematic
  when the state of the other side of the local channel was lost, for example
  during a masquerade. Changing the state of the local channel allows for the
  scenario to be detected when the channel state is set to ringing, but the peer
  isn't ringing. The specific problem scenario is described in 164201. Although
  this was noted on one of the issues, here is the tested dialplan verified to
  work:
  
  exten => 9700,1,Dial(Local/*9700@default&Local/0009700@default)
  
  exten => *9700,1,Set(GLOBAL(TESTCHAN)=${CHANNEL:0:${MATH(${LEN(${CHANNEL})}-1):0:2}}1)
  exten => *9700,n,wait(3) ;3 works, 1 did not
  exten => *9700,n,Dial(SIP/5001)
  
  exten => 0009700,1,Wait(1) ;1 works, 3 did not
  exten => 0009700,n,ChannelRedirect(${TESTCHAN},parkedcalls,701,1)
  
  (closes issue #14992)
  Reported by: davidw
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@246072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-10 16:55:27 +00:00
Tilghman Lesher
b5461c8198 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.1@246024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-10 15:38:27 +00:00
Tilghman Lesher
31bafc03f3 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.1@245947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-10 14:09:38 +00:00
David Vossel
863f96f6b1 Merged revisions 245793 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r245793 | dvossel | 2010-02-09 17:07:17 -0600 (Tue, 09 Feb 2010) | 18 lines
  
  Merged revisions 245792 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r245792 | dvossel | 2010-02-09 16:55:38 -0600 (Tue, 09 Feb 2010) | 12 lines
    
    Fixes iaxs and iaxsl size off by one issue.
    
    2^15 = 32768 which is the maximum allowed iax2 callnumber.
    Creating the iaxs and iaxsl array of size 32768 means the maximum
    callnumber is actually out of bounds.  This causes a nasty crash.
    
    (closes issue #15997)
    Reported by: exarv
    Patches:
          iax_fix.diff uploaded by dvossel (license 671)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@245795 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-09 23:13:07 +00:00
Tilghman Lesher
072c9320a4 Merged revisions 245729 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r245729 | tilghman | 2010-02-09 12:06:30 -0600 (Tue, 09 Feb 2010) | 8 lines
  
  Ensure frames are only freed once.
  
  (closes issue #16361)
   Reported by: vlad
   Patches: 
         20100208__issue16361.diff.txt uploaded by tilghman (license 14)
   Tested by: kenny, bloodoff, misaksen
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@245731 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-09 18:09:25 +00:00
Kevin P. Fleming
b2f9762fbe Merged revisions 245680 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r245680 | kpfleming | 2010-02-09 10:24:52 -0600 (Tue, 09 Feb 2010) | 8 lines
  
  Don't offer MMR or JBIG transcoding during T.38 negotiation.
  
  After further discussion with Steve Underwood, we should not (yet) be offering
  to receive MMR or JBIG transcoded streams from T.38 endpoints. A future spandsp
  release will support those features, and then they can be enabled during
  negotiation
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@245682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-09 16:26:15 +00:00
Russell Bryant
e712241183 Merged revisions 245624 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r245624 | russell | 2010-02-08 17:43:00 -0600 (Mon, 08 Feb 2010) | 5 lines
  
  Fix return value of get_ie_str() and get_ie_str_hash() for non-existent IE.
  
  I found this bug while developing a unit test for event allocation.  Testing
  is awesome.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@245625 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-08 23:45:10 +00:00
Tilghman Lesher
e1f1141a1f Merged revisions 245578 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r245578 | tilghman | 2010-02-08 16:31:40 -0600 (Mon, 08 Feb 2010) | 12 lines
  
  Actually use _ASTLDFLAGS in the main/ and channels/ Makefiles.
  
  They were previously passed correctly, but they simply weren't used.  This
  caused issues with various platforms whose builds needed to pass special
  linker flags via the configure script.
  
  (closes issue #16596)
   Reported by: pprindeville
   Patches: 
         asterisk-1.6-astldflags.patch uploaded by pprindeville (license 347)
   Tested by: tilghman
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@245580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-08 22:46:36 +00:00
Jason Parker
f303297a03 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.1@245499 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-08 20:42:33 +00:00
Jeff Peeler
ac8d4431a7 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.1@245095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-05 19:26:58 +00:00
Sean Bright
48c6a4371e 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.1@244929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-05 17:10:13 +00:00
Mark Michelson
b2c056fa49 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.1@244553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-03 19:27:54 +00:00
Tilghman Lesher
b8ec0d98c8 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.1@244507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-03 18:43:37 +00:00
David Vossel
b74e900a52 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.1@244446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-02 22:31:30 +00:00
Tilghman Lesher
51889e1ff7 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.1@244394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-02 20:35:35 +00:00
Tilghman Lesher
f5637058b9 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.1@244333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-02 18:59:29 +00:00
Tilghman Lesher
5cc28284e4 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.1@244307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-01 23:31:04 +00:00
Tilghman Lesher
8fef380860 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.1@244074 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-01 18:01:51 +00:00
Jeff Peeler
c1f21f4dc6 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.1@243988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-28 22:53:04 +00:00
Tilghman Lesher
d4d870cb41 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.1@243944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-28 20:03:41 +00:00
Leif Madsen
2a337bef90 Update location of bug tracker in documentation.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@243865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-28 18:52:37 +00:00
Russell Bryant
259a0da45f 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.1@243853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-28 16:24:39 +00:00
Jeff Peeler
557610a4c5 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.1@243695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-27 20:38:46 +00:00
Jeff Peeler
0de316923d 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.1@243574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-27 18:56:22 +00:00
Mark Michelson
2846abcb7e 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.1@243489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-27 18:09:43 +00:00