Skip to content
Snippets Groups Projects
  1. Nov 09, 2015
  2. Nov 04, 2015
    • Joshua Colp's avatar
      f12ebe35
    • tcambron's avatar
      StatsD: Add res_statsd compatibility · 379c0410
      tcambron authored
      Added a new api to res_statsd.c to allow it to receive a
      character pointer for the value argument. This allows for a
      '+' and a '-' to easily be sent with the value.
      
      ASTERISK-25419
      Reported By: Ashley Sanders
      
      Change-Id: Id6bb53600943d27347d2bcae26c0bd5643567611
      379c0410
    • Matt Jordan's avatar
      main/dial: Protect access to the format_cap structure of the requesting channel · 9c293b51
      Matt Jordan authored
      When a dial attempt is made that involves a requesting channel, we previously
      were not:
      a) Protecting access to the native format capabilities structure on the
         requesting channel. That is inherently unsafe.
      b) Reference bumping the lifetime of the format capabilities structure.
      
      In both cases, something else could sneak in, blow away the format
      capabilities, and we'd be holding onto an invalid format_cap structure. When
      the newly created channel attempts to construct its format capabilities, things
      go poorly.
      
      This patch:
      a) Ensures that we get a reference to the native format capabilities while
         the requesting channel is locked
      b) Holds a reference to the native format capabilities during the creation
         of the new channel.
      
      ASTERISK-25522 #close
      
      Change-Id: I0bfb7ba8b9711f4158cbeaae96edf9626e88a54f
      9c293b51
    • Corey Farrell's avatar
      Fix cli display of build options. · b0bf1899
      Corey Farrell authored
      A previous commit reduced the AST_BUILDOPTS compiler define to
      only include options that affected ABI.  This included some options
      that were previously displayed by cli "core show settings".  This
      change corrects the CLI display while still restricting buildopts.h
      to ABI effecting options only.
      
      ASTERISK-25434 #close
      Reported by: Rusty Newton
      
      Change-Id: Id07af6bedd1d7d325878023e403fbd9d3607e325
      b0bf1899
    • Matt Jordan's avatar
    • Matt Jordan's avatar
  3. Nov 03, 2015
    • Matt Jordan's avatar
      pjsip_configuration: On delete, remove the persistent version of an endpoint · 63e02b45
      Matt Jordan authored
      When an endpoint is deleted (such as through an API), the persistent endpoint
      currently continues to lurk around. While this isn't harmful from a memory
      consumption perspective - as all persistent endpoints are reclaimed on
      shutdown - it does cause Stasis endpoint related operations to continue
      to believe that the endpoint may or may not exist.
      
      This patch causes the persistent endpoint related to a PJSIP endpoint to be
      destroyed if the PJSIP endpoint is deleted.
      
      Change-Id: I85ac707b4d5e6aad882ac275b0c2e2154affa5bb
      63e02b45
    • Matt Jordan's avatar
      res_pjsip/location: Destroy contact_status objects on contact deletion · d33a1682
      Matt Jordan authored
      The contact_status Sorcery objects are currently not destroyed when a contact
      is deleted. This causes the contact's last known RTT/status to be 'sticky'
      when the contact itself may no longer exist. This patch causes the
      contact_status objects associated with both dynamic and static contacts to
      be destroyed if the AoR holding those contacts is also destroyed (or via
      other paths where a contact may be deleted.)
      
      Change-Id: I7feec8b9278cac3c5263a4c0483f4a0f3b62426e
      d33a1682
    • Matt Jordan's avatar
      main/stasis_endpoints: Fix ContactStatusChange JSON for roundtrip_usec field · e26a06c1
      Matt Jordan authored
      The JSON packing for the ContactStatusChange event forgot to include the
      roundtrip_usec field. As a result, the field never showed up in any event,
      even when the data was available. This patch corrects that error by properly
      packing the JSON blob with the data.
      
      Change-Id: I8df80da659a44010afbd48f645967518ff5daa17
      e26a06c1
    • Corey Farrell's avatar
      chan_sip: Allow websockets to be disabled. · 40574a2e
      Corey Farrell authored
      This patch adds a new setting "websockets_enabled" to sip.conf.
      Setting this to false allows chan_sip to be used without causing
      conflicts with res_pjsip_transport_websocket.
      
      ASTERISK-24106 #close
      Reported by: Andrew Nagy
      
      Change-Id: I04fe8c4f2d57b2d7375e0e25826c91a72e93bea7
      40574a2e
  4. Nov 02, 2015
  5. Oct 31, 2015
    • Matt Jordan's avatar
      Makefile: Add a rule 'basic-pbx' that installs the Basic PBX configs · 80cf4960
      Matt Jordan authored
      This patch adds a rule for installing the Super Awesome Company based 'Basic
      PBX' configuration files. As part of adding this rule, a bit of the content
      that makes up installing the configuration files under the 'samples' target
      was refactored into a make subroutine for usage by additional later config
      make targets.
      
      Change-Id: I6c2e27906f73e2919a2b691da0be20ae70302404
      80cf4960
  6. Oct 29, 2015
  7. Oct 28, 2015
  8. Oct 26, 2015
  9. Oct 25, 2015
  10. Oct 24, 2015
    • George Joseph's avatar
      build: GCC 5.1.x catches some new const, array bounds and missing paren issues · 4328d320
      George Joseph authored
      Fixed 1 issue in each of the affected files.
      
      ASTERISK-25494 #close
      Reported-by: George Joseph
      Tested-by: George Joseph
      
      Change-Id: I818f149cd66a93b062df421e1c73c7942f5a4a77
      4328d320
    • George Joseph's avatar
      res_pjsip: Add "like" processing to pjsip list and show commands · a8aee0bb
      George Joseph authored
      Add the ability to filter output from pjsip list and show commands
      using the "like" predicate like chan_sip.
      
      For endpoints, aors, auths, registrations, identifyies and transports,
      the modification was a simple change of an ast_sorcery_retrieve_by_fields
      call to ast_sorcery_retrieve_by_regex.  For channels and contacts a
      little more work had to be done because neither of those objects are
      true sorcery objects.  That was just removing the non-matching object
      from the final container.  Of course, a little extra plumbing in the
      common pjsip_cli code was needed to parse the "like" and pass the regex
      to the get_container callbacks.
      
      Some of the get_container code in res_pjsip_endpoint_identifier was also
      refactored for simplicity.
      
      ASTERISK-25477 #close
      Reported by: Bryant Zimmerman
      Tested by: George Joseph
      
      Change-Id: I646d9326b778aac26bb3e2bcd7fa1346d24434f1
      a8aee0bb
  11. Oct 23, 2015
Loading