Skip to content
Snippets Groups Projects
  1. Feb 13, 2011
  2. Feb 12, 2011
  3. Feb 10, 2011
  4. Feb 09, 2011
  5. Feb 08, 2011
  6. Feb 07, 2011
  7. Feb 05, 2011
  8. Feb 04, 2011
  9. Feb 03, 2011
    • Jeff Peeler's avatar
      Merged revisions 306215 via svnmerge from · 285d953f
      Jeff Peeler authored
      https://origsvn.digium.com/svn/asterisk/branches/1.8
      
      ........
        r306215 | jpeeler | 2011-02-03 17:49:28 -0600 (Thu, 03 Feb 2011) | 20 lines
        
        Fix SIP deadlock involving state changes.
        
        Once again a call to pbx_builtin_getvar_helper (and pbx_builtin_setvar_helper)
        has caused locking problems. Both of these functions lock the channel when
        the channel argument is passed in!
        
        In this case, the suspected problem (the backtrace makes it impossible to tell)
        was the private being locked in sip_set_rtp_peer and then:
        transmit_reinvite_with_sdp
         try_suggested_sip_codec
           pbx_builtin_getvar_helper
        (Traced to verify that the fix was only required in 1.8 and later.)
        
        (closes issue #18491)
        Reported by: cmaj
        Patches: 
              chan_sip_fix_deadlocks_bug_18491.txt uploaded by cmaj (license 830)
        Tested by: cmaj
      ........
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@306216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      285d953f
    • Terry Wilson's avatar
      Merged revisions 306127 via svnmerge from · 36da6b62
      Terry Wilson authored
      https://origsvn.digium.com/svn/asterisk/branches/1.8
      
      ................
        r306127 | twilson | 2011-02-03 13:03:26 -0800 (Thu, 03 Feb 2011) | 23 lines
        
        Merged revisions 306126 via svnmerge from 
        https://origsvn.digium.com/svn/asterisk/branches/1.6.2
        
        ................
          r306126 | twilson | 2011-02-03 12:56:00 -0800 (Thu, 03 Feb 2011) | 16 lines
          
          Merged revisions 306119 via svnmerge from 
          https://origsvn.digium.com/svn/asterisk/branches/1.4
          
          ........
            r306119 | twilson | 2011-02-03 12:36:34 -0800 (Thu, 03 Feb 2011) | 9 lines
            
            Set hangup cause in local_hangup
            
            When a call involves a local channel (like SIP -> Local -> SIP), the hangup
            cause was not being set. This resulted in SIP channels sometimes getting a
            503 error instead of a 486 when the far side sent a busy. In Asterisk 1.8+
            this also can cause issues with CCSS that involve a local channel. This patch
            sets the hangupcause for one side of the local channel to the other in
            local_hangup for outbound calls.
          ........
        ................
      ................
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@306128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      36da6b62
Loading