Skip to content
Snippets Groups Projects
  1. Mar 13, 2015
  2. Mar 06, 2015
    • Richard Mudgett's avatar
      chan_dahdi/sig_analog: Fix distinctive ring detection to suck less. · c7cc1b30
      Richard Mudgett authored
      The distinctive ring feature interferes with detecting Caller ID and
      appears to have been broken for years.  What happens is if you have a
      ring-ring cadence as used in the UK you get too many DAHDI events for the
      distinctive ring pattern array and Caller ID detection is aborted.  I
      think when Zapata/DAHDI added the ring begin event it broke distinctive
      ring.  More events happen than before and the code does no filtering of
      which event times are recorded in the pattern array.
      
      * Made distinctive ring only record the ringt count when the ring ends
      instead of on just any DAHDI event.  Distinctive ring can be ring,
      ring-ring, ring-ring-ring, or different ring durations for the up to three
      rings.
      
      * Fixed the distinctive ring detection enable (chan_dahdi.conf option
      usedistinctiveringdetection) to be per port instead of somewhat per port
      and somewhat global.  This has been broken since v1.8.
      
      * Fixed using the default distinctive ring context when the detected
      pattern does not match any configured dringX patterns.  The default
      context did not get set when the previous call was a matched distinctive
      ring pattern and the current call is not matched.  This has been broken
      since v1.8.
      
      * Made distinctive ring have no effect on Caller ID detection when it is
      disabled.  Caller ID detection just monitors for 10 seconds before giving
      up.
      
      * Fixed leak of struct callerid_state memory when a polarity reversal
      during Caller ID detection causes the incoming call to be aborted.
      
      DAHDI-1143
      AST-1545
      ASTERISK-24825 #close
      Reported by: Richard Mudgett
      
      ASTERISK-17588
      Reported by: Daniel Flounders
      
      Review: https://reviewboard.asterisk.org/r/4444/
      ........
      
      Merged revisions 432530 from http://svn.asterisk.org/svn/asterisk/branches/11
      ........
      
      Merged revisions 432534 from http://svn.asterisk.org/svn/asterisk/branches/13
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@432551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      c7cc1b30
  3. Feb 20, 2015
  4. Feb 19, 2015
  5. Dec 18, 2014
  6. Jul 21, 2014
  7. May 22, 2014
  8. May 09, 2014
  9. Dec 18, 2013
    • Kevin Harwell's avatar
      channel locking: Add locking for channel snapshot creation · 28c0cb28
      Kevin Harwell authored
      Original commit message by mmichelson (asterisk 12 r403311):
      
      "This adds channel locks around calls to create channel snapshots as well
      as other functions which operate on a channel and then end up
      creating a channel snapshot. Functions that expect the channel to be
      locked prior to being called have had their documentation updated to
      indicate such."
      
      The above was initially committed and then reverted at r403398.  The problem
      was found to be in core_local.c in the publish_local_bridge_message function.
      The ast_unreal_lock_all function locks and adds a reference to the returned
      channels and while they were being unlocked they were not being unreffed when
      no longer needed.  Fixed by unreffing the channels.
      
      Also in bridge.c a lock was obtained on "other->chan", but then an attempt was
      made to unlock "other" and not the previously locked channel.  Fixed by
      unlocking "other->chan"
      
      (closes issue ASTERISK-22709)
      Reported by: John Bigelow
      ........
      
      Merged revisions 404237 from http://svn.asterisk.org/svn/asterisk/branches/12
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@404260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      28c0cb28
  10. Dec 05, 2013
  11. Dec 03, 2013
  12. Oct 01, 2013
  13. Aug 27, 2013
  14. Aug 17, 2013
    • Kinsey Moore's avatar
      Allow res_parking to be unloadable · 56aea1c0
      Kinsey Moore authored
      This change protects accesses of res_parking such that it can unload
      safely once transient uses of its registered functions are complete.
      The parking API has been restructured such that its consumers do not
      have access to the vtable exposed by the parking provider, but instead
      route through stubs to prevent consumers from holding on to function
      pointers.
      
      This adds calls to all the parking unload functions and moves
      application loading and unloading into functions in
      parking_applications.c similar to the rest of the parts of res_parking.
      
      Review: https://reviewboard.asterisk.org/r/2763/
      (closes issue ASTERISK-22142)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396890 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      56aea1c0
  15. Aug 02, 2013
  16. Aug 01, 2013
    • Matthew Jordan's avatar
      Support externally initiated parking requests; remove some dead code · 5c4b4824
      Matthew Jordan authored
      This patch does the following:
       * It adds support for externally initiated parking requests. In particular,
         chan_skinny has a protocol level message that initiates a call park.
         This patch now supports that option, as well as the protocol specific
         mechanisms in chan_dahdi/sig_analog and chan_mgcp.
       * A parking bridge features virtual table has been added that provides
         access to the parking functionality that the Bridging API needs. This
         includes requests to park an entire 'call' (with little or no additional
         information, thank you chan_skinny), perform a blind transfer to a parking
         extension, determine if an extension is a parking extension, as well as the
         actual "do the parking" request from the Bridging API.
       * Refactoring in chan_mgcp, chan_skinny, and chan_dahdi to make use of the new
         functions
       * The removal of some - but not all - dead parking code from features.c
      
      This also fixed blind transferring a multi-party bridge to a parking lot (which
      was implemented, but had at least one code path where using the parking features
      kK might not have worked)
      
      Review: https://reviewboard.asterisk.org/r/2710
      
      (closes issue ASTERISK-22134)
      Reported by: Matt Jordan
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      5c4b4824
  17. Jul 25, 2013
    • Matthew Jordan's avatar
      A great big renaming patch · cafc1158
      Matthew Jordan authored
      This patch renames the bridging* files to bridge*. This may seem pedantic
      and silly, but it fits better in line with current Asterisk naming conventions:
      * channel is not "channeling"
      * monitor is not "monitoring"
      etc.
      
      A bridge is an object. It is a first class citizen in Asterisk. "Bridging" is
      the act of using a bridge on a set of channels - and the API that fulfills that
      role is more than just the action.
      
      (closes issue ASTERISK-22130)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      cafc1158
  18. Jul 20, 2013
    • Kinsey Moore's avatar
      Add transfer support to CEL · 684c83b2
      Kinsey Moore authored
      This adds CEL support for blind and attended transfers and call pickup.
      During the course of adding this functionality I noticed that
      CONF_ENTER, CONF_EXIT, and BRIDGE_TO_CONF events are particularly
      useless without a bridge identifier, so I added that as well.
      
      This adds tests for blind transfers, several types of attended
      transfers, and call pickup.
      
      The extra field in CEL records now consists of a JSON blob whose fields
      are defined on a per-event basis.
      
      Review: https://reviewboard.asterisk.org/r/2658/
      (closes issue ASTERISK-21565)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      684c83b2
  19. Jul 01, 2013
  20. Jun 07, 2013
  21. Jun 06, 2013
    • Mark Michelson's avatar
      Refactor the features configuration scheme. · 2dc8a060
      Mark Michelson authored
      Features configuration is handled in its own API in
      features_config.h and features_config.c. This way, features
      configuration is accessible to anything that needs it.
      
      In addition, features configuration has been altered to
      be more channel-oriented. Most callers of features API
      code will be supplying a channel so that the individual
      channel's settings will be acquired rather than the global
      setting.
      
      Missing from this commit is XML documentation for the
      features configuration. That will be handled in a separate
      commit.
      
      Review: https://reviewboard.asterisk.org/r/2578/
      
      (issue ASTERISK-21542)
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      2dc8a060
  22. May 24, 2013
  23. May 01, 2013
  24. Nov 07, 2012
    • Mark Michelson's avatar
      Multiple revisions 375993-375994 · f2bb9afe
      Mark Michelson authored
      ........
        r375993 | mmichelson | 2012-11-07 11:01:13 -0600 (Wed, 07 Nov 2012) | 30 lines
        
        Fix misuses of timeouts throughout the code.
        
        Prior to this change, a common method for determining if a timeout
        was reached was to call a function such as ast_waitfor_n() and inspect
        the out parameter that told how many milliseconds were left, then use
        that as the input to ast_waitfor_n() on the next go-around.
        
        The problem with this is that in some cases, submillisecond timeouts
        can occur, resulting in the out parameter not decreasing any. When this
        happens thousands of times, the result is that the timeout takes much
        longer than intended to be reached. As an example, I had a situation where
        a 3 second timeout took multiple days to finally end since most wakeups
        from ast_waitfor_n() were under a millisecond.
        
        This patch seeks to fix this pattern throughout the code. Now we log the
        time when an operation began and find the difference in wall clock time
        between now and when the event started. This means that sub-millisecond timeouts
        now cannot play havoc when trying to determine if something has timed out.
        
        Part of this fix also includes changing the function ast_waitfor() so that it
        is possible for it to return less than zero when a negative timeout is given
        to it. This makes it actually possible to detect errors in ast_waitfor() when
        there is no timeout.
        
        (closes issue ASTERISK-20414)
        reported by David M. Lee
        
        Review: https://reviewboard.asterisk.org/r/2135/
      ........
        r375994 | mmichelson | 2012-11-07 11:08:44 -0600 (Wed, 07 Nov 2012) | 3 lines
        
        Remove some debugging that accidentally made it in the last commit.
      ........
      
      Merged revisions 375993-375994 from http://svn.asterisk.org/svn/asterisk/branches/1.8
      ........
      
      Merged revisions 375995 from http://svn.asterisk.org/svn/asterisk/branches/10
      ........
      
      Merged revisions 376014 from http://svn.asterisk.org/svn/asterisk/branches/11
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@376015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      f2bb9afe
  25. Sep 28, 2012
    • Richard Mudgett's avatar
      Add pause one second W dial modifier. · b5138fcc
      Richard Mudgett authored
      * The following dialplan applications now recognize 'W' to pause sending
      DTMF for one second in addition to the previously existing 'w' that paused
      sending DTMF for half a second.  Dial, ExternalIVR, and SendDTMF.
      
      * The chan_dahdi analog port dialing and deferred DTMF dialing for PRI now
      distinguishes between 'w' and 'W'.  The 'w' pauses dialing for half a
      second.  The 'W' pauses dialing for one second.
      
      * Created dahdi_dial_str() in chan_dahdi that eliminated a lot of
      duplicated dialing code and diagnostic messages for the channel driver.
      
      (closes issue ASTERISK-20039)
      Reported by: Jeremiah Gowdy
      Patches:
            jgowdy-wait-6-22-2012.diff (license #5621) patch uploaded by Jeremiah Gowdy
            Expanded patch to add support in chan_dahdi.
      Tested by: rmudgett
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@374030 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      b5138fcc
  26. Aug 15, 2012
  27. Aug 08, 2012
  28. Jul 31, 2012
  29. Jul 20, 2012
  30. Jul 12, 2012
  31. Jul 11, 2012
    • Matthew Jordan's avatar
      Fix validation errors when producing documentation using default build script · 9bc2127d
      Matthew Jordan authored
      The awk script parses out the first instance of the DOCUMENTATION tag that it
      finds within a file.  If a file did not previously have a DOCUMENTATION tag
      but received one due to it having an AMI event, then the XML fragment
      associated with the AMI event was erroneously placed in the resulting XML
      file.  Without the python scripts, these XML fragments will not validate.
      
      This patch adds DOCUMENTATION tags at the top of those files that did
      not previously have them to prevent the awk script from pulling AMI event
      documentation.
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      9bc2127d
  32. Jul 10, 2012
  33. Jul 06, 2012
  34. Jun 26, 2012
  35. Jun 22, 2012
  36. Jun 15, 2012
    • Kevin P. Fleming's avatar
      Multiple revisions 369001-369002 · 166b4e2b
      Kevin P. Fleming authored
      ........
        r369001 | kpfleming | 2012-06-15 10:56:08 -0500 (Fri, 15 Jun 2012) | 11 lines
        
        Add support-level indications to many more source files.
        
        Since we now have tools that scan through the source tree looking for files
        with specific support levels, we need to ensure that every file that is
        a component of a 'core' or 'extended' module (or the main Asterisk binary)
        is explicitly marked with its support level. This patch adds support-level
        indications to many more source files in tree, but avoids adding them to
        third-party libraries that are included in the tree and to source files
        that don't end up involved in Asterisk itself.
      ........
        r369002 | kpfleming | 2012-06-15 10:57:14 -0500 (Fri, 15 Jun 2012) | 3 lines
        
        Add a script to enable finding source files without support-levels defined.
      ........
      
      Merged revisions 369001-369002 from http://svn.asterisk.org/svn/asterisk/branches/1.8
      ........
      
      Merged revisions 369005 from http://svn.asterisk.org/svn/asterisk/branches/10
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369013 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      166b4e2b
  37. Jun 11, 2012
  38. Jun 06, 2012
  39. May 10, 2012
Loading