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
  6. Apr 23, 2015
    • Mark Michelson's avatar
    • Mark Michelson's avatar
      res_pjsip_t38: Don't crash on authenticated reinvite after originated T.38 FAX. · 89a3fc05
      Mark Michelson authored
      When Asterisk originates a channel to an application, the channel is
      hung up once the application finishes executing. When the application
      in question is SendFax, the Asterisk PJSIP code will attempt to reinvite
      the T.38 session to audio after the FAX completes. The hangup of the
      channel happens in the midst of this reinvite transaction. In most
      circumstances, this works out okay because the BYE is delayed until the
      reinvite transaction can complete.
      
      However, if the reinvite that Asterisk sends receives a 401/407
      response, then Asterisk's attempt to re-send the reinvite with
      authentication will fail. This is because the session supplement in
      res_pjsip_t38 makes the assumption that the channel on the session will
      always be non-NULL. Since the channel has been hung up, though, the
      channel is now NULL. Attempting to operate on the channel causes a
      crash.
      
      This patch fixes the issue by ensuring that the channel on the session
      is not NULL before attempting to mess with the T.38 framehook.
      
      This patch also contains some corrections for comments that were
      incorrect and really confused me when I first started looking at the
      code.
      
      ASTERISK-25004 #close
      Reported by Mark Michelson
      
      Change-Id: Ic5a1230668369dda4bb13524098aed9306ab45a0
      89a3fc05
Loading