Skip to content
Snippets Groups Projects
  1. Jan 30, 2009
  2. Jan 29, 2009
  3. Jan 28, 2009
  4. Jan 27, 2009
    • Matthew Fredrickson's avatar
      Don't complain about lack of D-channels on PTMP connections · 7a695067
      Matthew Fredrickson authored
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@171793 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      7a695067
    • David Vossel's avatar
      Adding AES_ENCRYPT and AES_DECRYPT dialplan functions. · abf70664
      David Vossel authored
      (closes issue #14301)
      Reported by: amorsen
      
      review: http://reviewboard.digium.com/r/128/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@171757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      abf70664
    • Mark Michelson's avatar
      Merged revisions 171689 via svnmerge from · 5f1a4ebe
      Mark Michelson authored
      https://origsvn.digium.com/svn/asterisk/branches/1.4
      
      ........
      r171689 | mmichelson | 2009-01-27 15:55:08 -0600 (Tue, 27 Jan 2009) | 39 lines
      
      Fix devicestate problems for "always-on" agent channels
      
      A revision to chan_agent attempted to "inherit" the device
      state of the underlying channel in order to report the
      device state of an agent channel more accurately.
      
      The problem with the logic here is that it makes no sense to
      use this for always-on agents. If the agent is logged in, then
      to the underlying channel, the agent will always appear to be
      "in use," no matter if the agent is on a call or not. The reason
      is that to the underlying channel, the channel is currently in use
      on a call to the AgentLogin application.
      
      The most common cause that I found for this issue to occur was for
      a SIP channel to be the underlying channel type for an Agent channel.
      If the SIP phone re-registers, then the registration will cause the
      device state core to query the device state of the SIP channel. Since the
      SIP channel is in use, the Agent channel would also inherit this status.
      Once the agent channel was set to "in use" there was no way that the device
      state could change on that channel unless the agent logged out.
      
      The solution for this problem is a bit different in 1.4 than it is in the
      other branches. In 1.4, there will be a one-line fix to make sure that only
      callback agents will inherit device state from their underlying channel type.
      For the other branches of Asterisk, since callback support has been removed, there
      is also no need for device state inheritance in chan_agent, so I will simply be
      removing it from the code.
      
      In addition, the 1.4 source is getting a new comment to help the next person who
      edits chan_agent.c. I'm adding a comment that a agent_pvt's loginchan field may be
      used to determine if the agent is a callback agent or not.
      
      (closes issue #14173)
      Reported by: nathan
      Patches:
            14173.patch uploaded by putnopvut (license 60)
      Tested by: nathan, aramirez
      
      
      ........
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@171691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      5f1a4ebe
    • Mark Michelson's avatar
      Merged revisions 171621 via svnmerge from · fc7455fa
      Mark Michelson authored
      https://origsvn.digium.com/svn/asterisk/branches/1.4
      
      ........
      r171621 | mmichelson | 2009-01-27 14:06:01 -0600 (Tue, 27 Jan 2009) | 18 lines
      
      Prevent a crash from occurring when a jitter buffer interpolated frame is
      removed from a slinfactory
      
      slinfactory used the "samples" field of an ast_frame in order to determine
      the amount of data contained within the frame. In certain cases, such as
      jitter buffer interpolated frames, the frame would have a non-zero value for
      "samples" but have NULL "data"
      
      This caused a problem when a memcpy call in ast_slinfactory_read would attempt
      to access invalid memory. The solution in use here is to never feed frames into
      the slinfactory if they have NULL "data"
      
      (closes issue #13116)
      Reported by: aragon
      Patches:
            13116.diff uploaded by putnopvut (license 60)
      
      
      ........
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@171622 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      fc7455fa
    • Mark Michelson's avatar
      Fix queue crashes that would occur after the calling channel was masqueraded. · 04e56bde
      Mark Michelson authored
      The data passed to the end_bridge_callback was assumed to be data which was
      still stack'd. The problem was that with some call features, attended transfers
      in particular, a new bridge thread is started once the feature completes, meaning
      that when the end_bridge_callback is called, the end_bridge_callback_data was
      invalid.
      
      To fix this problem, there are two measures taken
      
      1. Instead of pointing to stacked data, we now used heap-allocated data for
      passing to the end_bridge_callback in app_queue
      2. Since bridges can end multiple times on a single logical call, we wait until
      the final bridge is broken to actually set any queue variables. This is accomplished
      through reference-counting and the use of an end_bridge_callback_data_fixup function
      in app_queue.c
      
      (closes issue #14260)
      Reported by: ccesario
      Patches:
            14260.patch uploaded by putnopvut (license 60)
      Tested by: ccesario
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@171618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      04e56bde
    • Doug Bailey's avatar
      Handle new VMWI ioctl structure (Now there are two VMWI ioctl calls.) · 906d6654
      Doug Bailey authored
      (issue #14104)
      Reported by: alecdavis
      Tested by: dbailey
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@171558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      906d6654
    • Olle Johansson's avatar
      Solving the same issue, but a bit different in trunk... · a0a8a4d6
      Olle Johansson authored
      Merged revisions 171527 via svnmerge from 
      https://origsvn.digium.com/svn/asterisk/branches/1.4
      
      ........
      r171527 | oej | 2009-01-27 15:33:20 +0100 (Tis, 27 Jan 2009) | 13 lines
      
      Use the same branch tag in CANCEL as in INVITE
      
      Originally putnopvut implemented some changes in revision 142079 that according to the bug report seemed to have worked then, but somehow fails now.
      I guess code, as humans, get old and forget stuff. Anyway, this bug caused CANCEL not to work with picky systems. 
      
      Thanks Fredrik for pointing out where the bug in the SIP messaging was.
      
      (closes issue #14346)
      Reported by: oej
      Patches: 
            bug14346.diff uploaded by oej (license 306)
      Tested by: oej
      
      ........
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@171528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      a0a8a4d6
  5. Jan 26, 2009
  6. Jan 25, 2009
Loading