Skip to content
Snippets Groups Projects
  1. Sep 24, 2008
  2. Sep 23, 2008
  3. Sep 20, 2008
  4. Sep 19, 2008
  5. Sep 18, 2008
  6. Sep 15, 2008
  7. Sep 14, 2008
  8. Sep 13, 2008
  9. Sep 12, 2008
    • Tilghman Lesher's avatar
      Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating · 08af5bb3
      Tilghman Lesher authored
      when a file is invalid from when a file is missing.  This is most important when
      we have two configuration files.  Consider the following example:
      
      Old system:
      sip.conf     users.conf     Old result               New result
      ========     ==========     ==========               ==========
      Missing      Missing        SIP doesn't load         SIP doesn't load
      Missing      OK             SIP doesn't load         SIP doesn't load
      Missing      Invalid        SIP doesn't load         SIP doesn't load
      OK           Missing        SIP loads                SIP loads
      OK           OK             SIP loads                SIP loads
      OK           Invalid        SIP loads incompletely   SIP doesn't load
      Invalid      Missing        SIP doesn't load         SIP doesn't load
      Invalid      OK             SIP doesn't load         SIP doesn't load
      Invalid      Invalid        SIP doesn't load         SIP doesn't load
      
      So in the case when users.conf doesn't load because there's a typo that
      disrupts the syntax, we may only partially load users, instead of failing with
      an error, which may cause some calls not to get processed.  Worse yet, the old
      system would do this with no indication that anything was even wrong.
      
      (closes issue #10690)
       Reported by: dtyoo
       Patches: 
             20080716__bug10690.diff.txt uploaded by Corydon76 (license 14)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@142992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      08af5bb3
    • Jeff Peeler's avatar
      Merged revisions 142927 via svnmerge from · 5d39c767
      Jeff Peeler authored
      https://origsvn.digium.com/svn/asterisk/branches/1.4
      
      ........
      r142927 | jpeeler | 2008-09-12 17:22:28 -0500 (Fri, 12 Sep 2008) | 6 lines
      
      (closes issue #12965)
      Reported by: rlsutton2
      
      Prevents local channels from playing MOH at each other which was causing ast_generic_bridge to loop much faster.
      
      
      ........
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@142929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      5d39c767
    • Tilghman Lesher's avatar
      Merged revisions 142865 via svnmerge from · aada1323
      Tilghman Lesher authored
      https://origsvn.digium.com/svn/asterisk/branches/1.4
      
      ........
        r142865 | tilghman | 2008-09-12 15:37:18 -0500 (Fri, 12 Sep 2008) | 11 lines
        
        Create rules for disallowing contacts at certain addresses, which may
        improve the security of various installations.  As this does not change
        any default behavior, it is not classified as a direct security fix for
        anything within Asterisk, but may help PBX admins better secure their
        SIP servers.
        (closes issue #11776)
         Reported by: ibc
         Patches: 
               20080829__bug11776.diff.txt uploaded by Corydon76 (license 14)
         Tested by: Corydon76, blitzrage
      ........
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@142866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      aada1323
  10. Sep 09, 2008
  11. Sep 08, 2008
  12. Sep 06, 2008
    • Steve Murphy's avatar
      Merged revisions 141565 via svnmerge from · 1ca1ef67
      Steve Murphy authored
      https://origsvn.digium.com/svn/asterisk/branches/1.4
      
      ........
      r141565 | murf | 2008-09-06 14:13:16 -0600 (Sat, 06 Sep 2008) | 1 line
      
      This fix comes from Joshua Colp The Brilliant, who, given the trace, came up with a solution. This will most likely will close 13235 and 13409. I'll wait till Monday to verify, and then close these bugs.
      ........
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@141566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      1ca1ef67
    • Michiel van Baak's avatar
      Some fixes to autocompletion in some commands. · 28764dd1
      Michiel van Baak authored
      Changes applied by this patch:
      
      - Fix autocompletion in 'sip prune realtime', sip peers where never auto completed. Now we complete this command with:
        'sip prune realtime peer' -> all | like | sip peers
        Also I have modified the syntax in the usage, was wrong...
      - Pass ast_cli_args->argv and ast_cli_args->argc while running autocompletion on CLI commands (CLI_GENERATE).
        With this we avoid comparisons on ast_cli_args->line like this:
        strcasestr(a->line, " description")
        strcasestr(a->line, "descriptions ")
        strcasestr(a->line, "realtime peer"), and so on..
      
        Making the code more confusing (check the spaces in description!).
        The only thing we must be sure is to first check a->pos or a->argc.
      														      
      - Fix 'iax2 prune realtime' autocompletion, now we autocomplete this command with 'all' & 'iax2 peers', check a look that iax2 peers where all the peers, now only the ones in the cache..
      
      (closes issue #13133)
      Reported by: eliel
      Patches:
            clichanges.patch uploaded by eliel (license 64)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@141464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      28764dd1
  13. Sep 05, 2008
  14. Sep 03, 2008
    • Michiel van Baak's avatar
      Added 'skinny show lines verbose' · cb5824d9
      Michiel van Baak authored
      This will print the subs and their status for every line (if any).
      
      wedhorn did most of the work with his patch which introduced
      'skinny show debug' but a discussion on IRC stated that it should be
      added to 'skinny show lines'
      
      Input on the output format by Qwell on IRC.
      
      (closes issue #13344)
      Reported by: wedhorn
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@140938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      cb5824d9
  15. Sep 02, 2008
  16. Aug 29, 2008
    • Mark Michelson's avatar
      Merged revisions 140488 via svnmerge from · 5dfefa5e
      Mark Michelson authored
      https://origsvn.digium.com/svn/asterisk/branches/1.4
      
      ........
      r140488 | mmichelson | 2008-08-29 12:34:17 -0500 (Fri, 29 Aug 2008) | 22 lines
      
      After working on the ao2_containers branch, I noticed
      something a bit strange. In all cases where we provide
      a callback function to ao2_container_alloc, the callback
      function would only return 0 or CMP_MATCH. After inspecting
      the ao2_callback() code carefully, I found that if you're
      only looking for one specific item, then you should return
      CMP_MATCH | CMP_STOP. Otherwise, astobj2 will continue
      traversing the current bucket until the end searching for
      more matches.
      
      In cases like chan_iax2 where in 1.4, all the peers are
      shoved into a single bucket, this makes for potentially
      terrible performance since the entire bucket will be
      traversed even if the peer is one of the first ones come
      across in the bucket.
      
      All the changes I have made were for cases where the 
      callback function defined was passed to ao2_container_alloc
      so that calls to ao2_find could find a unique instance
      of whatever object was being stored in the container.
      
      
      ........
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@140489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      5dfefa5e
    • Mark Michelson's avatar
      Merged revisions 140417 via svnmerge from · b116defb
      Mark Michelson authored
      https://origsvn.digium.com/svn/asterisk/branches/1.4
      
      ........
      r140417 | mmichelson | 2008-08-29 10:26:52 -0500 (Fri, 29 Aug 2008) | 10 lines
      
      Fix SIP's parsing so that if a port is specified
      in a string to Dial(), it is not ignored.
      
      (closes issue #13355)
      Reported by: acunningham
      Patches:
            13355v2.patch uploaded by putnopvut (license 60)
      Tested by: acunningham
      
      
      ........
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@140418 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      b116defb
  17. Aug 27, 2008
  18. Aug 26, 2008
  19. Aug 25, 2008
  20. Aug 22, 2008
  21. Aug 21, 2008
  22. Aug 20, 2008
  23. Aug 19, 2008
Loading