<?php
//require_once("ipfilter.php");
// Required if your environment does not handle autoloading
require __DIR__ . '/vendor/autoload.php';
// Use the REST API Client to make requests to the Twilio REST API
use Twilio\Rest\Client;
// Your Account SID and Auth Token from twilio.com/console
$sid = 'ACab9bdb1111111eb1f';
$token = 'bcbc19496011111763370e58832';
$recording_sid="RE7ffa59d2224ff863822315fd1cf6";
$client = new Client($sid, $token);
// Loop over the list of recordings and echo a property for each one
foreach ($client->recordings->read() as $recording) {
echo " Duration $recording->duration<br>";
echo " Duration $recording->sid<br>";
echo " $recording->uri <br>";
print_r($recording);
}
?>
tienes k explicar primero estos comandos y para k se usan, para k el lector tenga una idea.
ResponderEliminar