Skip to content
Snippets Groups Projects
  1. Apr 30, 2015
    • Joshua Colp's avatar
    • Corey Farrell's avatar
      Build System: Fix issue with addons moduleinfo. · 47fa2ad1
      Corey Farrell authored
      The build system now scans additional sources when generating
      moduleinfo for menuselect.  Unfortunately the extra sources
      for format_mp3 only exist if downloaded.
      
      Use the Makefile macro 'wildcard' to allow moduleinfo generator
      to ignore sources that do not exist.
      
      Change-Id: I596604713b7345ce994f32197f8f6bfd9bcf4170
      47fa2ad1
    • Joshua Colp's avatar
      res_ari_device_states: Fix dependency on res_stasis_device_state. · bb6ddb3d
      Joshua Colp authored
      The res_ari_device_states module depends on res_stasis_device_state,
      not res_stasis_device_states.
      
      Change-Id: I26e02ad37f9e36bcc859867e2fad1b90452ec3de
      bb6ddb3d
    • Mark Michelson's avatar
    • Richard Mudgett's avatar
      chan_dahdi: Add the chan_dahdi.conf force_restart_unavailable_chans option. · 03c51cf5
      Richard Mudgett authored
      Some telco switches occasionally ignore ISDN RESTART requests.  The fix
      for ASTERISK-19608 added an escape clause for B channels in the restarting
      state if the telco ignores a RESTART request.  If the telco fails to
      acknowledge the RESTART then Asterisk will assume the telco acknowledged
      the RESTART on the second call attempt requesting the B channel by the
      telco.  The escape clause is good for dealing with RESTART requests in
      general but it does cause the next call for the restarting B channel to be
      rejected if the telco insists the call must go on that B channel.
      
      chan_dahdi doesn't really need to issue a RESTART request in response to
      receiving a cause 44 (Requested channel not available) code.  Sending the
      RESTART in such a situation is not required (nor prohibited) by the
      standards.  I think chan_dahdi does this for historical reasons to deal
      with buggy peers to get channels unstuck in a similar fashion as the
      chan_dahdi.conf resetinterval option.
      
      * Add the chan_dahdi.conf force_restart_unavailable_chans compatability
      option that when disabled will prevent chan_dahdi from trying to RESTART
      the channel in response to a cause 44 code.
      
      ASTERISK-25034 #close
      Reported by: Richard Mudgett
      
      Change-Id: Ib8b17a438799920f4a2038826ff99a1884042f65
      03c51cf5
    • Joshua Colp's avatar
      res_pjsip_outbound_registration: Fix double unref on error return. · 80aa9aee
      Joshua Colp authored
      When the PJSIP pjsip_regc_send function is invoked and an error
      status returned the caller currently decrements the reference count
      of the client state that it just incremented, assuming the
      registration callback would not have been invoked. In practice
      this is not correct. If the failure happens after the transaction
      has been set up the callback will still be invoked. This will
      cause the reference count to be incorrectly decremented twice, once
      by the registration callback and second by the caller of
      pjsip_regc_send.
      
      This change makes it so that whether the callback is invoked or
      not is known by the caller of pjsip_regc_send. Depending on
      this it can know whether it is responsible for decrementing the
      reference count of the client state or not.
      
      ASTERISK-25037 #close
      Reported by: Joshua Colp
      
      Change-Id: I749dc12f3a22115c49c5d7d95ff42a5fa45319de
      80aa9aee
  2. Apr 29, 2015
  3. Apr 28, 2015
  4. 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
Loading