Skip to content
Snippets Groups Projects
  1. Aug 08, 2013
    • Matthew Jordan's avatar
      Hide the Surrogate channels from external consumers; kill Masquerade events · 33e7b76d
      Matthew Jordan authored
      This patch does three things:
      1. It provides a Surrogate channel technology with a consolidated
         "implementation detail flag" on the channel technology. This tells
         consumers of Stasis that the creation of this channel is an implementation
         detail in Asterisk and can be ignored (if they so choose). This
         consolidates the conference recorder/announcer flags as well - these flags
         had no additional meaning beyond "ignore this channel please".
      
      2. It modifies allocation of a channel in two ways:
         (a) If a channel technology can be determined from the name, we set it
             directly in the allocation routine. This prevents the initial
             publication of the message from going out with a NULL channel technology
             where possible. This lets Stasis consumers get the right channel
             technology on the first publication.
         (b) It reorganizes allocation to make use of the 'finalized' property on the
             channel. This was already used to know that a channel had completely
             finished its construction in the masquerade routine; now we also use it
             to know whether or not the setting of certain channel properties is
             occurring during or post construction. The various set routines were
             modified accordingly as well.
      
      3. The masquerade event is now dead, Jim. It no longer served any purpose
         whatsoever - if you perform a call pickup you'll get a Pickup event;
         if you perform an attended transfer you will still get those events; if you
         steal a channel to put it elsewhere you'll get the corresponding NewExten or
         BridgeEnter events.
      
      Review: https://reviewboard.asterisk.org/r/2740
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      33e7b76d
    • Matthew Jordan's avatar
      Prevent spurious memory error when appending backtrace with MALLOC_DEBUG · 2a8219b6
      Matthew Jordan authored
      Backtraces are allocated outside of the usual memory tracking performed by
      MALLOC_DEBUG. This allows them to be used by the memory tracking enabled
      by that build option; however, it also means that when backtraces are
      disposed of they have to be done so outside of the re-defined free.
      
      This patch undef's free prior to disposing of the allocated backtrace when
      a backtrace is appended as a result of 'core show locks'.
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      2a8219b6
    • Kinsey Moore's avatar
      Prevent unreal channels from optimizing during DTMF emulation · 88bef0b3
      Kinsey Moore authored
      This prevents unreal channel optimization during the prequalification
      phase when either channel is involved in DTMF emulation. This prevents
      a situation where an emulated digit would be missed because the
      emulation was never completed.
      
      Review: https://reviewboard.asterisk.org/r/2747/
      (closes issue ASTERISK-22214)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396385 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      88bef0b3
    • Igor Goncharovskiy's avatar
      · 70309f24
      Igor Goncharovskiy authored
       - Fix different issues with call transfer cancel. In case 3rd party busy or congestion call was not returned.
       - Fix displaying soft button 'Redial' in case of no redial number exists
      ........
      
      Merged revisions 396377 from http://svn.asterisk.org/svn/asterisk/branches/11
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      70309f24
    • Matthew Jordan's avatar
      Handle Surrogate channels in Dial message processing · 8b75a68f
      Matthew Jordan authored
      Depending on when a Surrogate channel replaces an existing channel, it is
      possible to get a Dial message for the Surrogate channel. When this occurs, no
      CDR will exist for the channel as Surrogate channels are ignored. Safely handle
      the case when a CDR doesn't exist for a Dial message.
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396371 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      8b75a68f
  2. Aug 07, 2013
    • Matthew Jordan's avatar
      Perform Ring-No-Answer checks before processing Hangup logic · 200ed6a4
      Matthew Jordan authored
      The rna() routine will raise a Stasis message involving both the caller and the
      agent. This doesn't work so well if we already hung up the agent channel, as
      the channel doesn't quite exist. Not surprisingly, this will crash. This patch
      properly runs the rna subroutine (performing all of the Ring-No-Answer logic)
      prior to hanging up the agent channel.
      
      (closes issue ASTERISK-22258)
      Reported by: Kiril Valchev
      Tested by: Kiril Valchev
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      200ed6a4
  3. Aug 06, 2013
  4. Aug 05, 2013
  5. Aug 03, 2013
  6. Aug 02, 2013
Loading