Skip to content
Snippets Groups Projects
  1. Jan 08, 2020
  2. Jan 07, 2020
  3. Jan 06, 2020
    • George Joseph's avatar
      stasis.c: Use correct topic name in stasis_topic_pool_delete_topic · 1c9ddad4
      George Joseph authored
      When a topic is created for an object, its name is only
      <object>:<uniqueid>
      For example:
      bridge:cb68b3a8-fce7-4738-8a17-d7847562f020
      
      When a topic is added to a pool, its name has the pool's topic
      name prepended.  For example:
      bridge:all/bridge:cb68b3a8-fce7-4738-8a17-d7847562f020
      
      The topic_pool_entry's name however, is only what was passed
      in to stasis_topic_pool_get_topic which is
      bridge:cb68b3a8-fce7-4738-8a17-d7847562f020
      That's actually correct because the entry is qualified by the
      pool that's in.
      
      When you're ready to delete the entry from the pool, you retrieve
      the tropic name from the object but since it now has the pool's
      topic name prepended, it won't be found in the pool container.
      
      Fix:
      
      * Modified stasis_topic_pool_delete_topic() to skip past the
      pool topic's name, if it was prepended to the topic name,
      before searching the container for a pool entry.
      
      ASTERISK-28633
      Reported by: Joeran Vinzens
      
      Change-Id: I4396aa69dd83e4ab84c5b91b39293cfdbcf483e6
      1c9ddad4
    • Richard Mudgett's avatar
      app_bridgeaddchan.c: Make BridgeAdd be more like Bridge · 19069f7d
      Richard Mudgett authored
      * Made BridgeAdd not hangup the call if there is a problem.
      * Reduced message level from warning to verbose for normal exception
      cases.
      * Added a loop safety check to BridgeAdd.
      * Made BridgeAdd set BRIDGERESULT with the status when dialplan is
      resumed.
      
      Change-Id: I374d39b8a3edcc794eeb5c6b9f31a01424cdc426
      19069f7d
    • Richard Mudgett's avatar
      app_dial.c: Simplify dialplan using Dial. · abcb4ab3
      Richard Mudgett authored
      Dialplan has to be careful about passing an empty destination list or
      empty positions in the list.  As a result, dialplan has to check for
      these conditions before using Dial.  Simplify dialplan by making Dial
      handle these conditions gracefully.
      
      * Made tolerate empty positions in the dialed device list.
      
      * Reduced some message log levels from notice to verbose.
      
      ASTERISK-28638
      
      Change-Id: I6edc731aff451f8bdfaee5498078dd18c3a11ab9
      abcb4ab3
    • Richard Mudgett's avatar
      app_page.c: Simplify dialplan using Page. · d86a6ac5
      Richard Mudgett authored
      Dialplan has to be careful about passing an empty destination list or
      empty positions in the list.  As a result, dialplan has to check for
      these conditions before using Page.  Simplify dialplan by making Page
      handle these conditions gracefully.
      
      * Made tolerate empty positions in the paged device list.
      
      * Reduced some warnings associated with the 's' option to verbose
      messages.  The warning level for those messages really serves no purpose
      as that is why the 's' option exists.
      
      ASTERISK-28638
      
      Change-Id: I95b64a6d6800cd1a25279c88889314ae60fc21e3
      d86a6ac5
    • Richard Mudgett's avatar
      features.c: Make Bridge application tolerate unspecified channel. · 0376f2bb
      Richard Mudgett authored
      The Bridge application was inconsistent if the channel to bridge with is
      not specified.  If no parameters are given then a warning is issued and
      the current channel is hung up.  If options are given but no channel is
      specified then a warning is issued and the current channel is not hung up.
      
      * Made the Bridge application give a verbose message instead of a warning
      if the channel to bridge with is not specified and made not hang up the
      current channel.  As a result dialplan no longer needs to check if a
      channel name is passed before calling Bridge and simply needs to check the
      BRIDGERESULT channel variable instead.  This is something you likely want
      your dialplan to do anyway.
      
      * Fixed up L() option warning message.  It is up to the caller to
      determine if the channel is hung up because of the warning.  Dial() hangs
      up the current channel while Bridge() does not.
      
      Change-Id: I44349a8dc3912397f28852777de04f19e7bb9c73
      0376f2bb
    • Richard Mudgett's avatar
      app_chanspy.c: Reduce log message level from notice to verbose. · 0d1f3d9b
      Richard Mudgett authored
      Change-Id: Ica5f38ccd8cdc077aef14d0c50425e0b29ac7e0a
      0d1f3d9b
    • Richard Mudgett's avatar
      app_softhangup.c: Reduce unnecessary warning to verbose message. · a4579471
      Richard Mudgett authored
      Why log a warning for something your dialplan explicitly asked for?
      
      Change-Id: I167b90daf4c7d75dd4b7ef94849f6cef05aa43a7
      a4579471
  4. Jan 05, 2020
    • Sean Bright's avatar
      res_pjsip_config_wizard: Fix change detection for wizard settings · b40dd11a
      Sean Bright authored
      ast_sorcery_changeset_create() is not commutative and will fail to detect
      differences between two variable lists depending on what changed, so switch to
      ast_variable_lists_match().
      
      ASTERISK-28492 #close
      Reported by: Jean-Denis Girard
      
      Change-Id: I7b3256983ddfaa2138d3de92a444a53b5193a4e1
      b40dd11a
  5. Jan 03, 2020
  6. Jan 02, 2020
  7. Dec 30, 2019
  8. Dec 27, 2019
  9. Dec 20, 2019
  10. Dec 19, 2019
  11. Dec 18, 2019
  12. Dec 17, 2019
  13. Dec 16, 2019
    • Frederic LE FOLL's avatar
      app_chanisavail/cdr: ChanIsAvail sometimes fails to deactivate CDR. · a83625b3
      Frederic LE FOLL authored
      Temporary channel lifespan is very short and CDR deactivation request
      through ast_cdr_set_property() may happen when CDR is not available
      yet. Use CDR_PROP() dialplan function instead, it will first wait
      for pending CDR insertion requests to be processed.
      
      ASTERISK-28636
      
      Change-Id: I1cbe09e8d2169c0962c1195133ff260d291f2074
      a83625b3
Loading