Skip to content
Snippets Groups Projects
  1. Sep 22, 2021
    • Sean Bright's avatar
      message.c: Support 'To' header override with AMI's MessageSend. · e98839b7
      Sean Bright authored
      The MessageSend AMI action has been updated to allow the Destination
      and the To addresses to be provided separately. This brings the
      MessageSend manager command in line with the capabilities of the
      MessageSend dialplan application.
      
      ASTERISK-29663 #close
      
      Change-Id: I8513168d3e189a9fed88aaab6f5547ccb50d332c
      e98839b7
  2. Sep 21, 2021
    • Naveen Albert's avatar
      func_channel: Add CHANNEL_EXISTS function. · cf0d656a
      Naveen Albert authored
      Adds a function to check for the existence of a channel by
      name or by UNIQUEID.
      
      ASTERISK-29656 #close
      
      Change-Id: Ib464e9eb6e13dc683a846286798fecff4fd943cb
      cf0d656a
    • Naveen Albert's avatar
      logger: Add custom logging capabilities · a65bb134
      Naveen Albert authored
      Adds the ability for users to log to custom log levels
      by providing custom log level names in logger.conf. Also
      adds a logger show levels CLI command.
      
      ASTERISK-29529
      
      Change-Id: If082703cf81a436ae5a565c75225fa8c0554b702
      a65bb134
  3. Sep 16, 2021
  4. Sep 14, 2021
    • Naveen Albert's avatar
      app_mf: Add channel agnostic MF sender · 60daa8f7
      Naveen Albert authored
      Adds a SendMF application and PlayMF manager
      event to send arbitrary R1 MF tones on the
      current or specified channel.
      
      ASTERISK-29496
      
      Change-Id: I5d89afdbccee3f86cc702ed96d882f3d351327a4
      60daa8f7
  5. Sep 10, 2021
    • Naveen Albert's avatar
      func_strings: Add STRBETWEEN function · 6198c1d2
      Naveen Albert authored
      Adds the STRBETWEEN function, which can be used to insert a
      substring between each character in a string. For instance,
      this can be used to insert pauses between DTMF tones in a
      string of digits.
      
      ASTERISK-29627
      
      Change-Id: Ice23009d4a8e9bb9718d2b2301d405567087d258
      6198c1d2
    • Naveen Albert's avatar
      func_env: Add DIRNAME and BASENAME functions · 19de228e
      Naveen Albert authored
      Adds the DIRNAME and BASENAME functions, which are
      wrappers around the corresponding C library functions.
      These can be used to safely and conveniently work with
      file paths and names in the dialplan.
      
      ASTERISK-29628 #close
      
      Change-Id: Id3aeb907f65c0ff96b6e57751ff0cb49d61db7f3
      19de228e
    • Naveen Albert's avatar
      func_sayfiles: Retrieve say file names · b6b7b149
      Naveen Albert authored
      Up until now, all of the logic used to translate
      arguments to the Say applications has been
      directly coupled to playback, preventing other
      modules from using this logic.
      
      This refactors code in say.c and adds a SAYFILES
      function that can be used to retrieve the file
      names that would be played. These can then be
      used in other applications or for other purposes.
      
      Additionally, a SayMoney application and a SayOrdinal
      application are added. Both SayOrdinal and SayNumber
      are also expanded to support integers greater than
      one billion.
      
      ASTERISK-29531
      
      Change-Id: If9718c89353b8e153d84add3cc4637b79585db19
      b6b7b149
    • Naveen Albert's avatar
      res_tonedetect: Tone detection module · a6eb1b6f
      Naveen Albert authored
      dsp.c contains arbitrary tone detection functionality
      which is currently only used for fax tone recognition.
      This change makes this functionality publicly
      accessible so that other modules can take advantage
      of this.
      
      Additionally, a WaitForTone and TONE_DETECT app and
      function are included to allow users to do their
      own tone detection operations in the dialplan.
      
      ASTERISK-29546
      
      Change-Id: Ie38c395000f4fd4d04e942e8658e177f8f499b26
      a6eb1b6f
  6. Sep 09, 2021
  7. Sep 02, 2021
    • Naveen Albert's avatar
      chan_iax2: Add ANI2/OLI information element · 5a685249
      Naveen Albert authored
      Adds an information element for ANI2 so that
      Originating Line Information can be transmitted
      over IAX2 channels.
      
      ASTERISK-29605 #close
      
      Change-Id: Iaeacdf6ccde18eaff7f776a0f49fee87dcb549d2
      5a685249
  8. Sep 01, 2021
    • Naveen Albert's avatar
      app_read: Allow reading # as a digit · dd980e00
      Naveen Albert authored
      Allows for the digit # to be read as a digit,
      just like any other DTMF digit, as opposed to
      forcing it to be used as an end of input
      indicator. The default behavior remains
      unchanged.
      
      ASTERISK-18454 #close
      
      Change-Id: I3033432adb9d296ad227e76b540b8b4a2417665b
      dd980e00
    • Sebastien Duthil's avatar
      res_rtp_asterisk: Automatically refresh stunaddr from DNS · ac492f2f
      Sebastien Duthil authored
      This allows the STUN server to change its IP address without having to
      reload the res_rtp_asterisk module.
      
      The refresh of the name resolution occurs first when the module is
      loaded, then recurringly, slightly after the previous DNS answer TTL
      expires.
      
      ASTERISK-29508 #close
      
      Change-Id: I7955a046293f913ba121bbd82153b04439e3465f
      ac492f2f
  9. Aug 25, 2021
    • Naveen Albert's avatar
      app_queue: Don't reset queue stats on reload · c7af4699
      Naveen Albert authored
      Prevents reloads of app_queue from also resetting
      queue statistics.
      
      Also preserves individual queue agent statistics
      if we're just reloading members.
      
      ASTERISK-28701
      
      Change-Id: Ib5d4cdec175e44de38ef0f6ede4a7701751766f1
      c7af4699
  10. Aug 19, 2021
    • George Joseph's avatar
      res_pjproject: Allow mapping to Asterisk TRACE level · b72425b1
      George Joseph authored
      Allow mapping pjproject log messages to the Asterisk TRACE
      log level.  The defaults were also changes to log pjproject
      levels 3,4 to DEBUG and 5,6 to TRACE.  Previously 3,4,5,6
      all went to DEBUG.
      
      ASTERISK-29582
      
      Change-Id: I859a37a8dec263ed68099709cfbd3e665324c72d
      b72425b1
    • Naveen Albert's avatar
      app_milliwatt: Timing fix · dffc5e7f
      Naveen Albert authored
      The Milliwatt application uses incorrect tone timings
      that cause it to play the 1004 Hz tone constantly.
      
      This adds an option to enable the correct timing
      behavior, so that the Milliwatt application can
      be used for milliwatt test lines. The default behavior
      remains unchanged for compatability reasons, even
      though it is incorrect.
      
      ASTERISK-29575 #close
      
      Change-Id: I73ccc6c6fcaa31931c6fff3b85ad1805b2ce9d8c
      dffc5e7f
    • Naveen Albert's avatar
      app_morsecode: Add American Morse code · 9cac1c16
      Naveen Albert authored
      Previously, the Morsecode application only supported international
      Morse code. This adds support for American Morse code and adds an
      option to configure the frequency used in off intervals.
      
      Additionally, the application checks for hangup between tones
      to prevent application execution from continuing after hangup.
      
      ASTERISK-29541
      
      Change-Id: I172431a2e18e6527d577e74adfb05b154cba7bd4
      9cac1c16
    • Naveen Albert's avatar
      func_scramble: Audio scrambler function · 3eec5b8c
      Naveen Albert authored
      Adds a function to scramble audio on a channel using
      whole spectrum frequency inversion. This can be used
      as a privacy enhancement with applications like
      ChanSpy or other potentially sensitive audio.
      
      ASTERISK-29542
      
      Change-Id: I01020769d91060a1f56a708eb405f87648d1a67e
      3eec5b8c
    • Naveen Albert's avatar
      app_originate: Add ability to set codecs · cb1dfecc
      Naveen Albert authored
      A list of codecs to use for dialplan-originated calls can
      now be specified in Originate, similar to the ability
      in call files and the manager action.
      
      Additionally, we now default to just using the slin codec
      for originated calls, rather than all the slin* codecs up
      through slin192, which has been known to cause issues
      and inconsistencies from AMI and call file behavior.
      
      ASTERISK-29543
      
      Change-Id: I96a1aeb83d54b635b7a51e1b4680f03791622883
      cb1dfecc
  11. Aug 12, 2021
  12. Aug 09, 2021
    • Naveen Albert's avatar
      func_frame_drop: New function · 118d8482
      Naveen Albert authored
      Adds function to selectively drop specified frames
      in the TX or RX direction on a channel, including
      control frames.
      
      ASTERISK-29478
      
      Change-Id: I8147c9d55d74e2e48861edba6b22f930920541ec
      118d8482
  13. Aug 04, 2021
    • Naveen Albert's avatar
      app_queue: Allow streaming multiple announcement files · 940f6c4a
      Naveen Albert authored
      Allows multiple files comprising an agent announcement
      to be played by separating on the ampersand, similar
      to the multi-file support in other Asterisk applications.
      
      ASTERISK-29528
      
      Change-Id: Iec600d8cd5ba14aa1e4e37f906accb356cd7891a
      940f6c4a
  14. Aug 03, 2021
    • Igor Goncharovsky's avatar
      res_pjsip_header_funcs: Add PJSIP_HEADERS() ability to read header by pattern · 1e4ed61a
      Igor Goncharovsky authored
      PJSIP currently does not provide a function to replace SIP_HEADERS() function to get a list of headers from INVITE request.
      It may be used to get all X- headers in case the actual set and names of headers unknown.
      
      ASTERISK-29389
      
      Change-Id: Ic09d395de71a0021e0d6c5c29e1e19d689079f8b
      1e4ed61a
    • Rijnhard Hessel's avatar
      res_statsd: handle non-standard meter type safely · 71dd1d91
      Rijnhard Hessel authored
      Meter types are not well supported,
      lacking support in telegraf, datadog and the official statsd servers.
      We deprecate meters and provide a compliant fallback for any existing usages.
      
      A flag has been introduced to allow meters to fallback to counters.
      
      
      ASTERISK-29513
      
      Change-Id: I5fcb385983a1b88f03696ff30a26b55c546a1dd7
      71dd1d91
  15. Aug 02, 2021
    • Naveen Albert's avatar
      app_dtmfstore: New application to store digits · 016f6a0e
      Naveen Albert authored
      Adds application to asynchronously collect digits
      dialed on a channel in the TX or RX direction
      using a framehook and stores them in a specified
      variable, up to a configurable number of digits.
      
      ASTERISK-29477
      
      Change-Id: I51aa93fc9507f7636ac44806c4420ce690423e6f
      016f6a0e
  16. Jul 22, 2021
  17. Jul 15, 2021
  18. Jul 08, 2021
    • Naveen Albert's avatar
      app_waitforcond: New application · 1b21b1ab
      Naveen Albert authored
      While several applications exist to wait for
      a certain event to occur, none allow waiting
      for any generic expression to become true.
      This application allows for waiting for a condition
      to become true, with configurable timeout and
      checking interval.
      
      ASTERISK-29444
      
      Change-Id: I08adf2824b8bc63405778cf355963b5005612f41
      1b21b1ab
  19. Jun 24, 2021
    • Andre Barbosa's avatar
      res_stasis_playback: Send PlaybackFinish event only once for errors · 283812e4
      Andre Barbosa authored
      When we try to play a list of sound files in the same Play command,
      we get only one PlaybackFinish event, after all sounds are played.
      
      But in the case where the Play fails (because channel is destroyed
      for example), Asterisk will send one PlaybackFinish event for each
      sound file still to be played. If the list is big, Asterisk is
      sending many events.
      
      This patch adds a failed state so we can understand that the play
      failed. On that case we don't send the event, if we still have a
      list of sounds to be played.
      
      When we reach the last sound, we send the PlaybackFinish with
      the failed state.
      
      ASTERISK-29464 #close
      
      Change-Id: I4c2e5921cc597702513af0d7c6c2c982e1798322
      283812e4
  20. Jun 23, 2021
    • Naveen Albert's avatar
      app_dial: Expanded A option to add caller announcement · c4236dcf
      Naveen Albert authored
      Hitherto, the A option has made it possible to play
      audio upon answer to the called party only. This option
      is expanded to allow for playback of an audio file to
      the caller instead of or in addition to the audio
      played to the answerer.
      
      ASTERISK-29442
      
      Change-Id: If6eed3ff5c341dc8c588c8210987f2571e891e5e
      c4236dcf
  21. Jun 17, 2021
  22. Jun 11, 2021
    • Naveen Albert's avatar
      app_originate: Allow setting Caller ID and variables · a611a0cd
      Naveen Albert authored
      Caller ID can now be set on the called channel and
      Variables can now be set on the destination
      using the Originate application, just as
      they can be currently using call files
      or the Manager Action.
      
      ASTERISK-29450
      
      Change-Id: Ia64cfe97d2792bcbf4775b3126cad662922a8b66
      a611a0cd
  23. Jun 08, 2021
    • Naveen Albert's avatar
      app_confbridge: New ConfKick() application · a40e58a4
      Naveen Albert authored
      Adds a new ConfKick() application, which may
      be used to kick a specific channel, all channels,
      or all non-admin channels from a specified
      conference bridge, similar to existing CLI and
      AMI commands.
      
      ASTERISK-29446
      
      Change-Id: I5d96b683880bfdd27b2ab1c3f2e897c5046ded9b
      a40e58a4
    • Naveen Albert's avatar
      res_pjsip_dtmf_info: Hook flash · 99573f95
      Naveen Albert authored
      Adds hook flash recognition support
      for application/hook-flash.
      
      ASTERISK-29460
      
      Change-Id: I1d060fa89a7cf41244c98f892fff44eb1c9738ea
      99573f95
    • Naveen Albert's avatar
      app_confbridge: New option to prevent answer supervision · a8615224
      Naveen Albert authored
      A new user option, answer_channel, adds the capability to
      prevent answering the channel if it hasn't already been
      answered yet.
      
      ASTERISK-29440
      
      Change-Id: I26642729d0345f178c7b8045506605c8402de54b
      a8615224
  24. May 27, 2021
    • George Joseph's avatar
      res_pjsip_messaging: Refactor outgoing URI processing · 8e2672d2
      George Joseph authored
       * Implemented the new "to" parameter of the MessageSend()
         dialplan application.  This allows a user to specify
         a complete SIP "To" header separate from the Request URI.
      
       * Completely refactored the get_outbound_endpoint() function
         to actually handle all the destination combinations that
         we advertized as supporting.
      
       * We now also accept a destination in the same format
         as Dial()...  PJSIP/number@endpoint
      
       * Added lots of debugging.
      
      ASTERISK-29404
      Reported by Brian J. Murrell
      
      Change-Id: I67a485196d9199916468f7f98bfb9a0b993a4cce
      8e2672d2
  25. May 26, 2021
    • Naveen Albert's avatar
      func_math: Three new dialplan functions · 9106c9d1
      Naveen Albert authored
      Introduces three new dialplan functions, MIN and MAX,
      which can be used to calculate the minimum or
      maximum of up to two numbers, and ABS, an absolute
      value function.
      
      ASTERISK-29431
      
      Change-Id: I2bda9269d18f9d54833c85e48e41fce0e0ce4d8d
      9106c9d1
    • Naveen Albert's avatar
      func_volume: Add read capability to function. · 033c2a22
      Naveen Albert authored
      Up until now, the VOLUME function has been write
      only, so that TX/RX values can be set but not
      read afterwards. Now, previously set TX/RX values
      can be read later.
      
      ASTERISK-29439
      
      Change-Id: Ia23e92fa2e755c36e9c8e69f2940d2703ccccb5f
      033c2a22
    • Joseph Nadiv's avatar
      res_pjsip.c: Support endpoints with domain info in username · b21d4d1b
      Joseph Nadiv authored
      In multidomain environments, it is desirable to create
      PJSIP endpoints with the domain info in the endpoint name
      in pjsip_endpoint.conf.  This resulted in an error with
      registrations, NOTIFY, and OPTIONS packet generation.
      
      This commit will detect if there is an @ in the endpoint
      identifier and generate the URI accordingly so NOTIFY and
      OPTIONS From headers will generate correctly.
      
      ASTERISK-28393
      
      Change-Id: I96f8d01dfdd5573ba7a28299e46271dd4210b619
      b21d4d1b
  26. May 21, 2021
Loading