Skip to content
Snippets Groups Projects
  1. Nov 15, 2021
    • Josh Soref's avatar
      main: Spelling fixes · 4019a93e
      Josh Soref authored
      Correct typos of the following word families:
      
      analysis
      nuisance
      converting
      although
      transaction
      desctitle
      acquire
      update
      evaluate
      thousand
      this
      dissolved
      management
      integrity
      reconstructed
      decrement
      further on
      irrelevant
      currently
      constancy
      anyway
      unconstrained
      featuregroups
      right
      larger
      evaluated
      encumbered
      languages
      digits
      authoritative
      framing
      blindxfer
      tolerate
      traverser
      exclamation
      perform
      permissions
      rearrangement
      performing
      processing
      declension
      happily
      duplicate
      compound
      hundred
      returns
      elicit
      allocate
      actually
      paths
      inheritance
      atxferdropcall
      earlier
      synchronization
      multiplier
      acknowledge
      across
      against
      thousands
      joyous
      manipulators
      guaranteed
      emulating
      soundfile
      
      ASTERISK-29714
      
      Change-Id: I926ba4b11e9f6dd3fdd93170ab1f9b997910be70
      4019a93e
  2. Oct 19, 2018
    • Corey Farrell's avatar
      astobj2: Eliminate legacy container allocation macros. · 687ab7ae
      Corey Farrell authored
      These macros have been documented as legacy for a long time but are
      still used in new code because they exist.  Remove all references to:
      * ao2_container_alloc_options
      * ao2_t_container_alloc_options
      * ao2_t_container_alloc
      
      These macro's are also removed.  Only ao2_container_alloc remains due to
      it's use in over 100 places.
      
      Change-Id: I1a26258b5bf3deb081aaeed11a0baa175c933c7a
      687ab7ae
  3. Mar 14, 2018
    • Corey Farrell's avatar
      loader: Convert reload_classes to built-in modules. · 572a508e
      Corey Farrell authored
      * acl (named_acl.c)
      * cdr
      * cel
      * ccss
      * dnsmgr
      * dsp
      * enum
      * extconfig (config.c)
      * features
      * http
      * indications
      * logger
      * manager
      * plc
      * sounds
      * udptl
      
      These modules are now loaded at appropriate time by the module loader.
      Unlike loadable modules these use AST_MODULE_LOAD_FAILURE on error so
      the module loader will abort startup on failure of these modules.
      
      Some of these modules are still initialized or shutdown from outside the
      module loader.  logger.c is initialized very early and shutdown very
      late, manager.c is initialized by the module loader but is shutdown by
      the Asterisk core (too much uses it without holding references).
      
      Change-Id: I371a9a45064f20026c492623ea8062d02a1ab97f
      572a508e
  4. Mar 13, 2018
    • Corey Farrell's avatar
      core: Remove non-critical cleanup from startup aborts. · fee929c8
      Corey Farrell authored
      When built-in components of Asterisk fail to start they cause the
      Asterisk startup to abort.  In these cases only the most critical
      cleanup should be performed - closing databases and terminating
      proceses.  These cleanups are registered using ast_register_atexit, all
      other cleanups should not be run during startup abort.
      
      The main reason for this change is that these cleanup procedures are
      untestable from the partially initialized states, if they fail it could
      prevent us from ever running the critical cleanup with ast_run_atexits.
      
      Create separate initialization for dns_core.c to be run unconditionally
      during startup instead of being initialized by the first dns resolver to
      be registered. This ensures that 'sched' is initialized before it can be
      potentially used.
      
      Replace ast_register_atexit with ast_register_cleanup in media_cache.c.
      There is no reason for this cleanup to happen unconditionally.
      
      Change-Id: Iecc2df98008b21509925ff16740bd5fa29527db3
      fee929c8
  5. Dec 15, 2017
    • Corey Farrell's avatar
      aco: Minimize use of regex. · bf2d3593
      Corey Farrell authored
      Remove nearly all use of regex from ACO users.  Still remaining:
      * app_confbridge has a legitamate use of option name regex.
      * ast_sorcery_object_fields_register is implemented with regex, all
        callers use simple prefix based regex.  I haven't decided the best
        way to fix this in both 13/15 and master.
      
      Change-Id: Ib5ed478218d8a661ace4d2eaaea98b59a897974b
      bf2d3593
  6. Oct 12, 2017
  7. Oct 19, 2016
  8. Jan 15, 2016
    • Kevin Harwell's avatar
      bridge_basic: don't cache xferfailsound during an attended transfer · a5b38b60
      Kevin Harwell authored
      The xferfailsound was read from the channel at the beginning of the transfer,
      and that value is "cached" for the duration of the transfer. Therefore, changing
      the xferfailsound on the channel using the FEATURE() dialplan function does
      nothing once the transfer is under way.
      
      This makes it so the transfer code instead gets the xferfailsound configuration
      options from the channel when it is actually going to be used.
      
      This patch also fixes a potential memory leak of the props object as well as
      making sure the condition variable gets initialized before being destroyed.
      
      ASTERISK-25696 #close
      
      Change-Id: Ic726b0f54ef588bd9c9c67f4b0e4d787934f85e4
      a5b38b60
  9. Nov 17, 2014
  10. Jul 18, 2014
  11. Apr 15, 2014
  12. Mar 27, 2014
  13. Oct 01, 2013
  14. Sep 21, 2013
  15. Sep 18, 2013
  16. Sep 17, 2013
  17. Sep 06, 2013
  18. Aug 30, 2013
  19. Aug 23, 2013
    • Matthew Jordan's avatar
      Update config framework/sorcery with types/options without documentation · e31bd332
      Matthew Jordan authored
      There are times when a configuration option should not have documentation.
      
      1. Some options are registered with a particular object merely as a warning to
         users. These options aren't even really 'deprecated' - which has its own
         separate API call - they are actually provided by a different configuration
         file. The options are merely registered so that the user gets a warning that
         a different configuration file provides the item.
      
      2. Some object types - most notably some used by modules that use sorcery - are
         completely internal and should never be shown to the user.
      
      3. Sorcery itself has several 'hidden' fields that should never be shown to a
         user.
      
      This patch updates the configuration framework and sorcery with additional API
      calls that allow a module to register types as internal and options as not
      requiring documentation. This bypasses the XML documentation checking.
      
      This patch also re-enables the strict XML documentation checking in trunk, as
      well as updates some documentation that was missing.
      
      Review: https://reviewboard.asterisk.org/r/2785/
      
      (closes issue ASTERISK-22359)
      Reported by: Matt Jordan
      
      (closes issue ASTERISK-22112)
      Reported by: Rusty Newton
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      e31bd332
  20. Jul 23, 2013
  21. Jul 01, 2013
  22. Jun 24, 2013
  23. Jun 13, 2013
  24. Jun 10, 2013
    • Mark Michelson's avatar
      Temporary fix for people using sample features.conf from previous Asterisk versions. · ba5c97ef
      Mark Michelson authored
      People who use the features.conf.sample file from Asterisk 11 and before in trunk were
      given a rude awakening when features configuration changes were made. Because it uses the
      config framework and the config framework is strict about what is accepted and what isn't,
      people that had parking options configured found that Asterisk no longer started. This is
      because parking options are currently handled in res_parking.conf instead of features.conf.
      
      This fix seeks to create a temporary band-aid fix for the problem, but having parking options
      from the general section be passed to a handler that will simply print that the option is no
      longer supported. This will not cause Asterisk to exit.
      
      The fix only applies to options in the general section. There are two main reasons for this:
      
      1) The sample features.conf file only has parking options in the general section. There are no
      configured parking lots. Therefore it's not quite as "urgent" to get the parking lot parsing
      fixed.
      
      2) The plan is to move parking configuration back from res_parking.conf to features.conf. When
      that happens, the parking lots will also be addressed at that time.
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@391269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      ba5c97ef
  25. Jun 07, 2013
  26. Jun 06, 2013
Loading