Skip to content
Snippets Groups Projects
  1. Jun 18, 2009
    • David Vossel's avatar
      fixes some memory leaks and redundant conditions · dcfe69ec
      David Vossel authored
      (closes issue #15269)
      Reported by: contactmayankjain
      Patches:
            patch.txt uploaded by contactmayankjain (license 740)
            memory_leak_stuff.trunk.diff uploaded by dvossel (license 671)
      Tested by: contactmayankjain, dvossel
      
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@201678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      dcfe69ec
    • Russell Bryant's avatar
      Merged revisions 201600 via svnmerge from · 730e60e5
      Russell Bryant authored
      https://origsvn.digium.com/svn/asterisk/branches/1.4
      
      ........
        r201600 | russell | 2009-06-18 10:24:31 -0500 (Thu, 18 Jun 2009) | 29 lines
        
        Fix memory corruption and leakage related reloads of non files mode MoH classes.
        
        For Music on Hold classes that are not files mode, meaning that we are executing
        an application that will feed us audio data, we use a thread to monitor the
        external application and read audio from it.  This thread also makes use of the
        MoH class object.  In the MoH class destructor, we used pthread_cancel() to ask
        the thread to exit.  Unfortunately, the code did not wait to ensure that the
        thread actually went away.  What needed to be done is a pthread_join() to ensure
        that the thread fully cleans up before we proceed.  By adding this one line, we
        resolve two significant problems:
        
          1) Since the thread was never joined, it never fully goes away.  So, on every
             reload of non-files mode MoH, an unused thread was sticking around.
        
          2) There was a race condition here where the application monitoring thread
             could still try to access the MoH class, even though the thread executing
             the MoH reload has already destroyed it.
        
        (issue #15109)
        Reported by: jvandal
        
        (issue #15123)
        Reported by: axisinternet
        
        (issue #15195)
        Reported by: amorsen
        
        (issue AST-208)
      ........
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@201610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      730e60e5
    • Mark Michelson's avatar
      Trunk implementation of setting an alternate RTP source. · dce6a54a
      Mark Michelson authored
      This contains the interface by which we can let an rtp instance know
      that it might start receiving audio from a new source. This is similar
      in nature to revision 197588 of Asterisk 1.4.
      
      Review: https://reviewboard.asterisk.org/r/276
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@201583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      dce6a54a
    • David Vossel's avatar
      parsing extension correctly from sip register lines · a11ac5ae
      David Vossel authored
      If a transport type was specified, but no extension, parsing of the extension would return whatever was after the transport rather than defaulting to 's'.
      
      (closes issue #15111)
      Reported by: ffs
      Patches:
            chan_sip.c_register-parser.patch uploaded by ffs (license 730)
      Tested by: ffs, dvossel
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@201570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      a11ac5ae
  2. Jun 17, 2009
  3. Jun 16, 2009
  4. Jun 15, 2009
  5. Jun 14, 2009
Loading