Soporte & Consultoria

Soporte Remoto y Consultoria skype : ambiorixg12.
Nota no se brinda ningun tipo de consulta o soporte fuera del blog de forma gratuita

domingo, 14 de enero de 2018

twilio recordings

https://www.twilio.com/docs/api/voice/recording


<?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);

}

 ?>

1 comentario:

  1. tienes k explicar primero estos comandos y para k se usan, para k el lector tenga una idea.

    ResponderEliminar