Skip to content
Snippets Groups Projects
  1. Jan 09, 2014
    • Kevin Harwell's avatar
      res_rtp_asterisk: Fails to resume WebRTC call from hold · bce38c0c
      Kevin Harwell authored
      In ast_rtp_ice_start if the ice session create check list failed, start check
      was never initiated and ice_started was never set to true.  Upon re-entering
      the function (for instance, [un]hold) it would try to create the check list
      again with duplicate remote candidates.
      
      Fixed so that if the create check list fails the necessary data structures
      are properly re-initialized for any subsequent retries.
      
      Note, it was decided to not stop ice support (by calling ast_rtp_ice_stop) on a
      check list failure because it possible things might still work.  However, a
      debug message was added to help with any future troubleshooting.
      
      (closes issue ASTERISK-22911)
      Reported by: Vytis Valentinavičius
      Patches:
           works_on_my_machine.patch uploaded by xytis (license 6558)
      ........
      
      Merged revisions 405234 from http://svn.asterisk.org/svn/asterisk/branches/11
      ........
      
      Merged revisions 405235 from http://svn.asterisk.org/svn/asterisk/branches/12
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@405236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      bce38c0c
    • Matthew Jordan's avatar
      app_confbridge: Fix crash caused when waitmarked/marked users leave together · 50b2d6ee
      Matthew Jordan authored
      When waitmarked users join a ConfBridge, the conference state is transitioned
      from EMPTY -> INACTIVE. In this state, the users are maintined in a waiting
      users list. When a marked user joins, the ConfBridge conference transitions
      from INACTIVE -> MULTI_MARKED, and all users are put onto the active list of
      users. This process works correctly.
      
      When the marked user leaves, if they are the last marked user, the MULTI_MARKED
      state does the following:
      (1) It plays back a message to the bridge stating that the leader has left the
          conference. This requires an unlocking of the bridge.
      (2) It moves waitmarked users back to the waiting list
      (3) It transitions to the appropriate state: in this case, INACTIVE
      
      However, because it plays the prompt back to the bridge before moving the users
      and before finishing the state transition, this creates a race condition: with
      the bridge unlocked, waitmarked users who leave the conference (or are kicked
      from it) can cause a state transition of the bridge to another state before
      the conference is transitioned to the INACTIVE state. This causes the state
      machine to get a bit wonky, often leading to a crash when the MULTI_MARKED state
      attempts to conclude its processing.
      
      This patch fixes this problem:
      (1) It prevents kicked users from being kicked again. That's just a nicety.
      (2) More importantly, it fixes the race condition by only playing the prompt
          once the state has transitioned correctly to INACTIVE. If waitmarked users
          sneak out during the prompt being played, no harm no foul.
      
      Review: https://reviewboard.asterisk.org/r/3108/
      
      Note that the patch committed here is essentially the same as uploaded by
      Simon Moxon on ASTERISK-22740, with the addition of the double kick prevention.
      
      (closes issue AST-1258)
      Reported by: Steve Pitts
      
      (closes issue ASTERISK-22740)
      Reported by: Simon Moxon
      patches:
        ASTERISK-22740.diff uploaded by Simon Moxon (license 6546)
      ........
      
      Merged revisions 405215 from http://svn.asterisk.org/svn/asterisk/branches/11
      ........
      
      Merged revisions 405216 from http://svn.asterisk.org/svn/asterisk/branches/12
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@405217 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      50b2d6ee
    • Walter Doekes's avatar
      "Minimun" typo. · c94e4ee1
      Walter Doekes authored
      ........
      
      Merged revisions 405160 from http://svn.asterisk.org/svn/asterisk/branches/1.8
      ........
      
      Merged revisions 405161 from http://svn.asterisk.org/svn/asterisk/branches/11
      ........
      
      Merged revisions 405162 from http://svn.asterisk.org/svn/asterisk/branches/12
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@405163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      c94e4ee1
  2. Jan 08, 2014
  3. Jan 07, 2014
  4. Jan 06, 2014
  5. Jan 05, 2014
  6. Jan 04, 2014
  7. Jan 03, 2014
  8. Jan 02, 2014
  9. Dec 31, 2013
  10. Dec 30, 2013
  11. Dec 24, 2013
  12. Dec 23, 2013
  13. Dec 21, 2013
  14. Dec 20, 2013
Loading