Skip to content
Snippets Groups Projects
  • David M. Lee's avatar
    c7908487
    ARI: Add recording controls · c7908487
    David M. Lee authored
    This patch implements the controls from ARI recordings. The controls
    are:
    
     * DELETE /recordings/live/{recordingName} - stop recording and
       discard it
     * POST /recordings/live/{recordingName}/stop - stop recording
     * POST /recordings/live/{recordingName}/pause - pause recording
     * POST /recordings/live/{recordingName}/unpause - resume recording
     * POST /recordings/live/{recordingName}/mute - mute recording (record
       silence to the file)
     * POST /recordings/live/{recordingName}/unmute - unmute recording.
    
    Since this underlying functionality did not already exist, is was
    added to app.c by a set of control frames, similar to how playback
    control works. The pause/mute control frames are toggles, even though
    the ARI controls are idempotent, to be consistent with the playback
    control frames.
    
    (closes issue ASTERISK-22181)
    Review: https://reviewboard.asterisk.org/r/2697/
    
    
    git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
    c7908487
    History
    ARI: Add recording controls
    David M. Lee authored
    This patch implements the controls from ARI recordings. The controls
    are:
    
     * DELETE /recordings/live/{recordingName} - stop recording and
       discard it
     * POST /recordings/live/{recordingName}/stop - stop recording
     * POST /recordings/live/{recordingName}/pause - pause recording
     * POST /recordings/live/{recordingName}/unpause - resume recording
     * POST /recordings/live/{recordingName}/mute - mute recording (record
       silence to the file)
     * POST /recordings/live/{recordingName}/unmute - unmute recording.
    
    Since this underlying functionality did not already exist, is was
    added to app.c by a set of control frames, similar to how playback
    control works. The pause/mute control frames are toggles, even though
    the ARI controls are idempotent, to be consistent with the playback
    control frames.
    
    (closes issue ASTERISK-22181)
    Review: https://reviewboard.asterisk.org/r/2697/
    
    
    git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396331 65c4cc65-6c06-0410-ace0-fbb531ad65f3