Skip to content
Snippets Groups Projects
  1. Apr 14, 2015
    • Corey Farrell's avatar
      Build System: Create Makefile macro MOD_ADD_SOURCE. · 62508d68
      Corey Farrell authored
      This new macro allows a single line to add all additional
      sources to a module.  This helps prevent modules from
      missing steps, and makes future changes easier since
      they can be made in a single place.
      
      ASTERISK-24960 #close
      Reported by: Corey Farrell
      
      Change-Id: I38f12d8b72c5e7bb37a879b2fb51761a2855eb4b
      62508d68
  2. Feb 26, 2015
  3. Apr 15, 2013
    • David M. Lee's avatar
      Moved core logic from app_stasis to res_stasis · c599aca5
      David M. Lee authored
      After some discussion on asterisk-dev, it was decided that the bulk of
      the logic in app_stasis actually belongs in a resource module instead
      of the application module.
      
      This patch does that, leaves the app specific stuff in app_stasis, and
      fixes up everything else to be consistent with that change.
      
       * Renamed test_app_stasis to test_res_stasis
       * Renamed app_stasis.h to stasis_app.h
         * This is still stasis application support, even though it's no
           longer in an app_ module. The name should never have been tied to
           the type of module, anyways.
       * Now that json isn't a resource module anymore, moved the
         ast_channel_snapshot_to_json function to main/stasis_channels.c,
         where it makes more sense.
      
      Review: https://reviewboard.asterisk.org/r/2430/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@385742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      c599aca5
  4. Apr 08, 2013
    • David M. Lee's avatar
      Stasis application WebSocket support · a2a53cc3
      David M. Lee authored
      This is the API that binds the Stasis dialplan application to external
      Stasis applications. It also adds the beginnings of WebSocket
      application support.
      
      This module registers a dialplan function named Stasis, which is used
      to put a channel into the named Stasis app. As a channel enters and
      leaves the Stasis diaplan application, the Stasis app receives a
      'stasis-start' and 'stasis-end' events.
      
      Stasis apps register themselves using the stasis_app_register and
      stasis_app_unregister functions. Messages are sent to an application
      using stasis_app_send.
      
      Finally, Stasis apps control channels through the use of the
      stasis_app_control object, and the family of stasis_app_control_*
      functions.
      
      Other changes along for the ride are:
       * An ast_frame_dtor function that's RAII_VAR safe
       * Some common JSON encoders for name/number, timeval, and
         context/extension/priority
      
      Review: https://reviewboard.asterisk.org/r/2361/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@384879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      a2a53cc3
  5. Oct 14, 2012
  6. Apr 21, 2011
  7. Jun 18, 2009
  8. Jul 03, 2008
  9. Dec 17, 2007
    • Kevin P. Fleming's avatar
      Merged revisions 93180 via svnmerge from · 100ef27a
      Kevin P. Fleming authored
      https://origsvn.digium.com/svn/asterisk/branches/1.4
      
      ........
      r93180 | kpfleming | 2007-12-16 22:44:51 -0800 (Sun, 16 Dec 2007) | 23 lines
      
      In http://lists.digium.com/pipermail/asterisk-dev/2007-December/031145.html,
      rizzo brought up some issues related to the way that the metadata required
      for menuselect and the rest of the build system is extracted from the source
      files. Since I had a few hours to kill on an airplane today, I decided to
      improve this situation... so now the system caches the extracted metadata
      and uses it to build the menuselect 'tree' as much as it can. The result
      of this is that when a single source file is changed, only the metadata for
      that file needs to be extracted again, and the rest is used from the cache
      files. I also reduced the number of forked processes required to do the
      metadata extraction; it was actually possible to do most of what we needed
      in the Makefiles themselves without using any shell scripts at all! On my
      laptop, these changes resulted in an 80% decrease in the time required
      for the 'menuselect.makeopts' automatic check to occur after editing a single
      source file.
      
      While doing this work I also cleaned up a few minor things in the Makefiles,
      adding a check for 'awk' to the configure script and changed all remaining
      places we use 'grep' or 'awk' to use the ones found by the configure script,
      and changed the 'prep_tarball' script to build the menuselect metadata so
      that tarballs of Asterisk will include it and won't require the user to
      wait while it is extracted after unpacking.
      
      
      ........
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93184 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      100ef27a
  10. Dec 10, 2007
    • Luigi Rizzo's avatar
      Put into Makefile.moddir_rules the common instructions used to · 54908891
      Luigi Rizzo authored
      generate loadable and embedded module lists.
      
      Individual Makefiles now are a lot simpler, possibly as simple as this:
      
          -include $(ASTTOPDIR)/menuselect.makeopts $(ASTTOPDIR)/menuselect.makedeps
          MODULE_PREFIX=cdr_
          all: _all
          include $(ASTTOPDIR)/Makefile.moddir_rules
      
      and also more flexible because in a single directory we can combine
      various types of modules (app_, cdr_, func_, ... ) by simply
      listing them in the MODULE_PREFIX variable.
      
      The individual Makefiles can also create list of modules to be
      excluded by listing them in the variablel MODULE_EXCLUDE (see an
      example in channels/Makefile).
      
      With this change it becomes trivial to integrate a directory with
      locally created/modified sources into the main build.
      
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      54908891
  11. Dec 09, 2007
  12. Nov 20, 2007
  13. Mar 27, 2007
  14. Aug 26, 2006
  15. Aug 21, 2006
  16. Jul 15, 2006
  17. Jul 12, 2006
  18. Jul 07, 2006
  19. Jul 06, 2006
  20. Jun 25, 2006
  21. Jun 24, 2006
    • Kevin P. Fleming's avatar
      The Eurostar Commit! (it's amazing how much work you can get done on a 150... · e61d3d91
      Kevin P. Fleming authored
      The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
      
      support the new location for zaptel.h and tonezone.h
      use the dependency information output by menuselect to build Makefile rules for each module for header files and libraries
      combine the common rules into a top-level Makefile.rules file
      remove all (now) unnecessary stuff from subdir Makefiles
      change translator API so that the newpvt() callback returns an int instead of a pointer (it no longer allocates memory)
      alphabetize --with-<foo> options in configure script
      enhance Net-SNMP support in configure script to provide a --with-netsnmp option
      fix support for --with-pq so that if pg-config is not found when --with-pq is specified, an error will be generated
      add 'optional package' usage to modules now that menuselect can output it
      allow res_snmp to build by default, since the new loader changes coming soon will solve the function naming problem (and users can disable it via menuselect anyway)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      e61d3d91
    • Kevin P. Fleming's avatar
      search for Zaptel and libtonezone separately in the configure script · df0ba5ff
      Kevin P. Fleming authored
      various other minor fixes
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      df0ba5ff
  22. Jun 23, 2006
  23. Jun 22, 2006
  24. Jun 19, 2006
  25. Jun 16, 2006
  26. Jun 07, 2006
  27. Jun 05, 2006
  28. May 13, 2006
  29. Apr 30, 2006
  30. Apr 29, 2006
  31. Apr 24, 2006
  32. Apr 08, 2006
  33. Feb 23, 2006
  34. Feb 12, 2006
  35. Feb 11, 2006
Loading