<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 2: Record File offset</title><link href="https://sourceforge.net/p/phpagi/feature-requests/2/" rel="alternate"/><link href="https://sourceforge.net/p/phpagi/feature-requests/2/feed.atom" rel="self"/><id>https://sourceforge.net/p/phpagi/feature-requests/2/</id><updated>2005-03-15T21:26:15Z</updated><subtitle>Recent changes to 2: Record File offset</subtitle><entry><title>Record File offset</title><link href="https://sourceforge.net/p/phpagi/feature-requests/2/" rel="alternate"/><published>2005-03-15T21:26:15Z</published><updated>2005-03-15T21:26:15Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net303decb6eff7dc915b10076585cd81449d69be7f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When recording a file, your function does not take an &lt;br /&gt;
offset.  Asterisk supports it.  I fixed my copy, but &lt;br /&gt;
thought you might like to add it.  Here is the function. 2 &lt;br /&gt;
lines changed.&lt;/p&gt;
&lt;p&gt;function record_file($file, $format, $escape_digits='', &lt;br /&gt;
$timeout=-1, $beep=false, $silence=NULL, $offset=0)&lt;br /&gt;
{&lt;br /&gt;
$cmd = "RECORD FILE $file $format &lt;br /&gt;
\"$escape_digits\" $timeout";&lt;br /&gt;
if($offset&amp;gt;0) $cmd .= " $offset";&lt;br /&gt;
if($beep) $cmd .= ' BEEP';&lt;br /&gt;
if(!is_null($silence)) $cmd .= " s=$silence";&lt;br /&gt;
return $this-&amp;gt;evaluate($cmd);&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;// these changed.&lt;/p&gt;
&lt;p&gt;function record_file($file, $format, $escape_digits='', &lt;br /&gt;
$timeout=-1, $beep=false, $silence=NULL, $offset=0)&lt;/p&gt;
&lt;p&gt;if($offset&amp;gt;0) $cmd .= " $offset";&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>