Skip to content
Snippets Groups Projects
  1. Oct 10, 2022
  2. Sep 29, 2022
    • Maximilian Fridrich's avatar
      res_pjsip: Add mediasec capabilities. · 0d2e1401
      Maximilian Fridrich authored
      This patch adds support for mediasec SIP headers and SDP attributes.
      These are defined in RFC 3329, 3GPP TS 24.229 and
      draft-dawes-sipcore-mediasec-parameter. The new features are
      implemented so that a backbone for RFC 3329 is present to streamline
      future work on RFC 3329.
      
      With this patch, Asterisk can communicate with Deutsche Telekom trunks
      which require these fields.
      
      ASTERISK-30032
      
      Change-Id: Ia7f5b5ba42db18074fdd5428c4e1838728586be2
      0d2e1401
  3. Sep 28, 2022
  4. Sep 27, 2022
    • Holger Hans Peter Freyther's avatar
      res_prometheus: Do not crash on invisible bridges · 62881c66
      Holger Hans Peter Freyther authored
      Avoid crashing by skipping invisible bridges and checking the
      snapshot for a null pointer. In effect this is how the bridges
      are enumerated in res/ari/resource_bridges.c already.
      
      ASTERISK-30239
      ASTERISK-30237
      
      Change-Id: I58ef9f44036feded5966b5fc70ae754f8182883d
      62881c66
  5. Sep 26, 2022
    • Naveen Albert's avatar
      res_pjsip_geolocation: Change some notices to debugs. · 8afb313a
      Naveen Albert authored
      If geolocation is not in use for an endpoint, the NOTICE
      log level is currently spammed with messages about this,
      even though nothing is wrong and these messages provide
      no real value. These log messages are therefore changed
      to debugs.
      
      ASTERISK-30241 #close
      
      Change-Id: I656b355d812f67cc0f0fdf09b00b0e1458598bb4
      8afb313a
    • Naveen Albert's avatar
      db: Fix incorrect DB tree count for AMI. · 7335b0cf
      Naveen Albert authored
      The DBGetTree AMI action's ListItem previously
      always reported 1, regardless of the count. This
      is corrected to report the actual count.
      
      ASTERISK-30245 #close
      patches:
        gettreecount.diff submitted by Birger Harzenetter (license 5870)
      
      Change-Id: I46d8992710f1b8524426b1255f57d1ef4a4934d4
      7335b0cf
    • Naveen Albert's avatar
      func_logic: Don't emit warning if both IF branches are empty. · 407167cc
      Naveen Albert authored
      The IF function currently emits warnings if both IF branches
      are empty. However, there is no actual necessity that either
      branch be non-empty as, unlike other conditional applications/
      functions, nothing is inherently done with IF, and both
      sides could legitimately be empty. The warning is thus turned
      into a debug message.
      
      ASTERISK-30243 #close
      
      Change-Id: I5250625dd720f95e1859b5dfb933905d7e7a730e
      407167cc
    • Naveen Albert's avatar
      features: Add no answer option to Bridge. · a5ec60e6
      Naveen Albert authored
      Adds the n "no answer" option to the Bridge application
      so that answer supervision can not automatically
      be provided when Bridge is executed.
      
      Additionally, a mechanism (dialplan variable)
      is added to prevent bridge targets (typically the
      target of a masquerade) from answering the channel
      when they enter the bridge.
      
      ASTERISK-30223 #close
      
      Change-Id: I76f73fcd8e403bcd18f2abb40c658f537ac1ba6d
      a5ec60e6
    • Naveen Albert's avatar
      app_bridgewait: Add option to not answer channel. · 1e29607b
      Naveen Albert authored
      Adds the n option to not answer the channel when calling
      BridgeWait, so the application can be used without
      forcing answer supervision.
      
      ASTERISK-30216 #close
      
      Change-Id: I6b85ef300b1f7b5170f8537e2b10889cc2e6605a
      1e29607b
    • Naveen Albert's avatar
      app_amd: Add option to play audio during AMD. · 8c791f9a
      Naveen Albert authored
      Adds an option that will play an audio file
      to the party while AMD is running on the
      channel, so the called party does not just
      hear silence.
      
      ASTERISK-30179 #close
      
      Change-Id: I4af306274552b61b3d9f0883c33f698abd4699b6
      8c791f9a
    • Philip Prindeville's avatar
      test: initialize capture structure before freeing · 3e7ce90f
      Philip Prindeville authored
      ASTERISK-30232 #close
      
      Change-Id: I2603e2cef8f93f6b0a6ef39f7eac744251bb3902
      3e7ce90f
    • Naveen Albert's avatar
      func_export: Add EXPORT function · 1ed45183
      Naveen Albert authored
      Adds the EXPORT function, which allows write
      access to variables and functions on other
      channels.
      
      ASTERISK-29432 #close
      
      Change-Id: I7492645ae4307553d0f586d78e13a4f586231fdf
      1ed45183
  6. Sep 22, 2022
    • Maximilian Fridrich's avatar
      res_pjsip: Add 100rel option "peer_supported". · 5bbad0d2
      Maximilian Fridrich authored
      This patch adds a new option to the 100rel parameter for pjsip
      endpoints called "peer_supported". When an endpoint with this option
      receives an incoming request and the request indicated support for the
      100rel extension, then Asterisk will send 1xx responses reliably. If
      the request did not indicate 100rel support, Asterisk sends 1xx
      responses normally.
      
      ASTERISK-30158
      
      Change-Id: Id6d95ffa8f00dab118e0b386146e99f254f287ad
      5bbad0d2
    • Naveen Albert's avatar
      func_scramble: Fix null pointer dereference. · 8aae0b9f
      Naveen Albert authored
      Fix segfault due to null pointer dereference
      inside the audiohook callback.
      
      ASTERISK-30220 #close
      
      Change-Id: Ideb80f606974366e89d619d908744230b5a5a259
      8aae0b9f
    • Jaco Kroon's avatar
      manager: be more aggressive about purging http sessions. · 278c5726
      Jaco Kroon authored
      
      If we find that n_max (currently hard wired to 1) sessions were purged,
      schedule the next purge for 1ms into the future rather than 5000ms (as
      per current).  This way we will purge up to 1000 sessions per second
      rather than 1 every 5 seconds.
      
      This mitigates a build-up of sessions should http sessions gets
      established faster than 1 per 5 seconds.
      
      Change-Id: I9820d39aa080109df44fe98c1325cafae48d54f5
      Signed-off-by: default avatarJaco Kroon <jaco@uls.co.za>
      278c5726
    • Naveen Albert's avatar
      func_strings: Add trim functions. · ab1dbfef
      Naveen Albert authored
      Adds TRIM, LTRIM, and RTRIM, which can be used
      for trimming leading and trailing whitespace
      from strings.
      
      ASTERISK-30222 #close
      
      Change-Id: I50fb0c40726d044a7a41939fa9026f3da4872554
      ab1dbfef
  7. Sep 19, 2022
  8. Sep 16, 2022
  9. Sep 15, 2022
  10. Sep 14, 2022
  11. Sep 13, 2022
    • George Joseph's avatar
      res_geolocation: Fix segfault when there's an empty element · 8cbea1c7
      George Joseph authored
      Fixed a segfault caused by var_list_from_loc_info() encountering
      an empty location info element.
      
      Fixed an issue in ast_strsep() where a value with only whitespace
      wasn't being preserved.
      
      Fixed an issue in ast_variable_list_from_quoted_string() where
      an empty value was considered a failure.
      
      ASTERISK-30215
      Reported by: Dan Cropp
      
      Change-Id: Ieca64e061a6d9298f0196c694b60d986ef82613a
      8cbea1c7
    • sungtae kim's avatar
      res_musiconhold: Add option to not play music on hold on unanswered channels · 80bc844f
      sungtae kim authored
      This change adds an option, answeredonly, that will prevent music on
      hold on channels that are not answered.
      
      ASTERISK-30135
      
      Change-Id: I1ab0defa43a29a26ae39f94c623596cf90fddc08
      80bc844f
    • Ben Ford's avatar
      res_pjsip: Add TEL URI support for basic calls. · 881a3f23
      Ben Ford authored
      This change allows TEL URI requests to come through for basic calls. The
      allowed requests are INVITE, ACK, BYE, and CANCEL. The From and To
      headers will now allow TEL URIs, as well as the request URI.
      
      Support is only for TEL URIs present in traffic from a remote party.
      Asterisk does not generate any TEL URIs on its own.
      
      ASTERISK-26894
      
      Change-Id: If5729e6cd583be7acf666373bf9f1b9d653ec29a
      881a3f23
  12. Sep 12, 2022
  13. Sep 11, 2022
    • Naveen Albert's avatar
      func_frame_trace: Remove bogus assertion. · 2dac2bf8
      Naveen Albert authored
      The FRAME_TRACE function currently asserts if it sees
      a MASQUERADE_NOTIFY. However, this is a legitimate thing
      that can happen so asserting is inappropriate, as there
      are no clear negative ramifications of such a thing. This
      is adjusted to be like the other frames to print out
      the subclass.
      
      ASTERISK-30210 #close
      
      Change-Id: I8ecbdcf17e35f64bdeab42868471f581ad1d1a56
      2dac2bf8
    • Naveen Albert's avatar
      lock.c: Add AMI event for deadlocks. · c4874256
      Naveen Albert authored
      Adds an AMI event to indicate that a deadlock
      has likely started, when Asterisk is compiled
      with DETECT_DEADLOCKS enabled. This can make
      it easier to perform automated deadlock detection
      and take appropriate action (such as doing a core
      dump). Unlike the deadlock warnings, the AMI event
      is emitted only once per deadlock.
      
      ASTERISK-30161 #close
      
      Change-Id: Ifc6ed3e390f8b4cff7f8077a50e4d7a5b54e42fb
      c4874256
    • Naveen Albert's avatar
      app_confbridge: Add end_marked_any option. · 205c7c8d
      Naveen Albert authored
      Adds the end_marked_any option, which can be used
      to kick a user from a conference if any marked user
      leaves.
      
      ASTERISK-30211 #close
      
      Change-Id: I9e8da7ccb892e522546c0f2b5476d172e022c2f5
      205c7c8d
    • Naveen Albert's avatar
      pbx_variables: Use const char if possible. · 2de016b1
      Naveen Albert authored
      Use const char for char arguments to
      pbx_substitute_variables_helper_full_location
      that can do so (context and exten).
      
      ASTERISK-30209 #close
      
      Change-Id: I001357177e9c3dca2b2b4eebc5650c1095b3da6f
      2de016b1
  14. Sep 10, 2022
    • George Joseph's avatar
      res_geolocation: Add two new options to GEOLOC_PROFILE · 05f42806
      George Joseph authored
      Added an 'a' option to the GEOLOC_PROFILE function to allow
      variable lists like location_info_refinement to be appended
      to instead of replacing the entire list.
      
      Added an 'r' option to the GEOLOC_PROFILE function to resolve all
      variables before a read operation and after a Set operation.
      
      Added a few missing parameters to the ones allowed for writing
      with GEOLOC_PROFILE.
      
      Fixed a bug where calling GEOLOC_PROFILE to read a parameter
      might actually update the profile object.
      
      Cleaned up XML documentation a bit.
      
      ASTERISK-30190
      
      Change-Id: I75f541db43345509a2e86225bfa4cf8e242e5b6c
      05f42806
    • George Joseph's avatar
      res_geolocation: Allow location parameters on the profile object · c799db6a
      George Joseph authored
      You can now specify the location object's format, location_info,
      method, location_source and confidence parameters directly on
      a profile object for simple scenarios where the location
      information isn't common with any other profiles.  This is
      mutually exclusive with setting location_reference on the
      profile.
      
      Updated appdocsxml.dtd to allow xi:include in a configObject
      element.  This makes it easier to link to complete configOptions
      in another object.  This is used to add the above fields to the
      profile object without having to maintain the option descriptions
      in two places.
      
      ASTERISK-30185
      
      Change-Id: Ifd5f05be0a76f0a6ad49fa28d17c394027677569
      c799db6a
Loading