Commit Graph

18517 Commits

Author SHA1 Message Date
Jeff Peeler
a8f182dfb5 Fix potential crash when entire span request is received.
The variable index used in this scenario for accessing the dahdi_pvts was
wrong and was most likely copied from the several other places it is used
correctly.

(closes issue #15998)
Reported by: tsearle
Patches:
     dahdi_reset_crash.patch uploaded by tsearle (license 373)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@222397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-06 22:31:41 +00:00
Jeff Peeler
fd4e74634e Merged revisions 222351 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r222351 | jpeeler | 2009-10-06 15:35:19 -0500 (Tue, 06 Oct 2009) | 9 lines
  
  Fix 222298 (crash during destruction of second channel when variable set with
  setvar).
  
  I mistakenly reasoned that setvar would be used on all channels. Since it can
  be set per channel, give each dahdi channel a copy of the variable.
  
  (related to #15899)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@222354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-06 20:37:48 +00:00
Tilghman Lesher
2fbf180aca Merged revisions 222309 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r222309 | tilghman | 2009-10-06 14:31:39 -0500 (Tue, 06 Oct 2009) | 10 lines
  
  Change schema query to involve the use of an optional schema parameter.
  This change is done in such a way as to allow the driver to continue to
  function with older databases which don't have these features.
  (closes issue #16000)
   Reported by: jamicque
   Patches: 
         20091002__issue16000.diff.txt uploaded by tilghman (license 14)
         20091002__issue16000__1.6.1.diff.txt uploaded by tilghman (license 14)
   Tested by: jamicque
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@222311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-06 19:41:31 +00:00
Jeff Peeler
7633b64d7e Merged revisions 222298 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r222298 | jpeeler | 2009-10-06 14:24:59 -0500 (Tue, 06 Oct 2009) | 9 lines
  
  Fix crash during destruction of second channel when variable set with setvar.
  
  The setvar line in chan_dahdi.conf is shared among all the channels, so make
  sure to only free the resources only when the last channel is destroyed.
  
  (closes issue #15899)
  Reported by: tzafrir
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@222304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-06 19:27:31 +00:00
Tilghman Lesher
b897e88b1d Merged revisions 222273 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r222273 | tilghman | 2009-10-06 14:17:11 -0500 (Tue, 06 Oct 2009) | 5 lines
  
  When we call a gosub routine, the variables should be scoped to avoid contaminating the caller.
  This affected the ~~EXTEN~~ hack, where a subroutine might have changed the
  value before it was used in the caller.
  Patch by myself, tested by ebroad on #asterisk
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@222289 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-06 19:22:23 +00:00
Tzafrir Cohen
aa5585b5fe Blocked revisions 222237 via svnmerge
........
  r222237 | tzafrir | 2009-10-06 18:17:30 +0200 (ג', 06 אוק 2009) | 12 lines
  
  Make sure digit events are not reported as "ERROR"
  
  dahdievent_to_analogevent used a simple switch statement to convert DAHDI
  event numbers to "ANALOG_*" event numbers. However "digit" events
  (DAHDI_EVENT_PULSEDIGIT, DAHDI_EVENT_DTMFDOWN, DAHDI_EVENT_DTMFUP)
  are accompannied by the digit in the low word of the event number.
  
  This fix makes dahdievent_to_analogevent() return the event number as-is
  for such an event.
  
  This is also required to fix # 15924 (in addition to r222108).  
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@222251 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-06 16:57:18 +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
Kevin P. Fleming
ba54bb0506 Merged revisions 222110 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r222110 | kpfleming | 2009-10-05 14:45:00 -0500 (Mon, 05 Oct 2009) | 25 lines
  
  Allow non-compliant T.38 endpoints to be supportable via configuration option.
  
  Many T.38 endpoints incorrectly send the maximum IFP frame size they can accept
  as the T38FaxMaxDatagram value in their SDP, when in fact this value is
  supposed to be the maximum UDPTL payload size (datagram size) they can accept.
  If the value they supply is small enough (a commonly supplied value is '72'),
  T.38 UDPTL transmissions will likely fail completely because the UDPTL packets
  will not have enough room for a primary IFP frame and the redundancy used for
  error correction. If this occurs, the Asterisk UDPTL stack will emit log messages
  warning that data loss may occur, and that the value may need to be overridden.
  
  This patch extends the 't38pt_udptl' configuration option in sip.conf to allow
  the administrator to override the value supplied by the remote endpoint and
  supply a value that allows T.38 FAX transmissions to be successful with that
  endpoint. In addition, in any SIP call where the override takes effect, a debug
  message will be printed to that effect. This patch also removes the
  T38FaxMaxDatagram configuration option from udptl.conf.sample, since it has not
  actually had any effect for a number of releases.
  
  In addition, this patch cleans up the T.38 documentation in sip.conf.sample
  (which incorrectly documented that T.38 support was passthrough only).
  
  (issue #15586)
  Reported by: globalnetinc
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@222113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-05 19:56:22 +00:00
Jeff Peeler
498aecbb9e Blocked revisions 222108 via svnmerge
........
  r222108 | jpeeler | 2009-10-05 14:20:36 -0500 (Mon, 05 Oct 2009) | 12 lines
  
  Add a few missing events to analog_handle_event.
  
  The reported bug was actually only for pulsedigit, dtmfup, and dtmfdown
  handling. Also added recognition for fax events (just some verbose output) and
  fixed handling for the ec_disabled_event. In order to make comparing the analog
  version of events to the DAHDI events easier, the ordering has been changed to
  follow that of the DAHDI events.
  
  (closes issue #15924)
  Reported by: tzafrir
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@222109 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-05 19:21:04 +00:00
David Vossel
debaf60db1 Merged revisions 222030 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r222030 | dvossel | 2009-10-02 12:34:07 -0500 (Fri, 02 Oct 2009) | 9 lines
  
  Merged revisions 222026 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r222026 | dvossel | 2009-10-02 12:32:13 -0500 (Fri, 02 Oct 2009) | 3 lines
    
    Removes unnecessary unlock, clarifies a memcpy.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@222032 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-02 17:35:29 +00:00
Tilghman Lesher
9a537db364 Merged revisions 221971 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r221971 | tilghman | 2009-10-02 11:59:57 -0500 (Fri, 02 Oct 2009) | 9 lines
  
  Merged revisions 221970 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r221970 | tilghman | 2009-10-02 11:58:03 -0500 (Fri, 02 Oct 2009) | 2 lines
    
    Ensure the result of the hash function is positive.  Negative array offsets suck.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-02 17:01:58 +00:00
Tilghman Lesher
8cd1873f08 Merged revisions 221920 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r221920 | tilghman | 2009-10-01 22:04:34 -0500 (Thu, 01 Oct 2009) | 4 lines
  
  Initialize a variable that we check immediately upon startup.
  (closes issue #15973)
   Reported by: atis
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221923 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-02 03:06:41 +00:00
Richard Mudgett
709a04ef32 Merged revisions 221844 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r221844 | rmudgett | 2009-10-01 20:09:31 -0500 (Thu, 01 Oct 2009) | 33 lines
  
  Merged revisions 221769 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r221769 | rmudgett | 2009-10-01 18:18:28 -0500 (Thu, 01 Oct 2009) | 26 lines
    
    Occasionally losing use of B channels in chan_misdn.
    
    I have not been able to reproduce the problem of losing channels.
    However, I have seen in the code a reentrancy problem that might give
    these symptoms.
    
    The reentrancy patch does several things:
    1) Guards B channel and B channel structure allocation.
    2) Makes the B channel structure find routines more precise in locating records.
    3) Never leave a B channel allocated if we received cause 44.
    
    The last item may cause temporary outgoing call problems, but they should
    clear when the line becomes idle.
    
    (closes issue #15490)
    Reported by: slutec18
    Patches:
          issue15490_channel_alloc_reentrancy.patch uploaded by rmudgett (license 664)
    Tested by: rmudgett, slutec18
    
    (closes issue #15458)
    Reported by: FabienToune
    Patches:
          issue15458_channel_alloc_reentrancy.patch uploaded by rmudgett (license 664)
    Tested by: FabienToune, rmudgett, slutec18
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-02 01:35:34 +00:00
Tilghman Lesher
a1458fef36 Merged revisions 221777 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r221777 | tilghman | 2009-10-01 18:59:15 -0500 (Thu, 01 Oct 2009) | 9 lines
  
  Merged revisions 221776 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r221776 | tilghman | 2009-10-01 18:53:12 -0500 (Thu, 01 Oct 2009) | 2 lines
    
    Fix a bunch of off-by-one errors
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-02 00:07:43 +00:00
Tilghman Lesher
3f4db95d71 Merged revisions 221705 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r221705 | tilghman | 2009-10-01 15:09:46 -0500 (Thu, 01 Oct 2009) | 2 lines
  
  Revision 220906 (a merge from 1.4) was not merged correctly, causing a problem with non-dynamic peers.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-01 20:43:38 +00:00
David Vossel
7e94f287c4 Merged revisions 221697 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r221697 | dvossel | 2009-10-01 14:33:33 -0500 (Thu, 01 Oct 2009) | 9 lines
  
  outbound tls connections were not defaulting to port 5061
  
  (closes issue #15854)
  Reported by: dvossel
  Patches:
        sip_port_config_trunk.diff uploaded by dvossel (license 671)
  Tested by: dvossel
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-01 19:35:11 +00:00
Matthew Nicholson
4773fdfdf5 Merged revisions 221554,221589 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r221554 | oej | 2009-10-01 02:00:04 -0500 (Thu, 01 Oct 2009) | 3 lines
  
  Simplify code for porturi, use TRUE/FALSE constructs when it's just TRUE or FALSE.
................
  r221589 | mnicholson | 2009-10-01 10:26:20 -0500 (Thu, 01 Oct 2009) | 9 lines
  
  Merged revisions 221588 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r221588 | mnicholson | 2009-10-01 10:24:00 -0500 (Thu, 01 Oct 2009) | 2 lines
    
    Use unsigned ints for portinuri flags.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-01 16:57:42 +00:00
Kevin P. Fleming
f820a30e22 Merged revisions 221592 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r221592 | kpfleming | 2009-10-01 11:16:09 -0500 (Thu, 01 Oct 2009) | 12 lines
  
  Remove ability to control T.38 FAX error correction from udptl.conf.
  
  chan_sip has had the ability to control T.38 FAX error correction mode on a per-peer
  (or global) basis for a couple of releases now, which is where it should have been
  all along. This patch removes the ability to configure it in udptl.conf, but issues
  a warning if the user tries to do, telling them to look at sip.conf.sample for how
  to configure it now. For any SIP peers that are T.38 enabled in sip.conf, there is
  already a default for FEC error correction even if the user does not specify any mode,
  so this change will not turn off error correction by default, it will have the same
  default value that has been in the udptl.conf sample file.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221622 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-01 16:25:40 +00:00
Matthew Nicholson
2e8eebee56 Merged revisions 221484 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r221484 | mnicholson | 2009-09-30 18:04:03 -0500 (Wed, 30 Sep 2009) | 2 lines
  
  Cleaned up merge from r221432
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-30 23:07:57 +00:00
Matthew Nicholson
5d6d3d7676 Merged revisions 221432 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r221432 | mnicholson | 2009-09-30 15:40:20 -0500 (Wed, 30 Sep 2009) | 17 lines
  
  Merged revisions 221360 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r221360 | mnicholson | 2009-09-30 14:36:06 -0500 (Wed, 30 Sep 2009) | 10 lines
    
    Fix SRV lookup and Request-URI generation in chan_sip.
    
    This patch adds a new field "portinuri" to the sip dialog struct and the sip peer struct.  That field is used during RURI generation to determine if the port should be included in the RURI.  It is also used in some places to determine if an SRV lookup should occur.
    
    (closes issue #14418)
    Reported by: klaus3000
    Tested by: klaus3000, mnicholson
    
    Review: https://reviewboard.asterisk.org/r/369/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-30 22:25:36 +00:00
Matthias Nick
0b1d6d601c Merged revisions 221436 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r221436 | mnick | 2009-09-30 16:15:01 -0500 (Wed, 30 Sep 2009) | 2 lines
  
  Prevents from division by zero
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221472 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-30 21:46:44 +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
Terry Wilson
9a61ba3e28 Merged revisions 221266 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r221266 | twilson | 2009-09-30 12:52:30 -0500 (Wed, 30 Sep 2009) | 32 lines
  
  Merged revisions 221086 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r221086 | twilson | 2009-09-30 09:49:11 -0500 (Wed, 30 Sep 2009) | 25 lines
    
    Change the SSRC by default when our media stream changes
    
    Be default, change SSRC when doing an audio stream changes Asterisk doesn't
    honor marker bit when reinvited to already-bridged RTP streams,resulting in
    far-end stack discarding packets with "old" timestamps that areactually part of
    a new stream.  This patch sends AST_CONTROL_SRCUPDATE whenever there is a
    reinvite, unless the 'constantssrc' is set to true in sip.conf.
    
    The original issue reported to Digium support detailed the following situation:
    ITSP <-> Asterisk 1.4.26.2 <-> SIP-based Application Server Call comes in
    fromITSP, Asterisk dials the app server which sends a re-invite back
    toAsterisk--not to negotiate to send media directly to the ITSP, but to
    indicatethat it's changing the stream it's sending to Asterisk.  The app
    servergenerates a new SSRC, sequence numbers, timestamps, and sets the marker
    bit on the new stream.  Asterisk passes through the teimstamp of the new stream,
    butdoes not reset the SSRC, sequence numbers, or set the marker bit.
    
    When the timestamp on the new stream is older than the timestamp on the
    originalstream, the ITSP (which doesn't know there has been any change) discards
    the newframes because it thinks they are too old.  This patch addresses this by
    changing the SSRC on a stream update unless constantssrc=true is set in
    sip.conf.
    
    Review: https://reviewboard.asterisk.org/r/374/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-30 19:15:06 +00:00
Tilghman Lesher
cfbfe5a74e Merged revisions 221201 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r221201 | tilghman | 2009-09-30 11:56:42 -0500 (Wed, 30 Sep 2009) | 14 lines
  
  Merged revisions 221200 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r221200 | tilghman | 2009-09-30 11:55:21 -0500 (Wed, 30 Sep 2009) | 7 lines
    
    Avoid a potential NULL dereference.
    (closes issue #15865)
     Reported by: kobaz
     Patches: 
           20090915__issue15865.diff.txt uploaded by tilghman (license 14)
     Tested by: kobaz
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-30 16:57:56 +00:00
Sean Bright
ce524f323a Blocked revisions 221090 via svnmerge
........
  r221090 | seanbright | 2009-09-30 11:11:21 -0400 (Wed, 30 Sep 2009) | 8 lines
  
  Modify VoiceMailMain()'s a() argument to allow mailboxes to be specified by name.
  
  (closes issue #14740)
  Reported by: pj
  Patches:
        issue14740_09022009.diff uploaded by seanbright (license 71)
  Tested by: seanbright, lmadsen
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221091 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-30 15:12:28 +00:00
Sean Bright
6e0b29a9cd Merged revisions 221085 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r221085 | seanbright | 2009-09-30 10:47:58 -0400 (Wed, 30 Sep 2009) | 9 lines
  
  Clarify documentation for VoiceMailMain()'s a() option.
  
  We require box numbers, not names as the documentation implies.
  (issue #14740)
  Reported by: pj
  Patches:
        __20090729-app_voicemail-documentation.patch uploaded by lmadsen (license 10)
  Tested by: seanbright, lmadsen
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-30 14:57:01 +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
Tilghman Lesher
4ddccae801 Remove optional_api from 1.6.2 branch, since it is not currently working.
This is a blocking issue for the 1.6.2 release.
(closes issue #15914)
 Reported by: mbeckwell
 Branch: http://svn.digium.com/svn/asterisk/team/tilghman/optional_api_162
 Tested by: mbeckwell


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-30 04:22:33 +00:00
Tilghman Lesher
f51a43531a Merged revisions 220906 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r220906 | tilghman | 2009-09-29 14:57:37 -0500 (Tue, 29 Sep 2009) | 16 lines
  
  Merged revisions 220873 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r220873 | tilghman | 2009-09-29 12:59:26 -0500 (Tue, 29 Sep 2009) | 9 lines
    
    Reduce CPU usage related to building a peer merely for devicestates.
    This fixes a 100% CPU problem in the SIP driver, found by profiling
    the driver while the problem was occurring.
    (closes issue #14309)
     Reported by: pkempgen
     Patches: 
           20090924__issue14309.diff.txt uploaded by tilghman (license 14)
     Tested by: pkempgen, vrban
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@221027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-29 22:27:59 +00:00
Mark Michelson
56d3c2435c Blocked revisions 220995 via svnmerge
........
  r220995 | mmichelson | 2009-09-29 16:28:04 -0500 (Tue, 29 Sep 2009) | 11 lines
  
  Fix channel reference leak.
  
  ast_cel_report_event would geet a reference to the
  bridged channel. However, certain return paths, such
  as if CEL was not enabled, would result in a reference
  leak. All return paths now properly unref the channel.
  
  (closes issue #15991)
  Reported by: mmichelson
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@220996 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-29 21:28:16 +00:00
Matthew Nicholson
bfa2271b46 Avoid a deadlock in chanspy, just in case the spyee is masqueraded and chanspy_ds_chan_fixup() is called with the channel locked.
(closes issue #15965)
Reported by: atis
Patches:
      chanspy-deadlock-fix1.diff uploaded by mnicholson (license 96)
Tested by: atis


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@220934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-29 20:24:33 +00:00
Mark Michelson
ad325beb11 Blocked revisions 220920 via svnmerge
........
  r220920 | mmichelson | 2009-09-29 15:20:48 -0500 (Tue, 29 Sep 2009) | 3 lines
  
  Get rid of annoying and cryptic debug messages.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@220922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-29 20:21:11 +00:00
Matthew Nicholson
cb30042138 Merged revisions 220904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r220904 | mnicholson | 2009-09-29 14:49:02 -0500 (Tue, 29 Sep 2009) | 5 lines
  
  Fix options 'm' and 's'. They were swapped in the code.  Also document the fact that app_confbridge does not automatically answer the channel.
  
  (closes issue #15964)
  Reported by: shrift
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@220905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-29 19:49:50 +00:00
Jeff Peeler
f9298dc0cb Merged revisions 220833 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r220833 | jpeeler | 2009-09-29 11:58:29 -0500 (Tue, 29 Sep 2009) | 12 lines
  
  Make deletion of temporary greetings work properly with IMAP_STORAGE
  
  When imapgreetings was set to yes, the message was being deleted but wasn't
  actually being expunged. When imapgreetings was set to no, the file based
  message was not being deleted at all. All good now!
  
  (closes issue #14949)
  Reported by: noahisaac
  Patches:
        vm_tempgreeting_removal.patch uploaded by noahisaac (license 748), 
        modified by me
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@220836 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-29 17:06:31 +00:00
Sean Bright
e7aa3fc71f Merged revisions 220721 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r220721 | seanbright | 2009-09-28 15:11:20 -0400 (Mon, 28 Sep 2009) | 10 lines
  
  Merged revisions 220717 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r220717 | seanbright | 2009-09-28 15:09:25 -0400 (Mon, 28 Sep 2009) | 3 lines
    
    When selecting DONT_OPTIMIZE in menuselect, explicitly pass -O0 to the compiler
    so we override any default optimization levels for a particular install.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@220725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-28 19:13:58 +00:00
Jeff Peeler
024ee4a43e Merged revisions 220718 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r220718 | jpeeler | 2009-09-28 14:10:10 -0500 (Mon, 28 Sep 2009) | 10 lines
  
  Fix building of registration entry in build_peer when using callbackextension
  
  Check for remotesecret option was unintentionally always true, which therefore
  caused the secret option to never be used. Thanks to dvossel for pointing out
  the exact fix.
  
  (closes issue #15943)
  Reported by: tpsast
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@220722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-28 19:11:53 +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
b1848ad0fc Merged revisions 220586 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r220586 | tilghman | 2009-09-26 10:10:28 -0500 (Sat, 26 Sep 2009) | 2 lines
  
  Allow AES to compile, when OpenSSL is not present.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@220589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-26 15:12:54 +00:00
David Vossel
f5edb25e1c Merged revisions 220365 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r220365 | dvossel | 2009-09-24 15:37:20 -0500 (Thu, 24 Sep 2009) | 8 lines
  
  fixes tcptls_session memory leak caused by ref count error
  
  (closes issue #15939)
  Reported by: dvossel
  
  Review: https://reviewboard.asterisk.org/r/375/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@220369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-24 20:38:02 +00:00
Jeff Peeler
002b33a9c8 Blocked revisions 220344 via svnmerge
........
  r220344 | jpeeler | 2009-09-24 15:29:51 -0500 (Thu, 24 Sep 2009) | 13 lines
  
  Add bridge related dial flags to the bridge app
  
  Most of the functionality here is gained simply by setting the feature flag
  on the bridge config. However, the dial limit functionality has been moved from
  app_dial to the features code and has been made public so both app_dial and
  the bridge app can use it.
  
  (closes issue #13165)
  Reported by: tim_ringenbach
  Patches:
        app_bridge_options_r138998.diff uploaded by tim ringenbach (license 540),
        modified by me
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@220347 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-24 20:30:27 +00:00
Tilghman Lesher
94740de344 Merged revisions 220289 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r220289 | tilghman | 2009-09-24 14:41:02 -0500 (Thu, 24 Sep 2009) | 13 lines
  
  Merged revisions 220288 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r220288 | tilghman | 2009-09-24 14:39:41 -0500 (Thu, 24 Sep 2009) | 6 lines
    
    Implicitly sending a progress signal breaks some applications.
    Call Progress() in your dialplan if you explicitly want progress to be sent.
    (Reverts change 216430, closes issue #15957)
    Reported by: Pavel Troller on the Asterisk-Dev mailing list
    http://lists.digium.com/pipermail/asterisk-dev/2009-September/039897.html
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@220292 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-24 19:42:42 +00:00
Sean Bright
732970b23c Merged revisions 220217 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r220217 | seanbright | 2009-09-24 14:19:41 -0400 (Thu, 24 Sep 2009) | 9 lines
  
  Merged revisions 220213 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r220213 | seanbright | 2009-09-24 14:18:18 -0400 (Thu, 24 Sep 2009) | 1 line
    
    Resolve parallel build warnings.
    
    Reported by Klaus Darilion on the asterisk-dev mailing list.
  ........
................



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@220221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-24 18:22:11 +00:00
Sean Bright
cf3272a55e Merged revisions 220100 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r220100 | seanbright | 2009-09-24 10:44:08 -0400 (Thu, 24 Sep 2009) | 9 lines
  
  Merged revisions 220099 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r220099 | seanbright | 2009-09-24 10:41:57 -0400 (Thu, 24 Sep 2009) | 2 lines
    
    Remove the remaining bashisms in the Makefile/mkpkgconfig
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@220103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-24 14:49:37 +00:00
Michiel van Baak
d8aa1a0a24 Merged revisions 220028 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r220028 | mvanbaak | 2009-09-24 10:36:18 +0200 (Thu, 24 Sep 2009) | 14 lines
  
  Merged revisions 220027 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r220027 | mvanbaak | 2009-09-24 10:33:50 +0200 (Thu, 24 Sep 2009) | 7 lines
    
    mkpkgconfig does not need bash so make it use /bin/sh
    This fixes building on all systems that don't have bash
    at /bin/bash
    
    Reported by _ys on #asterisk-dev
    Tested by _ys on #asterisk-dev
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@220031 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-24 08:43:34 +00:00
Tilghman Lesher
aebef98bca Merged revisions 219987 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r219987 | tilghman | 2009-09-24 02:39:44 -0500 (Thu, 24 Sep 2009) | 8 lines
  
  Fix two possible crashes, one only in 1.6.1 and one in 1.6.1 forward.
  (closes issue #15739)
   Reported by: DLNoah, jeffg
   Patches: 
         20090914__issue15739.diff.txt uploaded by tilghman (license 14)
         20090922__issue15739.diff.txt uploaded by tilghman (license 14)
   Tested by: DLNoah, jeffg
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@219989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-24 07:45:33 +00:00
Leif Madsen
adc2735890 Blocked revisions 219895 via svnmerge
........
  r219895 | lmadsen | 2009-09-23 12:46:46 -0500 (Wed, 23 Sep 2009) | 13 lines
  
  Add Mantis work flow documention.
  
  This commit adds the doxygen changes that I've made to describe the Mantis
  work flow documentation for the open source issue tracker. This should make
  it easier to determine the flow of issues through the issue tracker, and what
  those statuses mean.
  
  (closes issue #15902)
  Reported by: lmadsen
  Patches:
        mantisworkflow.h uploaded by lmadsen (license 10)
  
  Review: https://reviewboard.asterisk.org/r/367/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@219899 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-23 17:48:18 +00:00
Tilghman Lesher
2e1d6748ec Merged revisions 219818 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219818 | tilghman | 2009-09-22 16:43:22 -0500 (Tue, 22 Sep 2009) | 17 lines
  
  Merged revisions 219816 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r219816 | tilghman | 2009-09-22 16:37:03 -0500 (Tue, 22 Sep 2009) | 10 lines
    
    When IMAP variables were changed during a reload, Voicemail did not use the new values.
    This change introduces a configuration version variable, which ensures that
    connections with the old values are not reused but are allowed to expire
    normally.
    (closes issue #15934)
     Reported by: viniciusfontes
     Patches: 
           20090922__issue15934.diff.txt uploaded by tilghman (license 14)
     Tested by: viniciusfontes
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@219821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-22 21:48:07 +00:00
David Vossel
38189866bf Merged revisions 219721 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219721 | dvossel | 2009-09-21 11:59:05 -0500 (Mon, 21 Sep 2009) | 9 lines
  
  Merged revisions 219720 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r219720 | dvossel | 2009-09-21 11:55:53 -0500 (Mon, 21 Sep 2009) | 3 lines
    
    Reverting merge 219520. This change was not necessary.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@219722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-21 17:01:11 +00:00
Tilghman Lesher
dbecaa986b Merged revisions 219654 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219654 | tilghman | 2009-09-20 12:55:49 -0500 (Sun, 20 Sep 2009) | 15 lines
  
  Merged revisions 219653 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r219653 | tilghman | 2009-09-20 12:52:05 -0500 (Sun, 20 Sep 2009) | 8 lines
    
    Really stop the stream, when ast_closestream() is called.
    (closes issue #15129)
     Reported by: bmh
     Patches: 
           20090918__issue15129.diff.txt uploaded by tilghman (license 14)
     Review:
           https://reviewboard.asterisk.org/r/372/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@219669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-20 18:21:15 +00:00
Russell Bryant
a2352e2fa6 Merged revisions 219587 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219587 | russell | 2009-09-18 21:59:52 -0500 (Fri, 18 Sep 2009) | 13 lines
  
  Merged revisions 219586 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r219586 | russell | 2009-09-18 21:51:13 -0500 (Fri, 18 Sep 2009) | 6 lines
    
    Make sure the iax_pvt exists before dereferencing it.
    
    This fixes the latest crash posted on issue 15609.
    
    (issue #15609)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@219590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-19 03:14:27 +00:00