Skip to content
Snippets Groups Projects
  1. Mar 31, 2017
    • Corey Farrell's avatar
      Forward declare 'struct ast_json' in asterisk.h · f9695dc0
      Corey Farrell authored
      The ast_json structure is used in many Asterisk headers and is often the
      only part of json.h used.  This adds a forward declaration to asterisk.h
      and removes the include of json.h from many headers.  The declaration
      has been left in endpoints.h and stasis.h to avoid problems with source
      files that use ast_json functions without directly including json.h.
      
      ari.h continues to include json.h as it uses enum
      ast_json_encoding_format.
      
      Change-Id: Id766aabce6bed56626d27e8d29f559b5e687b769
      f9695dc0
  2. Mar 30, 2017
  3. Mar 29, 2017
  4. Mar 28, 2017
  5. Mar 27, 2017
    • Richard Mudgett's avatar
      Add DTLS sanity check. · 3d8899ba
      Richard Mudgett authored
      Change-Id: Ib32612cf6c7ce9213a11b9cba82f630f8cd3564b
      3d8899ba
    • Joshua Colp's avatar
      channel: Remove old epoll support and fixed max number of file descriptors. · 5d938045
      Joshua Colp authored
      This change removes the old epoll support which has not been used or
      maintained in quite some time.
      
      The fixed number of file descriptors on a channel has also been removed.
      File descriptors are now contained in a growable vector. This can be
      used like before by specifying a specific position to store a file
      descriptor at or using a new API call, ast_channel_fd_add, which adds
      a file descriptor to the channel and returns its position.
      
      Tests have been added which cover the growing behavior of the vector
      and the new API call.
      
      ASTERISK-26885
      
      Change-Id: I1a754b506c009b83dfdeeb08c2d2815db30ef928
      5d938045
    • Sean Bright's avatar
      res_musiconhold: Document the 'format' option · fd204d5c
      Sean Bright authored
      ASTERISK-26086 #close
      Reported by: Jens Bürger
      
      Change-Id: I6aab666c0bf01fd0c64d7a5bcb22fa7f5d41335e
      fd204d5c
    • Sean Bright's avatar
      core: Remove embedded module support · cf6a6226
      Sean Bright authored
      This has not worked for some time and is no longer actively maintained.
      
      Change-Id: I5110b0db69c152761b58fa025cb0a53b0e544d99
      cf6a6226
    • Sean Bright's avatar
      res_musiconhold: Don't chdir() when scanning MoH files · d22c6789
      Sean Bright authored
      There doesn't appear to be any reason that we are chdir'ing in
      moh_scan_files, and in the event of an Asterisk crash, the core files
      may not get written because we have changed into a read-only directory.
      
      ASTERISK-23996 #close
      Reported by: Walter Doekes
      
      Change-Id: Iac806dce01b3335963fbd62d4b4da9a65c614354
      d22c6789
  6. Mar 25, 2017
  7. Mar 24, 2017
  8. Mar 23, 2017
    • Kevin Harwell's avatar
      AMI: Updated version · d2f2cdf4
      Kevin Harwell authored
      Updated the AMI version for the following reason (see CHANGES for more details):
      
      The 'PJSIPShowEndpoint' command's response event of 'IdentifyDetail' now
      contains a new optional parameter, 'MatchHeader'.
      
      Change-Id: Ie206913ef1dcfa6a2ebe3282da2387e52d6f05b9
      d2f2cdf4
    • Kevin Harwell's avatar
      pjproject_bundled: raise timeout value used when downloading · 12dde3b5
      Kevin Harwell authored
      After configuring Asterisk with '--with-pjproject-bundled' the configure/build
      process attempts to download pjproject from its download site. Currently, a
      timeout of 10 seconds is used that will stop the download process if pjproject
      has not been fully downloaded in that time. For some systems this was not enough
      time and the process was timing out too early.
      
      This patch raises the download timeout value to '60'. Also, this patch fixes
      another bug where the DOWNLOAD_TIMEOUT variable was not being properly exported
      due to a naming error. DOWNLOAD_MAX_TIMEOUT is now properly renamed to
      DOWNLOAD_TIMEOUT.
      
      ASTERISK-26814 #close
      
      Change-Id: Ia56e4e8a3d39db76bc8a1852b2cf07ec10b39842
      12dde3b5
    • Sean Bright's avatar
      res_xmpp: Correct implementation of JABBER_STATUS & JabberStatus · 98a88e9f
      Sean Bright authored
      The documentation for JABBER_STATUS (and the deprecated JabberStatus
      app) indicate that a return value of 7 indicates that the specified
      buddy was not in the roster. It also indicates that you can specify a
      "bare" JID (one without a resource). Unfortunately the actual behavior
      does not match the documented behavior.
      
      Assuming that our roster includes the buddy online and available
      "valid@example.org/Valid" and does *not* include the buddy
      "invalid@example.org", the JABBER_STATUS() function returns the
      following before this patch:
      
      +------------------------------+------------+--------------------------+
      | Buddy                        | Status     | Result                   |
      +------------------------------+------------+--------------------------+
      | valid@example.org            |  Online    |  7 (Not in roster)       |
      | valid@example.org/Valid      |  Online    |  1 (Online)              |
      | valid@example.org/Invalid    |  N/A       |  7 (Not in roster)       |
      | invalid@example.org          |  N/A       |  Error logged, no return |
      | invalid@example.org/Valid    |  N/A       |  Error logged, no return |
      +------------------------------+------------+--------------------------+
      
      And after this patch:
      
      +------------------------------+------------+--------------------------+
      | Buddy                        | Status     | Result                   |
      +------------------------------+------------+--------------------------+
      | valid@example.org            |  Online    |  1 (Online)              |
      | valid@example.org/Valid      |  Online    |  1 (Online)              |
      | valid@example.org/Invalid    |  N/A       |  6 (Offline)             |
      | invalid@example.org          |  N/A       |  7 (Not in roster)       |
      | invalid@example.org/Valid    |  N/A       |  7 (Not in roster)       |
      +------------------------------+------------+--------------------------+
      
      This brings the behavior in line with the documentation.
      
      ASTERISK-23510 #close
      Reported by: Anthony Critelli
      
      Change-Id: I9c3241035363ef4a6bdc21fabfd8ffcd9ec657bf
      98a88e9f
    • Sean Bright's avatar
      res_xmpp: Try to provide useful errors messages from OpenSSL · be94105d
      Sean Bright authored
      If any errors occur during the TLS connection setup, we currently dump a
      fairly generic error message. So instead we try to pull in something
      useful from OpenSSL to report instead.
      
      ASTERISK-24712
      Reported by: Matthias Urlichs
      
      Change-Id: I288500991a9681f447d92913b11fedaf426087f4
      be94105d
    • Sean Bright's avatar
      res_xmpp: Fix ref counting issue · ee81ee1f
      Sean Bright authored
      The only remaining reference to the endpoint is in the endpoints
      container, and because it is unlinked in ast_endpoint_shutdown, we don't
      have to explicitly cleanup the endpoint ourselves.
      
      Change-Id: I912a2692e52d3e2ed445b32d8ae3f9004bc2f2e8
      ee81ee1f
Loading