public function showPlay(Request $request) { $recordingUrl = $request->input('recording_url'); $response = new Twiml(); $response->play($recordingUrl); return response($response)->header('Content-Type', 'application/xml'); }