Skip to content
Snippets Groups Projects
  1. Dec 13, 2021
  2. Nov 18, 2021
  3. Nov 15, 2021
    • Josh Soref's avatar
      res: Spelling fixes · dcf492e7
      Josh Soref authored
      Correct typos of the following word families:
      
      identifying
      structures
      actcount
      initializer
      attributes
      statement
      enough
      locking
      declaration
      userevent
      provides
      unregister
      session
      execute
      searches
      verification
      suppressed
      prepared
      passwords
      recipients
      event
      because
      brief
      unidentified
      redundancy
      character
      the
      module
      reload
      operation
      backslashes
      accurate
      incorrect
      collision
      initializing
      instance
      interpreted
      buddies
      omitted
      manually
      requires
      queries
      generator
      scheduler
      configuration has
      owner
      resource
      performed
      masquerade
      apparently
      routable
      
      ASTERISK-29714
      
      Change-Id: I88485116d2c59b776aa2e1f8b4ce8239a21decda
      dcf492e7
  4. Mar 01, 2018
    • Richard Mudgett's avatar
      core: Remove ABI effects of MALLOC_DEBUG. · c711e407
      Richard Mudgett authored
      This allows asterisk to be compiled with MALLOC_DEBUG to load modules
      built without MALLOC_DEBUG.  Now pre-compiled third-party modules will
      still work regardless of MALLOC_DEBUG being enabled or not.
      
      Change-Id: Ic07ad80b2c2df894db984cf27b16a69383ce0e10
      c711e407
  5. Jan 13, 2018
    • Corey Farrell's avatar
      res_stasis_recording: Allow symbolic links in configured recordings dir. · de7f2a6c
      Corey Farrell authored
      If any component of ast_config_AST_RECORDING_DIR is a symbolic link we
      would incorrectly assume the ARI user was trying to escape the recording
      path.  Create additional check to check the recording directory's
      realpath, only deny access if both do not match.
      
      This is needed by the testsuite when run by 'run-local'.
      
      Change-Id: I9145e841865edadcb5f75cead3471ad06bbb56c0
      de7f2a6c
  6. May 30, 2017
  7. Nov 04, 2016
    • Kevin Harwell's avatar
      stasis_recording/stored: remove calls to deprecated readdir_r function. · 70d5f90e
      Kevin Harwell authored
      The readdir_r function has been deprecated and should no longer be used. This
      patch removes the readdir_r dependency (replaced it with readdir) and also moves
      the directory search code to a more centralized spot (file.c)
      
      Also removed a strict dependency on the dirent structure's d_type field as it
      is not portable. The code now checks to see if the value is available. If so,
      it tries to use it, but defaults back to using the stats function if necessary.
      
      Lastly, for most implementations of readdir it *should* be thread-safe to make
      concurrent calls to it as long as different directory streams are specified.
      glibc falls into this category. However, since it is possible that there exist
      some implementations that are not safe, locking has been added for those other
      than glibc.
      
      ASTERISK-26412
      ASTERISK-26509 #close
      
      Change-Id: Id8f54689b1e2873e82a09d0d0d2faf41964e80ba
      70d5f90e
  8. Oct 27, 2016
    • Corey Farrell's avatar
      Remove ASTERISK_REGISTER_FILE. · a6e5bae3
      Corey Farrell authored
      ASTERISK_REGISTER_FILE no longer has any purpose so this commit removes
      all traces of it.
      
      Previously exported symbols removed:
      * __ast_register_file
      * __ast_unregister_file
      * ast_complete_source_filename
      
      This also removes the mtx_prof static variable that was declared when
      MTX_PROFILE was enabled.  This variable was only used in lock.c so it
      is now initialized in that file only.
      
      ASTERISK-26480 #close
      
      Change-Id: I1074af07d71f9e159c48ef36631aa432c86f9966
      a6e5bae3
  9. May 20, 2016
    • Matt Jordan's avatar
      ARI: Add the ability to download the media associated with a stored recording · e773e3a9
      Matt Jordan authored
      This patch adds a new feature to ARI that allows a client to download
      the media associated with a stored recording. The new route is
      /recordings/stored/{name}/file, and transmits the underlying binary file
      using Asterisk's HTTP server's underlying file transfer facilities.
      
      Because this REST route returns non-JSON, a few small enhancements had
      to be made to the Python Swagger generation code, as well as the
      mustache templates that generate the ARI bindings.
      
      ASTERISK-26042 #close
      
      Change-Id: I49ec5c4afdec30bb665d9c977ab423b5387e0181
      e773e3a9
  10. Apr 13, 2015
    • Matt Jordan's avatar
      git migration: Refactor the ASTERISK_FILE_VERSION macro · 4a582616
      Matt Jordan authored
      Git does not support the ability to replace a token with a version
      string during check-in. While it does have support for replacing a
      token on clone, this is somewhat sub-optimal: the token is replaced
      with the object hash, which is not particularly easy for human
      consumption. What's more, in practice, the source file version was often
      not terribly useful. Generally, when triaging bugs, the overall version
      of Asterisk is far more useful than an individual SVN version of a file. As a
      result, this patch removes Asterisk's support for showing source file
      versions.
      
      Specifically, it does the following:
      
      * Rename ASTERISK_FILE_VERSION macro to ASTERISK_REGISTER_FILE, and
        remove passing the version in with the macro. Other facilities
        than 'core show file version' make use of the file names, such as
        setting a debug level only on a specific file. As such, the act of
        registering source files with the Asterisk core still has use. The
        macro rename now reflects the new macro purpose.
      
      * main/asterisk:
        - Refactor the file_version structure to reflect that it no longer
          tracks a version field.
        - Remove the "core show file version" CLI command. Without the file
          version, it is no longer useful.
        - Remove the ast_file_version_find function. The file version is no
          longer tracked.
        - Rename ast_register_file_version/ast_unregister_file_version to
          ast_register_file/ast_unregister_file, respectively.
      
      * main/manager: Remove value from the Version key of the ModuleCheck
        Action. The actual key itself has not been removed, as doing so would
        absolutely constitute a backwards incompatible change. However, since
        the file version is no longer tracked, there is no need to attempt to
        include it in the Version key.
      
      * UPGRADE: Add notes for:
        - Modification to the ModuleCheck AMI Action
        - Removal of the "core show file version" CLI command
      
      Change-Id: I6cf0ff280e1668bf4957dc21f32a5ff43444a40e
      4a582616
  11. Apr 07, 2015
  12. Jul 18, 2014
  13. Apr 15, 2014
  14. Oct 02, 2013
  15. Aug 30, 2013
    • David M. Lee's avatar
      ARI: Implement /recordings/stored API's · 7f547872
      David M. Lee authored
      his patch implements the ARI API's for stored recordings. While the
      original task only specified deleting a recording, it was simple
      enough to implement the GET for all recordings, and for an individual
      recording.
      
      The recording playback operation was modified to use the same code for
      accessing the recording as the REST API, so that they will behave
      consistently.
      
      There were several problems with the api-docs that were also fixed,
      bringing the ARI spec in line with the implementation. There were some
      'wishful thinking' fields on the stored recording model (duration and
      timestamp) that were removed, because I ended up not implementing a
      metadata file to go along with the recording to store such information.
      
      The GET /recordings/live operation was removed, since it's not really
      that useful to get a list of all recordings that are currently going
      on in the system. (At least, if we did that, we'd probably want to
      also list all of the current playbacks. Which seems weird.)
      
      (closes issue ASTERISK-21582)
      Review: https://reviewboard.asterisk.org/r/2693/
      ........
      
      Merged revisions 397985 from http://svn.asterisk.org/svn/asterisk/branches/12
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      7f547872
Loading