Tropo is part of CiscoLearn More

recordURI

This is only useful with the record method and returns either the location of a recording when working with text (e.g. when used with log) or audibly returns what was actually recorded (e.g. when used with a say on a voice call).

Examples

  record("Please leave your message at the beep.  Press pound when finished when finished to listen to your recording.", {
    beep:true,
    timeout:10,
    silenceTimeout:7,
    maxTime:60,
    terminator:'#',
    recordURI:"http://example.com/recording.js",
    transcriptionOutURI: "mailto:you@example.com",
    onRecord: function(event) {
           say("You said " + event.recordURI);
    }
});  
record "Please leave your message at the beep.  Press pound when finished to listen to your recording.", {
    :beep => true,
    :timeout => 10,
    :silenceTimeout => 7,
    :maxTime => 60,
    :terminator => "#",
    :recordURI => "http://example.com/recording.rb",
    :transcriptionOutURI => "mailto:you@example.com",
    :onRecord => lambda { |event|
               say "You said " + event.recordURI}
    }
<?php
       record("Please leave your message at the beep. Press pound when finished to listen to your recording.", array(
       "beep"=>true,
       "timeout"=>10,
       "silenceTimeout"=>7,
       "maxTime"=>60,
       "terminator" => "#",
       "recordURI" => "http://www.example.com/recording.php",
       "transcriptionOutURI" => "mailto:you@example.com",
              "onRecord"=>"recordFCN"
          )
        );
       function recordFCN($event) {
           say("You said" . $event->recordURI);
       }
?>
record("Please leave your message at the beep.  Press pound when finished to listen to your recording.", {
    "beep":true,
    "timeout":10,
    "silenceTimeout":7,
    "maxTime":60,
    "terminator":"#",
    "recordURI":"http://www.example.com/recording.py",
    "transcriptionOutURI":"mailto:you@example.com",
    "onRecord": lambda event : say("You said " + event.recordURI)
})
record("Please leave your message at the beep. Press pound when finished to listen to your recording.", [
    beep: true,
    timeout: 10,
    silenceTimeout: 7,
    maxTime: 60,
    terminator: "#",
    recordURI: "http://www.example.com/recording.groovy",
    transcriptionOutURI: "mailto:you@example.com",
    onRecord: { event->
               say("You said " + event.recordURI)}
   ])