I need to retrieve the transcription of a recording done with the Record Twiml verb but I can't get it to work.
Here's what I've tried:
1. call.php
<Response>
<Record maxLength="5" transcribe="true" action="getTranscription.php" />
</Response>
2. getTranscription.php
<Response>
<Say>Here's your audio recording transcription: <?php echo $_REQUEST['TranscriptionText']; ?></Say>
</Response>
I have no problem recording voice and playing it back with the following code:
1. call.php
<Response>
<Record action="getRecording.php" />
</Response>
2. getRecording.php
<Response>
<Say language="fr-CA">Here's your audio recording.</Say>
<Play><?php echo $_REQUEST['RecordingUrl']; ?></Play>
</Response>
It would be really appreciated if you guys could give me some hints on how to get the transcription back. Thanks a lot!