Skip to content
Snippets Groups Projects
  1. Jan 10, 2020
  2. Jan 09, 2020
  3. Jan 08, 2020
    • Kevin Harwell's avatar
      app_agent_pool: Update XML docs for AgentLogin · 00a74321
      Kevin Harwell authored
      This patch fixes some wrongly formatted documentation for the AgentLogin
      application. A couple of "see also" links should contain only the function
      name, and no parameters.
      
      Change-Id: I3f788b47dce3292e311f8a9856938d59a0bd0661
      00a74321
    • George Joseph's avatar
      CI: Update buildAsterisk.sh to do a "make full" · d5f3ec92
      George Joseph authored
      If you do a "make all" when building Asterisk the xml documentation
      produced will be missing certain AMI events where their
      documentation is located not at the top of the c source file but
      embedded further down next to the event's manager_event()
      registration call.  See main/manager_mwi.c for an example.
      
      "make full" does produce the correct documentation so we're changing
      it in the build script.  A separate commit/issue will address the
      problem with "make all".
      
      ASTERISK-28507
      Reported by: David Lee
      
      Change-Id: I4a22635d6eef99eacecc0efb69e28360eebdb86c
      d5f3ec92
    • Joshua C. Colp's avatar
      res_pjsip_pubsub: Add ability to persist generator state information. · 4e7adbd8
      Joshua C. Colp authored
      Some body generators, such as dialog-info+xml, require storing state
      information which is then conveyed in the NOTIFY request itself. Up
      until now there was no way for such body generators to persist this
      information.
      
      Two new API calls have been added to allow body generators to set and
      get persisted data. This data is persisted out alongside the normal
      persistence information and allows the body generator to restore
      state information or to simply use this for normal storage of state.
      State is stored in the form of JSON and it is up to the body
      generator to interpret this as needed.
      
      The dialog-info+xml body generator has been updated to take advantage
      of this to persist the version number.
      
      ASTERISK-27759
      
      Change-Id: I5fda56c624fd13c17b3c48e0319b77079e9e27de
      4e7adbd8
    • Joshua Colp's avatar
    • Joshua Colp's avatar
    • Sean Bright's avatar
      res_pjsip_endpoint_identifier_ip.c: Add port matching support · 312abaa1
      Sean Bright authored
      Adds source port matching support when IP matching is used:
      
        [example]
        type = identify
        match = 1.2.3.4:5060/32, 1.2.3.4:6000/32, asterisk.org:4444
      
      If the IP matches but the source port does not, we reject and search for
      alternatives. SRV lookups are still performed if enabled (srv_lookups = yes),
      unless the configured FQDN includes a port number in which case just a host
      lookup is performed.
      
      ASTERISK-28639 #close
      Reported by: Mitch Claborn
      
      Change-Id: I256d5bd5d478b95f526e2f80ace31b690eebba92
      312abaa1
  4. Jan 07, 2020
  5. 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
  6. 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
  7. Jan 03, 2020
  8. Jan 02, 2020
  9. Dec 30, 2019
  10. Dec 27, 2019
  11. Dec 20, 2019
Loading