Skip to content
Snippets Groups Projects
  1. Aug 01, 2013
  2. Jul 24, 2013
  3. Jul 21, 2013
  4. Jul 10, 2013
    • Kevin Harwell's avatar
      PSJIP - sip.conf to res_sip.conf script · 5d9ac58d
      Kevin Harwell authored
      ** This script is in no way finished.
      
      Started the initial "cut" at converting a sip.conf file to a res_sip.conf file.
      Hopefully the bulk of the framework is in place and only a few minor adjustments
      need to be made when an option mapping is added that "doesn't fit".  This script
      and supporting files should be executable against python version 2.5.
      
      An OrderedDict class (backported from a newer version of python) is included.
      A MultiOrderedDict class is implemented so options, when added, should be able
      to be added in order and allowed to have multiple values.
      
      Currently the scripts supports the majority of endpoint options found in
      res_sip.conf.  Support has also been added for Aor(s) and the ACL/security
      sections.  Inside the sip_to_res_sip.py file one can see a list of options
      that still need to be mapped.
      
      Also items that still need to be done: templates, includes, parsing '=>'
      delimiter.  Note that some code is hopefully in place already to support
      templates (e.g. lookup/retrieving defaults from them).  However, the
      parsing of and adding of the section needs to be done.
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      5d9ac58d
  5. Jul 02, 2013
  6. Jun 21, 2013
    • Matthew Jordan's avatar
      Update autosupport script · f3bfece4
      Matthew Jordan authored
      This patch updates the autosupport script to collect all information available
      to the Asterisk CLI command "digium_phones". It also makes minor improvements
      in options handling.
      
      (closes issue AST-1163)
      Reported by: Trey Blancher
      patches:
        390347_autosupport.diff uploaded by tblancher (License 5821)
        390348_autosupport.diff uploaded by tblancher (License 5821)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@392409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      f3bfece4
  7. Apr 01, 2013
    • David M. Lee's avatar
      install_prereq: Build jansson from source, when necessary · d4e25a45
      David M. Lee authored
      When r383579 was committed, it made Jansson a required dependency.
      
      While libjansson-dev and jansson-devel are available on recent
      distros, some older (but still supported) distros don't have
      it. There's a pull request[1] to get it into repoforge, but that still
      doesn't help everyone. (And helps no one until the pull request is
      merged and packages are built).
      
      This patch adds Jansson install from source to the install_unpackaged()
      function. There are a few gotcha's, which makes this change not
      completely trivial.
      
       * Since Jansson may be installed by a package, don't install from
         source if a package installation can be found
         * libresample may also be installed via package, so I added a
           similar check to that.
       * Since Jansson installs into /usr/local, this patch also adds
         /usr/local/lib to /etc/ld.so.conf.d so that the library can be
         found.
         * The alternative was to install into /usr, but then it gets
           complicated having to deal with EL's /usr/lib{32,64} shenanigans.
      
       [1]: https://github.com/repoforge/rpms/pull/250
      
      Review: https://reviewboard.asterisk.org/r/2414/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@384488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      d4e25a45
  8. Mar 25, 2013
  9. Mar 12, 2013
  10. Mar 05, 2013
    • Matthew Jordan's avatar
      Add RFC 3327 Path header support to chan_sip · 8d5c36c9
      Matthew Jordan authored
      This patch adds support for RFC 3327 "Path" headers. This can be enabled in
      sip.conf using the 'supportpath' setting, either on a global basis or on a
      peer basis. This setting enables Asterisk to route outgoing out-of-dialog
      requests via a set of proxies by using a pre-loaded route-set defined by the
      Path headers in the REGISTER request. This patch also adds Realtime support
      for dynamically updating the Path information for a peer.
      
      A huge thank-you to Klaus Darillion and Olle E Johansson for their efforts
      in writing this patch.
      
      Review: https://reviewboard.asterisk.org/r/2235/
      Review: https://reviewboard.asterisk.org/r/991/
      
      (closes issue ASTERISK-16884)
      Reported by: klaus3000
      Tested by: klaus3000, oej, mjordan
      patches:
        path-1.8.0-patch.txt uploaded by klaus3000 (License 5054)
        oolong-path-support-trunk in team branch by oej (License 5267)
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@382440 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      8d5c36c9
  11. Mar 01, 2013
    • Michael L. Young's avatar
      Fix / Clean Up Some Items To Handle The New auto_* NAT Options · a3ad8b28
      Michael L. Young authored
      The original report had to do with a realtime peer behind NAT being pruned and
      the peer's private address being used instead of its external address.  Upon
      debugging, it was discovered that this was being caused by the addition of
      the auto_force_rport and auto_comedia settings.
      
      This patch does the following:
      
      * Adds a missing note to the CHANGES file indicating that the default global nat
        setting is auto_force_rport
      
      * Constify the 'req' parameter for check_via()
      
      * Add calls to check_via() in a couple of places in order for the auto_*
        settings to do their job in attempting to determine if NAT is involved
      
      * Set the flags SIP_NAT_FORCE_RPORT and SIP_PAGE2_SYMMETRICRTP if the auto_*
        settings are in use where it was needed
      
      * Moves the copying of peer flags up in build_peer() to before they are used;
        this fixes the realtime prune issue
      
      * Update the contrib/realtime schemas to allow the nat column to handle the
        different nat setting combinations we have
      
      This patch received a review and "Ship It!" on the issue itself.
      
      (closes issue ASTERISK-20904)
      Reported by: JoshE
      Tested by: JoshE, Michael L. Young
      Patches:
        asterisk-20904-nat-auto-and-rt-peersv2.diff Michael L. Young (license 5026)
      ........
      
      Merged revisions 382322 from http://svn.asterisk.org/svn/asterisk/branches/11
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@382323 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      a3ad8b28
  12. Jan 23, 2013
  13. Jan 21, 2013
  14. Jan 16, 2013
  15. Jan 11, 2013
    • Automerge script's avatar
      Merged revisions 378915,378918 via svnmerge from · 2c1720b4
      Automerge script authored
      file:///srv/subversion/repos/asterisk/trunk
      
      ................
        r378915 | dlee | 2013-01-11 16:31:42 -0600 (Fri, 11 Jan 2013) | 21 lines
        
        Add JSON API for Asterisk.
        
        This provides a JSON API by pulling in and wrapping the Jansson JSON
        library[1]. The Asterisk API basically mirrors the Jansson
        functionality, with a few minor tweaks.
        
         * Some names have been asteriskified to protect the innocent.
         * Jansson provides both reference-stealing and reference-borrowing
           versions of several API's. The Asterisk API is exclusively
           reference-stealing for operations that put elements into arrays and
           objects.
         * No support for doubles, since we usually don't need that.
         * Coming along for the ride is the ast_test_validate macro, which made
           the unit tests much easier to write.
        
         [1]: http://www.digip.org/jansson/
        
        (issue ASTERISK-20887)
        (closes issue ASTERISK-20888)
        Review: https://reviewboard.asterisk.org/r/2264/
      ................
        r378918 | file | 2013-01-11 17:05:38 -0600 (Fri, 11 Jan 2013) | 11 lines
        
        Retain XMPP filters across reconnections so external modules continue to function as expected.
        
        Previously if an XMPP client reconnected any filters added by an external module were lost.
        This issue exhibited itself with chan_motif not receiving and reacting to Jingle signaling.
        
        (closes issue ASTERISK-20916)
        Reported by: kuj
        ........
        
        Merged revisions 378917 from http://svn.asterisk.org/svn/asterisk/branches/11
      ................
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/team/mmichelson/threadpool@378927 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      2c1720b4
    • David M. Lee's avatar
      Add JSON API for Asterisk. · 7695ea26
      David M. Lee authored
      This provides a JSON API by pulling in and wrapping the Jansson JSON
      library[1]. The Asterisk API basically mirrors the Jansson
      functionality, with a few minor tweaks.
      
       * Some names have been asteriskified to protect the innocent.
       * Jansson provides both reference-stealing and reference-borrowing
         versions of several API's. The Asterisk API is exclusively
         reference-stealing for operations that put elements into arrays and
         objects.
       * No support for doubles, since we usually don't need that.
       * Coming along for the ride is the ast_test_validate macro, which made
         the unit tests much easier to write.
      
       [1]: http://www.digip.org/jansson/
      
      (issue ASTERISK-20887)
      (closes issue ASTERISK-20888)
      Review: https://reviewboard.asterisk.org/r/2264/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@378915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      7695ea26
  16. Jan 03, 2013
    • Automerge script's avatar
      Merged revisions 378410,378412,378414 via svnmerge from · 01250e25
      Automerge script authored
      file:///srv/subversion/repos/asterisk/trunk
      
      ................
        r378410 | mjordan | 2013-01-03 09:37:31 -0600 (Thu, 03 Jan 2013) | 13 lines
        
        Prevent crashes in res_xmpp when receiving large messages
        
        Similar to r378287, res_xmpp was marshaling data read from an external source
        onto the stack. For a sufficiently large message, this could cause a stack
        overflow. This patch modifies res_xmpp in a similar fashion to res_jabber by
        removing the stack allocation, as it was unnecessary.
        
        (issue ASTERISK-20658)
        Reported by: wdoekes
        ........
        
        Merged revisions 378409 from http://svn.asterisk.org/svn/asterisk/branches/11
      ................
        r378412 | file | 2013-01-03 09:40:21 -0600 (Thu, 03 Jan 2013) | 11 lines
        
        Prevent exhaustion of system resources through exploitation of event cache
        
        This patch changes res_xmpp to no longer cache events under certain circumstances.
        
        (issue ASTERISK-20175)
        Reported by: Russell Bryant, Leif Madsen, Joshua Colp
        Tested by: kmoore
        ........
        
        Merged revisions 378411 from http://svn.asterisk.org/svn/asterisk/branches/11
      ................
        r378414 | tilghman | 2013-01-03 10:04:11 -0600 (Thu, 03 Jan 2013) | 11 lines
        
        Add aliases to the Directory.
        
        This is an interesting feature that allows additional strings to be used to
        search the Directory, primarily intended to be used with nicknames, but could
        be used with affiliations and the like.  Because the name field is used in
        more than one place (such as email notifications), it is important that these
        additional strings not be placed in the name field, but be specified
        separately.
        
        Review: https://reviewboard.asterisk.org/r/2244/
      ................
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/team/mmichelson/threadpool@378422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      01250e25
    • Tilghman Lesher's avatar
      Add aliases to the Directory. · 7739ed99
      Tilghman Lesher authored
      This is an interesting feature that allows additional strings to be used to
      search the Directory, primarily intended to be used with nicknames, but could
      be used with affiliations and the like.  Because the name field is used in
      more than one place (such as email notifications), it is important that these
      additional strings not be placed in the name field, but be specified
      separately.
      
      Review: https://reviewboard.asterisk.org/r/2244/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@378414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      7739ed99
  17. Jan 01, 2013
  18. Dec 08, 2012
  19. Dec 04, 2012
  20. Oct 23, 2012
  21. Oct 18, 2012
  22. Oct 13, 2012
  23. Oct 11, 2012
  24. Oct 01, 2012
  25. Sep 22, 2012
    • Andrew Latham's avatar
      Doxygen Updates Janitor Work · fd98835f
      Andrew Latham authored
      * Whitespace, doc-blocks, spelling, case, missing and incorrect tags.
      * Add cleanup to Makefile for the Doxygen configuration update
      * Start updating Doxygen configuration for cleaner output
      * Enable inclusion of configuration files into documentation
      * remove mantisworkflow...
      * update documentation README
      * Add markup to Tilghman's email and talk with him about updating his email, he knows...
      * no code changes on this commit other than the mentioned Makefile change
      
      (issue ASTERISK-20259)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@373384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      fd98835f
  26. Sep 21, 2012
  27. Aug 06, 2012
  28. Jul 25, 2012
  29. Jul 16, 2012
Loading