Skip to content
Snippets Groups Projects
  • Jeff Peeler's avatar
    12a40275
    Merged revisions 294278 via svnmerge from · 12a40275
    Jeff Peeler authored
    https://origsvn.digium.com/svn/asterisk/branches/1.8
    
    ................
      r294278 | jpeeler | 2010-11-08 15:59:45 -0600 (Mon, 08 Nov 2010) | 23 lines
      
      Merged revisions 294277 via svnmerge from 
      https://origsvn.digium.com/svn/asterisk/branches/1.6.2
      
      ........
        r294277 | jpeeler | 2010-11-08 15:58:13 -0600 (Mon, 08 Nov 2010) | 16 lines
        
        Fix playback failure when using IAX with the timerfd module.
        
        To fix this issue the alert pipe will now be used when the timerfd module is
        in use. There appeared to be a race that was not solved by adding locking in the
        timerfd module, but needed to be there anyway. The race was between the timer
        being put in non-continuous mode in ast_read on the channel thread and the IAX 
        frame scheduler queuing a frame which would enable continuous mode before the
        non-continuous mode event was read. This race for now is simply avoided.
        
        (closes issue #18110)
        Reported by: tpanton
        Tested by: tpanton
        
        I put tested by tpanton because it was tested on his hardware. Thanks for the
        remote access to debug this issue!
      ........
    ................
    
    
    git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@294279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
    12a40275
    History
    Merged revisions 294278 via svnmerge from
    Jeff Peeler authored
    https://origsvn.digium.com/svn/asterisk/branches/1.8
    
    ................
      r294278 | jpeeler | 2010-11-08 15:59:45 -0600 (Mon, 08 Nov 2010) | 23 lines
      
      Merged revisions 294277 via svnmerge from 
      https://origsvn.digium.com/svn/asterisk/branches/1.6.2
      
      ........
        r294277 | jpeeler | 2010-11-08 15:58:13 -0600 (Mon, 08 Nov 2010) | 16 lines
        
        Fix playback failure when using IAX with the timerfd module.
        
        To fix this issue the alert pipe will now be used when the timerfd module is
        in use. There appeared to be a race that was not solved by adding locking in the
        timerfd module, but needed to be there anyway. The race was between the timer
        being put in non-continuous mode in ast_read on the channel thread and the IAX 
        frame scheduler queuing a frame which would enable continuous mode before the
        non-continuous mode event was read. This race for now is simply avoided.
        
        (closes issue #18110)
        Reported by: tpanton
        Tested by: tpanton
        
        I put tested by tpanton because it was tested on his hardware. Thanks for the
        remote access to debug this issue!
      ........
    ................
    
    
    git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@294279 65c4cc65-6c06-0410-ace0-fbb531ad65f3