Skip to content
Snippets Groups Projects
  1. Apr 29, 2015
  2. Apr 28, 2015
  3. Apr 27, 2015
    • Corey Farrell's avatar
      Astobj2: Allow reference debugging to be enabled/disabled by config. · 5c1d07ba
      Corey Farrell authored
      * The REF_DEBUG compiler flag no longer has any effect on code that uses
        Astobj2.  It is used to determine if reference debugging is enabled by
        default.  Reference debugging can be enabled or disabled in asterisk.conf.
      * Caller information is provided in logger errors for ao2 bad magic numbers.
      * Optimizes AO2 by merging internal functions with the public counterpart.
        This was possible now that we no longer require a dual ABI.
      
      ASTERISK-24974 #close
      Reported by: Corey Farrell
      
      Change-Id: Icf3552721fe999365ba8a8cf00a965aa6b897cc1
      5c1d07ba
    • George Joseph's avatar
      res_pjsip: Fix SEGV on pending-qualify contacts · 356568dc
      George Joseph authored
      Permanent contacts that hadn't been qualified yet were missing
      their contact_status entries causing SEGVs when running CLI
      commands.
      
      This patch makes sure that contact_statuses are created for
      both dynamic and permanent contacts when they are created.
      It also adds checks in the CLI code to make sure there's a
      contact_status, just in case.
      
      ASTERISK-25018 #close
      Reported-by: Ivan Poddubny
      Tested-by: Ivan Poddubny
      Tested-by: George Joseph
      
      Change-Id: I3cc13e5cedcafb24c400368b515b02d7fb81e029
      356568dc
    • Rodrigo Ramírez Norambuena's avatar
      cdr/cdr_odbc.c: Added to record new columns add on CDR 1.8 Asterisk Version · 358080e8
      Rodrigo Ramírez Norambuena authored
      Add new column to INSERT new columns added in cdr 1.8 version. The columns are:
       * peeraccount
       * linkedid
       * sequence
      This feature is configurable in cdr_odbc.conf using a new configuration
      option, 'newcdrcolumns'.
      
      ASTERISK-24976 #close
      
      Change-Id: Ibe0c7540a88305c6012786f438a0813ad8b19127
      358080e8
  4. Apr 26, 2015
  5. Apr 24, 2015
    • Matt Jordan's avatar
    • Matt Jordan's avatar
    • Kevin Harwell's avatar
      app_confbridge: Default the template option to a compatible default profile. · 9f65ea48
      Kevin Harwell authored
      Confbridge dynamic profiles did not have a default profile unless you
      explicitly used Set(CONFBRIDGE(bridge,template)=default_bridge). If a
      template was not set prior to the bridge being created then some
      options were left with no default values set. This patch makes it so
      the default templates are set to the default bridge and user profiles.
      
      ASTERISK-24749 #close
      Reported by: philippebolduc
      
      Change-Id: I1bd6e94b38701ac2112d842db68de63d46f60e0a
      9f65ea48
    • Joshua Colp's avatar
      Merge "CHANGES remove tab space" · 1ec829a7
      Joshua Colp authored
      1ec829a7
    • Joshua Colp's avatar
      b9514a17
    • Olle E. Johansson's avatar
      CREDITS: Update credits for Olle Johansson · cafdb7a0
      Olle E. Johansson authored
      Change-Id: I8f3d0a6c3f1075a1f7d8308593394611a96749de
      cafdb7a0
    • Mark Michelson's avatar
      res_pjsip_outbound_authenticator: Increase CSeq on authed requests. · bd61c930
      Mark Michelson authored
      The way PJSIP generates an authenticated request is to use a previous
      request as a template. This means that the authenticated request will
      have the same Call-ID, From header (including tag), and CSeq as the
      original request. PJSIP generates a new branch on the Via header to
      indicate that this is a new transaction, though.
      
      There are some SIP implementations, though, that do not notice the
      change in the branch and therefore will match the authed request to the
      original request's transaction. Since the CSeq is the same, the server
      will repeat the response it sent to the original request.
      
      This patch aids interoperability by increasing the CSeq of the authed
      request by one.
      
      ASTERISK-24845 #close
      Reported by: Carl Fortin
      Tested by: Carl Fortin
      
      Change-Id: I39c4ca52e688a9f83bcc1878371334becdc5be01
      bd61c930
    • Diederik de Groot's avatar
      Clang: Fix some more tautological-compare warnings. · f8e21a1a
      Diederik de Groot authored
      clang can warn about a so called tautological-compare, when it finds
      comparisons which are logically always true, and are therefor deemed
      unnecessary.
      
      Exanple:
      unsigned int x = 4;
      if (x > 0)    // x is always going to be bigger than 0
      
      Enum Case:
      Each enumeration is its own type. Enums are an integer type but they
      do not have to be *signed*. C leaves it up to the compiler as an
      implementation option what to consider the integer type of a particu-
      lar enumeration is. Gcc treats an enum without negative values as
      an int while clang treats this enum as an unsigned int.
      
      rmudgett & mmichelson: cast the enum to (unsigned int) in assert.
      The cast does have an effect. For gcc, which seems to treat all enums
      as int, the cast to unsigned int will eliminate the possibility of
      negative values being allowed. For clang, which seems to treat enums
      without any negative members as unsigned int, the cast will have no
      effect. If for some reason in the future a negative value is ever
      added to the enum the assert will still catch the negative value.
      
      ASTERISK-24917
      Change-Id: Ief23ef68916192b9b72dabe702b543ecfeca0b62
      f8e21a1a
    • Diederik de Groot's avatar
      Example script for scan-build (the llvm static analyzer) · 1e747930
      Diederik de Groot authored
       - Added Pre-amble (Options / Flags / Usage Example / GNU License)
       - Extended Configurability
       - Made Executable
      
      ASTERISK-24917
      Change-Id: I70405fe54e4be7dbfbcb62e291690069b88617a8
      1e747930
Loading