Skip to content
Snippets Groups Projects
  1. Oct 19, 2018
  2. Oct 17, 2018
  3. Oct 16, 2018
  4. Oct 15, 2018
    • Corey Farrell's avatar
      refdebug: Create refstats.py script. · 79677ead
      Corey Farrell authored
      This allows us to process AO2 statistics for total objects, memory
      usage, memory overhead and lock usage.
      
      * Install refstats.py and reflocks.py into the Asterisk scripts folder.
      * Enable support for reflocks.py without DEBUG_THREADS.
      
      Steal a bit from the ao2 magic to flag when an object lock is used.
      Remove 'lockobj' from reflocks.py since we can now record 'used' or
      'unused' for those objects.
      
      Add comments to explain thread safety of the 'struct __priv_data'
      bitfields.
      
      Change-Id: I84e9d679cc86d772cc97c888d9d856a17e0d3a4a
      79677ead
    • Alexei Gradinari's avatar
      res_pjsip: set callerid_tag to empty string · aae5bdc2
      Alexei Gradinari authored
      This patch sets the callerid_tag to empty string by default.
      
      If the callerid_tag is set to NULL then the tag does not
      become part of a connected line update.
      For example:
      Alice's tag is "Alice".
      Bob's tag is empty.
      Charlie's tag is "Charlie".
      Alice calls Bob and then does attended transfer to Charlie.
      When Alice hangs up the CONNECTEDLINE(tag) is "Alice"
      on the interception routine on the Charlie's channel, but should be empty.
      
      Ths patch also fix memory leaks if there are more then one options
      "callerid", "callerid_tag", "voicemail_extension" and "contact_user"
      in the pjsip.conf endpoint definition.
      
      Change-Id: I86ba455c4677ca8d516d9a04ce7fb4d24dd576e4
      aae5bdc2
    • George Joseph's avatar
      5ff42a2b
  5. Oct 13, 2018
    • Corey Farrell's avatar
      threadpool: Eliminate pointless AO2 usage. · f06de690
      Corey Farrell authored
      thread_worker_pair, set_size_data and task_pushed_data structures are
      allocated with AO2 objects, passed to a taskprocessor, then released.
      They never have multiple owners or use locking so AO2 only adds
      overhead.
      
      Change-Id: I2204d2615d9d952670fcb48e0a9c0dd1a6ba5036
      f06de690
  6. Oct 12, 2018
    • Corey Farrell's avatar
      main/astfd: Fix GCC8 format-truncation warning. · 675d8a46
      Corey Farrell authored
      The field used to store call arguments was not large enough to hold the
      arguments string that can be constructed for 'open'.  Expand it to
      prevent this warning/error.
      
      Change-Id: I514927f256481bc84df10a51b19d5b5fb1bc387e
      675d8a46
  7. Oct 10, 2018
  8. Oct 09, 2018
    • Richard Mudgett's avatar
      res_statsd.c: Fix returned reload status. · 682f96cb
      Richard Mudgett authored
      The return status when there was no change in statsd.conf was incorrect.
      This resulted in the wrong status message on the CLI when reloading the
      module.
      
      * Fixed cleanup on initial load if initializing statsd failed.
      
      Change-Id: Id24fae75f1a7ff584a444a5680e867d989792481
      682f96cb
  9. Oct 05, 2018
  10. Oct 04, 2018
  11. Oct 03, 2018
Loading