app/controllers/ivr/recordings_controller.rb
# Public: initiates a new recording
#
# CallSid - default param from twilio (required)
initiates a new recording
CallSid - default param from twilio (required)
initiates a new recording CallSid - default param from twilio ( required )
def new_recording
    response = Twilio::TwiML::Response.new do |r|
      play_audio(r, 'recording_begin_at_beep')
      r.Record(action: ivr_recordings_re_record_prompt_url, method: 'post', 'finishOnKey' => '7')
    end
    render_twiml response
  end
def new_recording response = Twilio :: TwiML :: Response . new do | r | play_audio ( r , 'recording_begin_at_beep' ) r . Record ( action : ivr_recordings_re_record_prompt_url , method : 'post' , 'finishOnKey' => '7' ) end render_twiml response end
Public: initiates a new recording
CallSid - default param from twilio (required)
Public : initiates a new recording CallSid - default param from twilio ( required )