Skip to content
Snippets Groups Projects
  1. Jul 22, 2014
  2. Jul 21, 2014
  3. Jul 20, 2014
  4. Jul 13, 2014
  5. Jul 04, 2014
    • Matthew Jordan's avatar
      Remove many deprecated modules · 97834718
      Matthew Jordan authored
      Billing records are fair,
      To get paid is quite bright,
      You should really use ODBC;
      Good-bye cdr_sqlite.
      
      Microsoft did once push H.323,
      Hell, we all remember NetMeeting.
      But try to compile chan_h323 now
      And you will take quite a beating.
      
      The XMPP and SIP war was fierce,
      And in the distant fray
      Was birthed res_jabber/chan_jingle;
      But neither to stay.
      
      For everyone did care and chase what Google professed.
      "Free Internet Calling" was what devotees cried,
      But Google did change the specs so often
      That the developers were happy the day chan_gtalk died.
      
      And then there was that odd application
      Dedicated to the Polish tongue.
      app_saycountpl was subsumed by Say;
      One could say its bell was rung.
      
      To read and parse a file from the dialplan
      You could (I guess) use an application.
      app_readfile did fill that purpose, but I think
      A function is perhaps better in its creation.
      
      Barging is rude, I'm not sure why we do it.
      Inwardly, the caller will probably sigh.
      But if you really must do it,
      Don't use app_dahdibarge, use ChanSpy.
      
      We all despise the sound of tinny robots
      It makes our queues so cold.
      To control such an abomination
      It's better to not use Wait/SetMusicOnHold.
      
      It's often nice to know properties of a channel
      It makes our calls right
      We have a nice function called CHANNEL
      And so SIPCHANINFO is sent off into the night.
      
      And now things get odd;
      Apparently one could delimit with a colon
      Properties from the SIPPEER function!
      Commas are in; all others are done.
      
      Finally, a word on pipes and commas.
      We're sorry. We can't say it enough.
      But those compatibility options in asterisk.conf;
      To maintain them forever was just too tough.
      
      This patch removes:
      
      * cdr_sqlite
      * chan_gtalk
      * chan_jingle
      * chan_h323
      * res_jabber
      * app_saycountpl
      * app_readfile
      * app_dahdibarge
      
      It removes the following applications/functions:
      
      * WaitMusicOnHold
      * SetMusicOnHold
      * SIPCHANINFO
      
      It removes the colon delimiter from the SIPPEER function.
      
      Finally, it also removes all compatibility options that were configurable from
      asterisk.conf, as these all applied to compatibility with Asterisk 1.4 systems.
      
      Review: https://reviewboard.asterisk.org/r/3698/
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      97834718
  6. Jun 30, 2014
  7. Jun 26, 2014
    • Matthew Jordan's avatar
      app_jack: Support audio with a sampling rate higher than 8kHz · 22e62ac6
      Matthew Jordan authored
      This patch enables the jack-audiohook to cope with dynamic sampling rates from
      and to Asterisk. Information from the channel is taken to derive the channel's
      sampling rate, suiting SLINxx format and frame->datalen.
      
      There are stil a few limitations after this patch:
      * Required information is taken from the channel during initialization as
        the audiohook does not provide this information.
        Audiohook.internal_sampl_rate(...) is set later, but no callback is available
        to inform app_jack.
      
      * Frame.datalen is computed using "rate / 50" assuming a ptime of 20ms.
        There is no internal API available to determine datalen for a SLINxx.
      
      * Ringbuffer size is now dynamic depending on the value of frame.datalen
        (see above) and the number of frames, which are in RINGBUFFER_FRAME_CAPACITY,
        that need to fit.
      
      Review: https://reviewboard.asterisk.org/r/3618
      
      Note that the patch being committed here is based on the patch posted on
      ASTERISK-23836. However, Matthis Schmieder also provided a patch to enable
      this functionality, and that patch is noted below.
      
      ASTERISK-20696 #close
      Reported by: Matthis Schmieder
      patches:
        app_jack.patch uploaded by Matthis Schmieder (License 6445)
      
      ASTERISK-23836 #close
      Reported by: Dennis Guse
      patches:
        patch-app_jack.c uploaded by Dennis Guse (License 6513)
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@417360 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      22e62ac6
  8. Jun 20, 2014
  9. Jun 13, 2014
    • Matthew Jordan's avatar
      stasis: Reduce creation of channel snapshots to improve performance · 9cc1a8e8
      Matthew Jordan authored
      During some performance testing of Asterisk with AGI, ARI, and lots of Local
      channels, we noticed that there's quite a hit in performance during channel
      creation and releasing to the dialplan (ARI continue). After investigating
      the performance spike that occurs during channel creation, we discovered
      that we create a lot of channel snapshots that are technically unnecessary.
      This includes creating snapshots during:
       * AGI execution
       * Returning objects for ARI commands
       * During some Local channel operations
       * During some dialling operations
       * During variable setting
       * During some bridging operations
      And more.
      
      This patch does the following:
       - It removes a number of fields from channel snapshots. These fields were
         rarely used, were expensive to have on the snapshot, and hurt performance.
         This included formats, translation paths, Log Call ID, callgroup, pickup
         group, and all channel variables. As a result, AMI Status,
         "core show channel", "core show channelvar", and "pjsip show channel" were
         modified to either hit the live channel or not show certain pieces of data.
         While this is unfortunate, the performance gain from this patch is worth
         the loss in behaviour.
       - It adds a mechanism to publish a cached snapshot + blob. A large number of
         publications were changed to use this, including:
         - During Dial begin
         - During Variable assignment (if no AMI variables are emitted - if AMI
           variables are set, we have to make snapshots when a variable is changed)
         - During channel pickup
         - When a channel is put on hold/unhold
         - When a DTMF digit is begun/ended
         - When creating a bridge snapshot
         - When an AOC event is raised
         - During Local channel optimization/Local bridging
         - When endpoint snapshots are generated
         - All AGI events
         - All ARI responses that return a channel
         - Events in the AgentPool, MeetMe, and some in Queue
       - Additionally, some extraneous channel snapshots were being made that were
         unnecessary. These were removed.
       - The result of ast_hashtab_hash_string is now cached in stasis_cache. This
         reduces a large number of calls to ast_hashtab_hash_string, which reduced
         the amount of time spent in this function in gprof by around 50%.
      
      #ASTERISK-23811 #close
      Reported by: Matt Jordan
      
      Review: https://reviewboard.asterisk.org/r/3568/
      ........
      
      Merged revisions 416211 from http://svn.asterisk.org/svn/asterisk/branches/12
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@416216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      9cc1a8e8
  10. Jun 12, 2014
  11. Jun 05, 2014
  12. Jun 04, 2014
  13. May 28, 2014
    • Matthew Jordan's avatar
      Logger/CLI/etc.: Fix some aesthetic issues; reduce chatty verbose messages · fb5690ce
      Matthew Jordan authored
      This patch addresses some aesthetic issues in Asterisk. These are all just
      minor tweaks to improve the look of the CLI when used in a variety of
      settings. Specifically:
       * A number of chatty verbose messages were removed or demoted to DEBUG
         messages. Verbose messages with a verbosity level of 5 or higher were -
         if kept as verbose messages - demoted to level 4. Several messages
         that were emitted at verbose level 3 were demoted to 4, as announcement
         of dialplan applications being executed occur at level 3 (and so the
         effects of those applications should generally be less).
       * Some verbose messages that only appear when their respective 'debug'
         options are enabled were bumped up to always be displayed.
       * Prefix/timestamping of verbose messages were moved to the verboser
         handlers. This was done to prevent duplication of prefixes when the
         timestamp option (-T) is used with the CLI.
       * Verbose magic is removed from messages before being emitted to
         non-verboser handlers. This prevents the magic in multi-line verbose
         messages (such as SIP debug traces or the output of DumpChan) from
         being written to files.
       * _Slightly_ better support for the "light background" option (-W) was
         added. This includes using ast_term_quit in the output of XML
         documentation help, as well as changing the "Asterisk Ready" prompt to
         bright green on the default background (which stands a better chance of
         being displayed properly than bright white).
      
      Review: https://reviewboard.asterisk.org/r/3547/
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@414798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      fb5690ce
    • Richard Mudgett's avatar
      app_agent_pool: Return to dialplan if the agent fails to ack the call. · a5aea0cc
      Richard Mudgett authored
      Improvements to the agent pool functionality.
      
      * AgentRequest no longer hangs up the caller if the agent fails to connect
      with the caller.  It now continues in the dialplan.
      
      * AgentRequest returns AGENT_STATUS set to NOT_CONNECTED if the agent
      failed to connect with the call.  Most likely because the agent did not
      acknowledge the call in time or got disconnected.
      
      * The agent alerting play file configured by the agent.conf custom_beep
      option can now be disabled by setting the option to an empty string.  The
      agent is effectively alerted to a call presence when MOH stops.
      
      * Fixed bridge reference leak when the agent connects with a caller.
      
      ASTERISK-23499 #close
      Reported by: Matt Jordan
      
      Review: https://reviewboard.asterisk.org/r/3551/
      ........
      
      Merged revisions 414747 from http://svn.asterisk.org/svn/asterisk/branches/12
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@414748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      a5aea0cc
  14. May 22, 2014
  15. May 15, 2014
  16. May 12, 2014
  17. May 09, 2014
  18. May 08, 2014
  19. May 07, 2014
  20. Apr 21, 2014
  21. Apr 19, 2014
  22. Apr 18, 2014
  23. Apr 15, 2014
  24. Apr 11, 2014
  25. Apr 09, 2014
  26. Apr 08, 2014
  27. Apr 07, 2014
  28. Apr 01, 2014
  29. Mar 27, 2014
  30. Mar 20, 2014
Loading