Skip to content
Snippets Groups Projects
  1. Oct 14, 2019
  2. Oct 11, 2019
  3. Oct 10, 2019
  4. Oct 08, 2019
  5. Oct 07, 2019
    • Kevin Harwell's avatar
      res_pjsip_mwi: use an ao2_global object for mwi containers · 12dbeb69
      Kevin Harwell authored
      On shutdown it's possible for the unsolicited mwi container to be freed before
      other dependent threads are done using it. This patch ensures this can no
      longer happen by wrapping the container in an ao2_global object. The solicited
      container was also changed too.
      
      ASTERISK-28552
      
      Change-Id: I8f812286dc19a34916acacd71ce2ec26e1042047
      12dbeb69
    • Kevin Harwell's avatar
      serializer: move/add asterisk serializer pool functionality · c0efe19c
      Kevin Harwell authored
      Serializer pools have previously existed in Asterisk. However, for the most
      part the code has been duplicated across modules. This patch abstracts the
      code into an 'ast_serializer_pool' object. As well the code is now centralized
      in serializer.c/h.
      
      In addition serializer pools can now optionally be monitored by a shutdown
      group. This will prevent the pool from being destroyed until all serializers
      have completed.
      
      Change-Id: Ib1e906144b90ffd4d5ed9826f0b719ca9c6d2971
      c0efe19c
    • Kevin Harwell's avatar
      res_pjsip/res_pjsip_mwi: use centralized serializer pools · 2970a13f
      Kevin Harwell authored
      Both res_pjsip and res_pjsip_mwi made use of serializer pools. However, they
      both implemented their own serializer pool functionality that was pretty much
      identical in each of the source files. This patch removes the duplicated code,
      and uses the new 'ast_serializer_pool' object instead.
      
      Additionally res_pjsip_mwi enables a shutdown group on the pool since if the
      timing was right the module could be unloaded while taskprocessor threads still
      needed to execute, thus causing a crash.
      
      Change-Id: I959b0805ad024585bbb6276593118be34fbf6e1d
      2970a13f
    • Friendly Automation's avatar
  6. Oct 04, 2019
  7. Oct 01, 2019
  8. Sep 27, 2019
  9. Sep 26, 2019
  10. Sep 25, 2019
  11. Sep 24, 2019
    • George Joseph's avatar
    • Corey Farrell's avatar
      stasis_state: Create internal stasis_state_proxy object. · f7045cef
      Corey Farrell authored
      This improves the way which stasis_state reference counting works.
      Since manager->states holds onto the proxy object instead of the real
      object this allows stasis_state objects to be freed when appropriate
      without use of a special state_remove function.  Additionally each
      distinct eid associated with the state holds a reference to the state to
      prevent early release and potentially allow easier debug of leaks.
      
      Change-Id: I400e0db4b9afa3d5cb4ac7dad60907897e73f9a9
      f7045cef
    • Kevin Harwell's avatar
      res_pjsip_pubsub: change warning to debug · 67ba62f4
      Kevin Harwell authored
      The following message:
      
      "Subscription request from endpoint <blah> rejected. Expiration of 0 is invalid"
      
      Would sometimes spam the log with warnings if Asterisk restarted and a bunch
      of clients sent unsubscribes. This patch changes it from a warning to a debug
      message.
      
      Change-Id: I841ec42f65559f3135e037df0e55f89b6447a467
      67ba62f4
Loading