Skip to content
Snippets Groups Projects
  1. Jan 06, 2022
    • Sean Bright's avatar
      utils.c: Remove all usages of ast_gethostbyname() · 0bbef4d8
      Sean Bright authored
      gethostbyname() and gethostbyname_r() are deprecated in favor of
      getaddrinfo() which we use in the ast_sockaddr family of functions.
      
      ASTERISK-29819 #close
      
      Change-Id: Ie277c0ef768d753b169c121ef570a71665692ab7
      0bbef4d8
  2. Jan 05, 2022
    • Mark Petersen's avatar
      app_queue.c: Support for Nordic syntax in announcements · dea71ddb
      Mark Petersen authored
      adding support for playing the correct en/et for nordic languages
      by adding 'n' for neuter gender in the relevant ast_say_number
      
      ASTERISK-29827
      
      Change-Id: I03ebc827d2f0dc95132ab2f42799893c70edc5b1
      dea71ddb
    • Naveen Albert's avatar
      app_mp3: Throw warning on nonexistent stream · 775c371d
      Naveen Albert authored
      Currently, the MP3Player application doesn't
      emit a warning if attempting to play a stream
      which no longer exists. This can be a common
      scenario as many mp3 streams are valid at some
      point but can disappear at any time.
      
      Now a warning is thrown if attempting to play
      a nonexistent MP3 stream, instead of silently
      exiting.
      
      ASTERISK-29829 #close
      
      Change-Id: I53a0bf1ed1740166655eb66fe7675f6f808bf535
      775c371d
    • Naveen Albert's avatar
      documentation: Add missing AMI documentation · b37feb42
      Naveen Albert authored
      Adds missing documentation for some channel,
      bridge, and queue events.
      
      ASTERISK-24427
      ASTERISK-29515
      
      Change-Id: I92b06b88c8cadc0155f95ebe3e870b3e795a8c64
      b37feb42
    • Naveen Albert's avatar
      app_sf: Add full tech-agnostic SF support · dd6df425
      Naveen Albert authored
      Adds tech-agnostic support for SF signaling
      by adding SF sender and receiver applications
      as well as Dial integration.
      
      ASTERISK-29802 #close
      
      Change-Id: I7ec50752e9a661af639425e5d1e339f17411bcad
      dd6df425
    • Steve Davies's avatar
      app_queue: Fix hint updates, allow dup. hints · 16a63027
      Steve Davies authored
      A previous patch for ASTERISK_29578 caused a 'leak' of
      extension state information across queues, causing the
      state of the first member of unrelated queues to be
      updated in addition to the correct member. Which queues
      and members depended on the order of queues in the
      iterator.
      
      Additionally, it is possible to use the same 'hint:' on
      multiple queue members, so the update cannot break out
      of the update loop early when a match is found.
      
      ASTERISK-29806 #close
      
      Change-Id: If2c1d1cc2a752afd9286d79710fc818596e7a7ad
      16a63027
  3. Dec 15, 2021
  4. Dec 14, 2021
    • Mark Petersen's avatar
      app_voicemail.c: Support for Danish syntax in VM · a4c42e70
      Mark Petersen authored
      added support for playing the correct plural sound file
      dependen on where you have 1 or multipe messages
      based on the existing SE/NO code
      
      ASTERISK-29797
      
      Change-Id: I88aa814d02f3772bb80b474204b1ffb26fe438c2
      a4c42e70
  5. Dec 13, 2021
    • Naveen Albert's avatar
      app_sendtext: Add ReceiveText application · 2f1eb561
      Naveen Albert authored
      Adds a ReceiveText application that can be used in
      conjunction with SendText. Currently, there is no
      way in Asterisk to receive text in the dialplan
      (or anywhere else, really). This allows for Asterisk
      to be the recipient of text instead of just the sender.
      
      ASTERISK-29759 #close
      
      Change-Id: Ica2c354a42bff69f323a0493d3a7cd0fb129d52d
      2f1eb561
    • Naveen Albert's avatar
      app_mf: Add full tech-agnostic MF support · 2b2b708d
      Naveen Albert authored
      Adds tech-agnostic support for MF signaling by adding
      MF sender and receiver applications as well as Dial
      integration.
      
      ASTERISK-29496-mf #do-not-close
      
      Change-Id: I61962b359b8ec4cfd05df877ddf9f5b8f71927a4
      2b2b708d
    • Alexander Traud's avatar
      progdocs: Fix Doxygen left-overs. · 4b6c7257
      Alexander Traud authored
      Change-Id: I5b5cf9c9cbbe00ba8b379a8d162ac67445d39016
      4b6c7257
  6. Dec 06, 2021
  7. Dec 02, 2021
  8. Nov 30, 2021
    • Naveen Albert's avatar
      documentation: Standardize examples · bcb7aee7
      Naveen Albert authored
      Most examples in the XML documentation use the
      example tag to demonstrate examples, which gets
      parsed specially in the Wiki to make it easier
      to follow for users.
      
      This fixes a few modules to use the example
      tag instead of vanilla para tags to bring them
      in line with the standard syntax.
      
      ASTERISK-29777 #close
      
      Change-Id: I9acb6cc5faf1d220e73c6dd28592371d768d279b
      bcb7aee7
    • Naveen Albert's avatar
      app_voicemail: Refactor email generation functions · 70cdb0f9
      Naveen Albert authored
      Refactors generic functions used for email generation
      into utils.c so that they can be used by multiple
      modules, including app_voicemail and app_minivm,
      to avoid code duplication.
      
      ASTERISK-29715 #close
      
      Change-Id: I1de0ed3483623e9599711129edc817c45ad237ee
      70cdb0f9
  9. Nov 18, 2021
  10. Nov 17, 2021
    • Naveen Albert's avatar
      app_morsecode: Fix deadlock · 721026ff
      Naveen Albert authored
      Fixes a deadlock in app_morsecode caused by locking
      the channel twice when reading variables from the
      channel. The duplicate lock is simply removed.
      
      ASTERISK-29744 #close
      
      Change-Id: I204000701f123361d7f85e0498fedc90243c75e4
      721026ff
  11. Nov 16, 2021
    • Naveen Albert's avatar
      app_read: Fix custom terminator functionality regression · 3c4b7cef
      Naveen Albert authored
      Currently, when the t option is specified with no arguments,
      the # character is still treated as a terminator, even though
      no character should be treated as a terminator.
      
      This is because a previous regression fix was modified to
      remove the use of NULL as a default altogether. However,
      NULL and an empty string actually refer to different
      arrangements and should be treated differently. NULL is the
      default terminator (#), while an empty string removes the
      terminator altogether. This is the behavior being used by
      the rest of the core.
      
      Additionally, since S_OR catches empty strings as well as
      NULL (not intended), this is changed to a ternary operator
      instead, which fixes the behavior.
      
      ASTERISK-29705 #close
      
      Change-Id: I9b6b72196dd04f5b1e0ab5aa1b0adf627725e086
      3c4b7cef
  12. Nov 15, 2021
    • Josh Soref's avatar
      apps: Spelling fixes · e7b1dcf7
      Josh Soref authored
      Correct typos of the following word families:
      
      simultaneously
      administrator
      directforward
      attachfmt
      dailplan
      automatically
      applicable
      nouns
      explicit
      outside
      sponsored
      attachment
      audio
      spied
      doesn't
      counting
      encoded
      implements
      recursively
      emailaddress
      arguments
      queuerules
      members
      priority
      output
      advanced
      silencethreshold
      brazilian
      debugging
      argument
      meadmin
      formatting
      integrated
      sneakiness
      
      ASTERISK-29714
      
      Change-Id: Ie5ecaec91c00b26309da4e51cfc0991a5bb7d092
      e7b1dcf7
  13. Nov 08, 2021
    • Naveen Albert's avatar
      app_voicemail: Fix phantom voicemail bug on rerecord · 92857e70
      Naveen Albert authored
      If users are able to press # for options while leaving
      a message and then press 3 to rerecord the message, if
      the caller hangs up during the rerecord prompt but before
      Asterisk starts recording a message, then an "empty"
      voicemail gets processed whereby an email gets sent out
      notifying the user of a 0:00 duration message. The file
      doesn't actually exist, so playback will fail since there
      was no message to begin with.
      
      This adds a check after the streaming of the rerecord
      announcement to see if the caller has hung up. If so,
      we bail out early so that we can clean up properly.
      
      ASTERISK-29391 #close
      
      Change-Id: Id965d72759a2fd3b39afb76fec08aaebebe75c31
      92857e70
  14. Oct 25, 2021
  15. Oct 21, 2021
    • Shloime Rosenblum's avatar
      apps/app_playback.c: Add 'mix' option to app_playback · 63c8d12e
      Shloime Rosenblum authored
      I am adding a mix option that will play by filename and say.conf unlike
      say option that will only play with say.conf. It
      will look on the format of the name, if it is like say it play with
      say.conf if not it will play the file name.
      
      ASTERISK-29662
      
      Change-Id: I815816916a308f0fa8f165140dc15772dcbd547a
      63c8d12e
  16. Sep 30, 2021
    • Naveen Albert's avatar
      app_read: Fix null pointer crash · 5a6f1407
      Naveen Albert authored
      If the terminator character is not explicitly specified
      and an indications tone is used for reading a digit,
      there is no null pointer check so Asterisk crashes.
      This prevents null usage from occuring.
      
      ASTERISK-29673 #close
      
      Change-Id: Ie941833e123c3dbfb88371b5de5edbbe065514ac
      5a6f1407
  17. Sep 21, 2021
    • Naveen Albert's avatar
      app_queue: Fix hint updates for included contexts · cfd0246d
      Naveen Albert authored
      Previously, if custom hints were used with the hint:
      format in app_queue, when device state changes occured,
      app_queue would only do a literal string comparison of
      the context used for the hint in app_queue and the context
      of the hint which just changed state. This caused hints
      to not update and become stale if the context associated
      with the agent included the context which actually changes
      state, essentially completely breaking device state for
      any such agents defined in this manner.
      
      This fix adds an additional check to ensure that included
      contexts are also compared against the context which changed
      state, so that the behavior is correct no matter whether the
      context is specified to app_queue directly or indirectly.
      
      ASTERISK-29578 #close
      
      Change-Id: I8caf2f8da8157ef3d9ea71a8568c1eec95592b78
      cfd0246d
    • 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
    • Sean Bright's avatar
      app_externalivr.c: Fix mixed leading whitespace in source code. · dce142ba
      Sean Bright authored
      No functional changes.
      
      Change-Id: I46514152c0af67f395526374aaa847ccd6a85378
      dce142ba
  18. Sep 15, 2021
    • Carlos Oliva's avatar
      app_mp3: Force output to 16 bits in mpg123 · e8f7b530
      Carlos Oliva authored
      In new mpg123 versions (since 1.26) the default output is 32 bits
      Asterisk expects the output in 16 bits, so we force the output to be on 16 bits.
      It will work wit new and old versions of mpg123.
      Thanks Thomas Orgis <thomas-forum@orgis.org> for giving the key!
      
      ASTERISK-29635 #close
      
      Change-Id: I88c7740118b5af4e895bd8b765b68ed5c11fc816
      e8f7b530
  19. 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
  20. Sep 13, 2021
    • Naveen Albert's avatar
      app_stack: Include current location if branch fails · c736cef3
      Naveen Albert authored
      Previously, the error emitted when app_stack tries
      to branch to a dialplan location that doesn't exist
      has included only the information about the attempted
      branch in the error log. This adds the current location
      as well so users can see where the branch failed in
      the logs.
      
      ASTERISK-29626
      
      Change-Id: Ia23502ab2ad21485a1ac74295063a8f25a6df5ce
      c736cef3
  21. Sep 09, 2021
  22. Sep 02, 2021
    • Sean Bright's avatar
      config_options: Handle ACO arrays correctly in generated XML docs. · 5c836c8e
      Sean Bright authored
      There are 3 separate changes here but they are all closely related:
      
      * Only try to set matchfield attributes on 'field' nodes
      
      * We need to adjust how we treat the category pointer based on the
        value of the category_match, to avoid memory corruption. We now
        generate a regex-like string when match types other than
        ACO_WHITELIST and ACO_BLACKLIST are used.
      
      * Switch app_agent_pool from ACO_BLACKLIST_ARRAY to
        ACO_BLACKLIST_EXACT since we only have one category we need to
        ignore, not two.
      
      ASTERISK-29614 #close
      
      Change-Id: I7be7bdb1bb9814f942bc6bb4fdd0a55a7b7efe1e
      5c836c8e
  23. 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
  24. 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
  25. Aug 19, 2021
    • 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
      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
  26. Aug 16, 2021
    • Joshua C. Colp's avatar
      policy: Add deprecation and removal versions to modules. · 13fd0789
      Joshua C. Colp authored
      app_meetme is deprecated in 19, to be removed in 21.
      app_osplookup is deprecated in 19, to be removed in 21.
      chan_alsa is deprecated in 19, to be removed in 21.
      chan_mgcp is deprecated in 19, to be removed in 21.
      chan_skinny is deprecated in 19, to be removed in 21.
      res_pktccops is deprecated in 19, to be removed in 21.
      cdr_mysql was deprecated in 1.8, to be removed in 19.
      app_mysql was deprecated in 1.8, to be removed in 19.
      app_ices was deprecated in 16, to be removed in 19.
      app_macro was deprecated in 16, to be removed in 21.
      app_fax was deprecated in 16, to be removed in 19.
      app_url was deprecated in 16, to be removed in 19.
      app_image was deprecated in 16, to be removed in 19.
      app_nbscat was deprecated in 16, to be removed in 19.
      app_dahdiras was deprecated in 16, to be removed in 19.
      cdr_syslog was deprecated in 16, to be removed in 19.
      chan_oss was deprecated in 16, to be removed in 19.
      chan_phone was deprecated in 16, to be removed in 19.
      chan_sip was deprecated in 17, to be removed in 21.
      chan_nbs was deprecated in 16, to be removed in 19.
      chan_misdn was deprecated in 16, to be removed in 19.
      chan_vpb was deprecated in 16, to be removed in 19.
      res_config_sqlite was deprecated in 16, to be removed in 19.
      res_monitor was deprecated in 16, to be removed in 21.
      conf2ael was deprecated in 16, to be removed in 19.
      muted was deprecated in 16, to be removed in 19.
      
      ASTERISK-29548
      ASTERISK-29549
      ASTERISK-29550
      ASTERISK-29551
      ASTERISK-29552
      ASTERISK-29553
      ASTERISK-29554
      ASTERISK-29555
      ASTERISK-29557
      ASTERISK-29558
      ASTERISK-29559
      ASTERISK-29560
      ASTERISK-29561
      ASTERISK-29562
      ASTERISK-29563
      ASTERISK-29564
      ASTERISK-29565
      ASTERISK-29566
      ASTERISK-29567
      ASTERISK-29568
      ASTERISK-29569
      ASTERISK-29570
      ASTERISK-29571
      ASTERISK-29572
      ASTERISK-29573
      ASTERISK-29574
      
      Change-Id: Ic3bee31a10d42c4b3bbc913d893f7b2a28a27131
      13fd0789
  27. 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
  28. 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
  29. Jul 27, 2021
Loading