Skip to content
Snippets Groups Projects
  1. Feb 15, 2015
  2. Feb 10, 2015
    • George Joseph's avatar
      res_pjsip_config_wizard: Add ability to auto-create hints. · 49161d8d
      George Joseph authored
      Looking at the Super Awesome Company sample reminded me that creating hints is 
      just plain gruntwork.  So you can now have the pjsip conifg wizard auto-create 
      them for you.
      
      Specifying 'hint_exten' in the wizard will create 
      'exten => <hint_exten>,hint/PJSIP/<wizard_id>'
      in whatever is specified for 'hint_context'.
      
      Specifying 'hint_application' in the wizard will create
      'exten => <hint_exten>,1,<hint_application>'
      in whatever is specified for 'hint_context'.
      
      The default for 'hint_context' is the endpoint's context.
      There's no default for 'hint_application'.  If not specified, no app is added.
      There's no default for 'hint_exten'.  If not specified, neither the hint itself 
      nor the application will be created.
      
      Some may think this is the slippery slope to users.conf but hints are a basic 
      necessity for phones unlike voicemail, manager, etc that users.conf creates.
      
      Tested-by: George Joseph
      Review: https://reviewboard.asterisk.org/r/4383/
      ........
      
      Merged revisions 431643 from http://svn.asterisk.org/svn/asterisk/branches/13
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@431644 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      49161d8d
  3. Jan 30, 2015
  4. Jan 20, 2015
  5. Jan 16, 2015
  6. Jan 12, 2015
  7. Jan 09, 2015
  8. Dec 24, 2014
  9. Dec 22, 2014
    • Matthew Jordan's avatar
      app_confbridge: Add the ability to pass options/command to MixMonitor · b79a4a46
      Matthew Jordan authored
      This patch adds the ability to pass options and a command to MixMontor when
      recording a conference using ConfBridge.
      
      New options are -
      
      * record_options: Options to MixMontor, eg: m(), W() etc.
      * record_command: The command to execute when recording is over.
      * record_file_timestamp: Append the start time to the file name.
      
      These options can also be used with the CONFBRIDGE function, e.g.,
      Set(CONFBRIDGE(bridge,record_command)=/path/to/command ^{MIXMONITOR_FILENAME}))
      
      Review: https://reviewboard.asterisk.org/r/4023
      
      ASTERISK-24351 #close
      Reported by: Gareth Palmer
      patches:
        record_command-428838.patch uploaded by Gareth Palmer (License 5169)
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@429934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      b79a4a46
  10. Dec 15, 2014
  11. Dec 01, 2014
    • Matthew Jordan's avatar
      main/stasis: Allow subscriptions to use a threadpool for message delivery · 1106e8fd
      Matthew Jordan authored
      Prior to this patch, all Stasis subscriptions would receive a dedicated
      thread for servicing published messages. In contrast, prior to r400178
      (see review https://reviewboard.asterisk.org/r/2881/), the subscriptions
      shared a thread pool. It was discovered during some initial work on Stasis
      that, for a low subscription count with high message throughput, the
      threadpool was not as performant as simply having a dedicated thread per
      subscriber.
      
      For situations where a subscriber receives a substantial number of messages
      and is always present, the model of having a dedicated thread per subscriber
      makes sense. While we still have plenty of subscriptions that would follow
      this model, e.g., AMI, CDRs, CEL, etc., there are plenty that also fall into
      the following two categories:
      * Large number of subscriptions, specifically those tied to endpoints/peers.
      * Low number of messages. Some subscriptions exist specifically to coordinate
        a single message - the subscription is created, a message is published, the
        delivery is synchronized, and the subscription is destroyed.
      In both of the latter two cases, creating a dedicated thread is wasteful (and
      in the case of a large number of peers/endpoints, harmful). In those cases,
      having shared delivery threads is far more performant.
      
      This patch adds the ability of a subscriber to Stasis to choose whether or not
      their messages are dispatched on a dedicated thread or on a threadpool. The
      threadpool is configurable through stasis.conf.
      
      Review: https://reviewboard.asterisk.org/r/4193
      
      ASTERISK-24533 #close
      Reported by: xrobau
      Tested by: xrobau
      ........
      
      Merged revisions 428681 from http://svn.asterisk.org/svn/asterisk/branches/12
      ........
      
      Merged revisions 428687 from http://svn.asterisk.org/svn/asterisk/branches/13
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@428688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      1106e8fd
  12. Nov 21, 2014
  13. Nov 19, 2014
  14. Nov 17, 2014
  15. Nov 15, 2014
  16. Nov 14, 2014
  17. Nov 05, 2014
  18. Nov 04, 2014
  19. Nov 03, 2014
  20. Oct 31, 2014
  21. Oct 28, 2014
  22. Oct 17, 2014
  23. Oct 09, 2014
  24. Oct 03, 2014
  25. Oct 02, 2014
  26. Oct 01, 2014
  27. Sep 25, 2014
  28. Sep 14, 2014
  29. Sep 08, 2014
  30. Aug 28, 2014
  31. 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
  32. Aug 08, 2014
Loading