Skip to content
Snippets Groups Projects
  1. 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
  2. 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
  3. Jul 27, 2021
  4. Jul 15, 2021
  5. 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
  6. 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
  7. 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
  8. 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
      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
  9. May 19, 2021
    • Naveen Albert's avatar
      app_voicemail: Configurable voicemail beep · bfc25e5d
      Naveen Albert authored
      Hitherto, VoiceMail() played a non-customizable beep tone to indicate
      the caller could leave a message. In some cases, the beep may not
      be desired, or a different tone may be desired.
      
      To increase flexibility, a new option allows customization of the tone.
      If the t option is specified, the default beep will be overridden.
      Supplying an argument will cause it to use the specified file for the tone,
      and omitting it will cause it to skip the beep altogether. If the option
      is not used, the default behavior persists.
      
      ASTERISK-29349
      
      Change-Id: I1c439c0011497e28a28067fc1cf1e654c8843280
      bfc25e5d
  10. Mar 23, 2021
    • Sean Bright's avatar
      app_queue.c: Remove dead 'updatecdr' code. · e27fa9ec
      Sean Bright authored
      Also removed the sample documentation, and some oddly-placed
      documentation about the timeout argument to the Queue() application
      itself. There is a large section on the timeout behavior below.
      
      ASTERISK-26614 #close
      
      Change-Id: I8f84e8304b50305b7c4cba2d9787a5d77c3a6217
      e27fa9ec
  11. Mar 22, 2021
  12. Mar 16, 2021
    • Joshua C. Colp's avatar
      documentation: Fix non-matching module support levels. · be3e469f
      Joshua C. Colp authored
      Some modules have a different support level documented in their
      MODULEINFO XML and Asterisk module definition. This change
      brings the two in sync for the modules which were not matching.
      
      ASTERISK-29336
      
      Change-Id: If2f819103d4a271e2e0624ef4db365e897fa3d35
      be3e469f
    • Joshua C. Colp's avatar
      xml: Embed module information into core XML documentation. · 60800b03
      Joshua C. Colp authored
      This change embeds the MODULEINFO block of modules
      into the core XML documentation. This provides a shared
      mechanism for use by both menuselect and Asterisk for
      information and a definitive source of truth.
      
      ASTERISK-29335
      
      Change-Id: Ifbfd5c700049cf320a3e45351ac65dd89bc99d90
      60800b03
  13. Mar 10, 2021
  14. Feb 26, 2021
  15. Feb 23, 2021
  16. Feb 04, 2021
  17. Jan 27, 2021
    • Dan Cropp's avatar
      chan_pjsip, app_transfer: Add TRANSFERSTATUSPROTOCOL variable · 08881628
      Dan Cropp authored
      When a Transfer/REFER is executed, TRANSFERSTATUSPROTOCOL variable is
      0 when no protocl specific error
      SIP example of failure, 3xx-6xx for the SIP error code received
      
      This allows applications to perform actions based on the failure
      reason.
      
      ASTERISK-29252 #close
      Reported-by: Dan Cropp
      
      Change-Id: Ia6a94784b4925628af122409cdd733c9f29abfc4
      08881628
  18. Jan 06, 2021
    • Kevin Harwell's avatar
      app_mixmonitor: cleanup datastore when monitor thread fails to launch · 0e1ba9a7
      Kevin Harwell authored
      launch_monitor_thread is responsible for creating and initializing
      the mixmonitor, and dependent data structures. There was one off
      nominal path after the datastore gets created that triggers when
      the channel being monitored is hung up prior to monitor starting
      itself.
      
      If this happened the monitor thread would not "launch", and the
      mixmonitor object and associated objects are freed, including the
      underlying datastore data object. However, the datastore itself was
      not removed from the channel, so when the channel eventually gets
      destroyed it tries to access the previously freed datastore data
      and crashes.
      
      This patch removes and frees datastore object itself from the channel
      before freeing the mixmonitor object thus ensuring the channel does
      not call it when destroyed.
      
      ASTERISK-28947 #close
      
      Change-Id: Id4f9e958956d62473ed5ff06c98ae3436e839ff8
      0e1ba9a7
    • Sean Bright's avatar
      app_voicemail: Prevent deadlocks when out of ODBC database connections · 9ff548f1
      Sean Bright authored
      ASTERISK-28992 #close
      
      Change-Id: Ia7d608924036139ee2520b840d077762d02668d0
      9ff548f1
  19. Dec 17, 2020
    • Sean Bright's avatar
      app_chanspy: Spyee information missing in ChanSpyStop AMI Event · 13682210
      Sean Bright authored
      The documentation in the wiki says there should be spyee-channel
      information elements in the ChanSpyStop AMI event.
      
          https://wiki.asterisk.org/wiki/x/Xc5uAg
      
      However, this is not the case in Asterisk <= 16.10.0 Version. We're
      using these Spyee* arguments since Asterisk 11.x, so these arguments
      vanished in Asterisk 12 or higher.
      
      For maximum compatibility, we still send the ChanSpyStop event even if
      we are not able to find any 'Spyee' information.
      
      ASTERISK-28883 #close
      
      Change-Id: I81ce397a3fd614c094d043ffe5b1b1d76188835f
      13682210
  20. Dec 01, 2020
  21. Nov 12, 2020
    • George Joseph's avatar
      app_queue: Fix deadlock between update and show queues · 24135987
      George Joseph authored
      Operations that update queues when shared_lastcall is set lock the
      queue in question, then have to lock the queues container to find the
      other queues with the same member. On the other hand, __queues_show
      (which is called by both the CLI and AMI) does the reverse. It locks
      the queues container, then iterates over the queues locking each in
      turn to display them.  This creates a deadlock.
      
      * Moved queue print logic from __queues_show to a separate function
        that can be called for a single queue.
      
      * Updated __queues_show so it doesn't need to lock or traverse
        the queues container to show a single queue.
      
      * Updated __queues_show to snap a copy of the queues container and iterate
        over that instead of locking the queues container and iterating over
        it while locked.  This prevents us from having to hold both the
        container lock and the queue locks at the same time.  This also
        allows us to sort the queue entries.
      
      ASTERISK-29155
      
      Change-Id: I78d4dc36728c2d7bc187b97d82673fc77f2bcf41
      24135987
  22. Nov 03, 2020
  23. Oct 02, 2020
  24. Sep 01, 2020
    • Kfir Itzhak's avatar
      app_queue: Fix leave-empty not recording a call as abandoned · c83e4821
      Kfir Itzhak authored
      This fixes a bug introduced mistakenly in ASTERISK-25665:
      If leave-empty is enabled, a call may sometimes be removed from
      a queue without recording it as abandoned.
      This causes Asterisk to not generate an abandon event for that
      call, and for the queue abandoned counter to be incorrect.
      
      ASTERISK-29043 #close
      
      Change-Id: I1a71b81df78adff59af587f1d8483cf57df430c7
      c83e4821
  25. Aug 25, 2020
    • Evandro César Arruda's avatar
      app_queue: Member lastpause time reseting · 36dd15c6
      Evandro César Arruda authored
      This fixes the reseting members lastpause problem when realtime members is being used,
      the function rt_handle_member_record was forcing the reset members lastpause because it
      does not exist in realtime
      
      ASTERISK-29034 #close
      
      Change-Id: Ic9107e4456732a1f78412a32adb2ef87f5da40b5
      36dd15c6
    • Sean Bright's avatar
      app_voicemail: Process urgent messages with mailcmd · b5758680
      Sean Bright authored
      Rather than putting messages into INBOX and then moving them to Urgent
      later, put them directly in to the Urgent folder. This prevents
      mailcmd from being skipped.
      
      ASTERISK-27273 #close
      
      Change-Id: I49934e093290d308506ab8d45a40ef705c5ae4f5
      b5758680
    • George Joseph's avatar
      scope_trace: Added debug messages and added additional macros · c4c72d55
      George Joseph authored
      The SCOPE_ENTER and SCOPE_EXIT* macros now print debug messages
      at the same level as the scope level.  This allows the same
      messages to be printed to the debug log when AST_DEVMODE
      isn't enabled.
      
      Also added a few variants of the SCOPE_EXIT macros that will
      also call ast_log instead of ast_debug to make it easier to
      use scope tracing and still print error messages.
      
      Change-Id: I7fe55f7ec28069919a0fc0b11a82235ce904cc21
      c4c72d55
  26. Aug 18, 2020
    • George Joseph's avatar
      ACN: Changes specific to the core · 6faf7630
      George Joseph authored
      Allow passing a topology from the called channel back to the
      calling channel.
      
       * Added a new function ast_queue_answer() that accepts a stream
         topology and queues an ANSWER CONTROL frame with it as the
         data.  This allows the called channel to indicate its resolved
         topology.
      
       * Added a new virtual function to the channel tech structure
         answer_with_stream_topology() that allows the calling channel
         to receive the called channel's topology.  Added
         ast_raw_answer_with_stream_topology() that invokes that virtual
         function.
      
       * Modified app_dial.c and features.c to grab the topology from the
         ANSWER frame queued by the answering channel and send it to
         the calling channel with ast_raw_answer_with_stream_topology().
      
       * Modified frame.c to automatically cleanup the reference
         to the topology on ANSWER frames.
      
      Added a few debugging messages to stream.c.
      
      Change-Id: I0115d2ed68d6bae0f87e85abcf16c771bdaf992c
      6faf7630
  27. Jul 09, 2020
  28. Jul 08, 2020
    • George Joseph's avatar
      ACN: Add tracing to existing code · 9bd1d686
      George Joseph authored
      Prior to making any modifications to the pjsip infrastructure
      for ACN, I've added the tracing functions to the existing code.
      This should make the final commit easier to review, but we can also
      now run a "before and after" trace.
      
      No functional changes were made with this commit.
      
      Change-Id: Ia83a1a2687ccb96f2bc8a2a3928a5214c4be775c
      9bd1d686
  29. Jun 19, 2020
    • Joshua C. Colp's avatar
      app_stream_echo: Fix state of added streams. · 00a52b47
      Joshua C. Colp authored
      When stream support was added to Asterisk the stream state
      was used inconsistently, resulting in odd behavior. This
      was then standardized to be the state of a stream from the
      perspective of Asterisk.
      
      This change updates the StreamEcho dialplan application
      to use the correct state, send only, since we are only
      sending to the endpoint and not expecting them to send us
      multiple video streams.
      
      ASTERISK-28954
      
      Change-Id: I35bfd533ef1184ffe62586b22bbd253c82872a56
      00a52b47
  30. Jun 17, 2020
  31. Jun 16, 2020
    • Walter Doekes's avatar
      app_queue: Read latest wrapuptime instead of (possibly stale) copy · 0fb67383
      Walter Doekes authored
      Before this changeset, it was possible that a queue member (agent) was
      called even though they just got out of a call, and wrapuptime seconds
      hadn't passed yet.
      
      This could happen if a member ended a call _between_ a new call attempt
      and asterisk trying that particular member for a new call.
      
      In that case, Asterisk would check the hangup time of the
      call-before-the-last-call instead of the hangup time of the-last-call.
      
      ASTERISK-28952
      
      Change-Id: Ie0cab8f0e8d639c01cba633d4968ba19873d80b3
      0fb67383
  32. Jun 10, 2020
Loading