Skip to content
Snippets Groups Projects
  1. Sep 18, 2014
  2. Sep 15, 2014
  3. Aug 11, 2014
    • Matthew Jordan's avatar
      app_queue: Add RealTime support for queue rules · add46fd2
      Matthew Jordan authored
      This patch gives the optional ability to keep queue rules in RealTime. It is
      important to note that with this patch:
       (a) Queue rules in RealTime are only examined on module load/reload
       (b) Queue rules are loaded both from the queuerules.conf file as well as the
           RealTime backend
      To inform app_queue to examine RealTime for queue rules, a new setting has been
      added to queuerules.conf's general section "realtime_rules". RealTime queue
      rules will only be used when this setting is set to "yes".
      
      The schema for the database table supports a rule_name, time, min_penalty, and
      max_penalty columns. min_penalty and max_penalty can be relative, if a '-' or
      '+' literal is provided. Otherwise, the penalties are treated as constants.
      
      For example:
      rule_name, time, min_penalty, max_penalty
      'default', '10', '20', '30'
      'test2', '20', '30', '55'
      'test2', '25', '-11', '+1111'
      'test2', '400', '112', '333'
      'test3', '0', '4564', '46546'
      'test_rule', '40', '15', '50'
      
      which would result in :
      
      Rule: default
       - After 10 seconds, adjust QUEUE_MAX_PENALTY to 30 and adjust
         QUEUE_MIN_PENALTY to 20
      Rule: test2
       - After 20 seconds, adjust QUEUE_MAX_PENALTY to 55 and adjust
         QUEUE_MIN_PENALTY to 30
       - After 25 seconds, adjust QUEUE_MAX_PENALTY by 1111 and adjust
         QUEUE_MIN_PENALTY by -11
       - After 400 seconds, adjust QUEUE_MAX_PENALTY to 333 and adjust
         QUEUE_MIN_PENALTY to 112
      Rule: test3
       - After 0 seconds, adjust QUEUE_MAX_PENALTY to 46546 and adjust
         QUEUE_MIN_PENALTY to 4564
      Rule: test_rule
       - After 40 seconds, adjust QUEUE_MAX_PENALTY to 50 and adjust
         QUEUE_MIN_PENALTY to 15
      
      If you use RealTime, the queue rules will be always reloaded on a module
      reload, even if the underlying file did not change. With the option disabled,
      the rules will only be reloaded if the file was modified.
      
      Review: https://reviewboard.asterisk.org/r/3607/
      
      ASTERISK-23823 #close
      Reported by: Michael K
      patches:
        app_queue.c_realtime_trunk.patch uploaded by Michael K (License 6621)
      ........
      
      Merged revisions 420624 from http://svn.asterisk.org/svn/asterisk/branches/13
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@420625 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      add46fd2
  4. Aug 06, 2014
  5. Jul 16, 2014
  6. Jul 13, 2014
  7. Jul 03, 2014
  8. Jun 30, 2014
  9. Jun 27, 2014
  10. Jun 12, 2014
  11. Jun 09, 2014
  12. Jun 04, 2014
  13. May 28, 2014
  14. Apr 24, 2014
  15. Apr 11, 2014
  16. Mar 28, 2014
  17. Mar 26, 2014
  18. Mar 14, 2014
  19. Mar 06, 2014
  20. Mar 05, 2014
  21. Feb 18, 2014
  22. Feb 06, 2014
  23. Jan 31, 2014
  24. Jan 26, 2014
  25. Jan 15, 2014
    • Kinsey Moore's avatar
      PJSIP: Add Path header support · 7cbb6eab
      Kinsey Moore authored
      This adds Path support to chan_pjsip in res_pjsip_path.c with minimal
      additions in res_pjsip_registrar.c to store the path and additions in
      res_pjsip_outbound_registration.c to enable advertisement of path
      support to registrars and intervening proxies.
      
      Path information is stored on contacts and is enabled via Address of
      Record (AoRs) and Registration configuration sections.
      
      While adding path support, it became necessary to be able to add SIP
      supplements that handled messages outside of sessions, so a framework
      for handling these types of hooks was added in parallel to the
      already-existing session supplements and several senders of
      out-of-dialog requests were refactored as a result.
      
      (closes issue ASTERISK-21084)
      Review: https://reviewboard.asterisk.org/r/3050/
      ........
      
      Merged revisions 405565 from http://svn.asterisk.org/svn/asterisk/branches/12
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@405566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      7cbb6eab
  26. Dec 12, 2013
  27. Nov 22, 2013
  28. Oct 31, 2013
  29. Oct 27, 2013
  30. Oct 18, 2013
  31. Oct 04, 2013
  32. Aug 29, 2013
  33. Aug 28, 2013
    • Matthew Jordan's avatar
      Add database schema management using Alembic · 629f43d2
      Matthew Jordan authored
      This patch replaces contrib/realtime/ with a new setup for managing the
      database schema required for database integration with Asterisk.  In
      addition to initializing a database with the proper schema, alembic can do a
      database migration to assist with upgrading Asterisk in the future.
      Hopefully this helps make setting up and operating Asterisk with a database
      easier.
      
      With this the schema only needs to be maintained in one place instead of
      once per database.  The schemas I have added here have a bit of improvement
      over the examples that were there before (some added consistency and added
      some missing indexes).  Managing the schema in one place here also applies
      to all databases supported by SQLAlchemy.
      
      See contrib/ast-db-manage/README.md for more details.
      
      Review: https://reviewboard.asterisk.org/r/2731
      
      patch by Russell Bryant (license 6300)
      ........
      
      Merged revisions 397874 from http://svn.asterisk.org/svn/asterisk/branches/12
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      629f43d2
Loading