title: How to get Twilio Recording file in PHP
body: <p>I am using Twilio application. I want to get the path of my recording. I am using this code:</p>
  
  <pre><code>$client = new Services_Twilio($sid, $token, $version);
  
  $calls = $client-&gt;account-&gt;calls-&gt;getIterator(0, 50, array(      
  )); 
  
  $url = $call-&gt;subresource_uris-&gt;recordings;
  </code></pre>
  
  <p>in the variable <code>$url</code> <code>/2010-04-01/Accounts/&lt;acount id&gt;/Calls/callerid/Recordings.json</code></p>
  
  <p>But when i paste this url <code>"https://api.twilio.com/2010-04-01/Accounts/&lt;acount id&gt;/Calls/callerid/Recordings.json"</code> it gives me alert popup to enter user name and password.</p>
  
  <p>Basically i want this file to save on my system</p>