<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Recordings form]]></title><description><![CDATA[<p dir="auto">It would be great to add a field to the recordings form, allowing the end user to add a note regarding the recording.  This would allow the end user to more easily find the recording later.</p>
]]></description><link>http://localhost:4567/topic/1794/recordings-form</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 07:27:12 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/1794.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 05 Aug 2014 14:05:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Recordings form on Wed, 06 Aug 2014 20:43:36 GMT]]></title><description><![CDATA[<p dir="auto">ooops, yes... you have to edit recording_fop2.pl as the INSERT query there does not have the new field, and thus fails.</p>
<p dir="auto">You will see a line like this:</p>
<p dir="auto">$query = "INSERT INTO $MYSQLTABLE VALUES ('','$uniqueid',now(),'$whorecorded','$whomrecorded','$finalrecording','$duration','$context');";</p>
<p dir="auto">Just add the empty value for note, if its the last field on the table it should look like:</p>
<p dir="auto">$query = "INSERT INTO $MYSQLTABLE VALUES ('','$uniqueid',now(),'$whorecorded','$whomrecorded','$finalrecording','$duration','$context','');";</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/7763</link><guid isPermaLink="true">http://localhost:4567/post/7763</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 06 Aug 2014 20:43:36 GMT</pubDate></item><item><title><![CDATA[Reply to Recordings form on Wed, 06 Aug 2014 20:33:30 GMT]]></title><description><![CDATA[<p dir="auto">Since making these changes, it does not appear that I can add new recordings.</p>
<p dir="auto">Pressing the record button acts normal, but when you go to the recordings menu, no new recordings are there.</p>
]]></description><link>http://localhost:4567/post/7762</link><guid isPermaLink="true">http://localhost:4567/post/7762</guid><dc:creator><![CDATA[busster8]]></dc:creator><pubDate>Wed, 06 Aug 2014 20:33:30 GMT</pubDate></item><item><title><![CDATA[Reply to Recordings form on Wed, 06 Aug 2014 19:56:18 GMT]]></title><description><![CDATA[<p dir="auto">changed a false to true in php.  now working.</p>
]]></description><link>http://localhost:4567/post/7761</link><guid isPermaLink="true">http://localhost:4567/post/7761</guid><dc:creator><![CDATA[busster8]]></dc:creator><pubDate>Wed, 06 Aug 2014 19:56:18 GMT</pubDate></item><item><title><![CDATA[Reply to Recordings form on Wed, 06 Aug 2014 19:50:04 GMT]]></title><description><![CDATA[<p dir="auto">This works so see the note field, but I am unable to edit or add to the note field.</p>
]]></description><link>http://localhost:4567/post/7760</link><guid isPermaLink="true">http://localhost:4567/post/7760</guid><dc:creator><![CDATA[busster8]]></dc:creator><pubDate>Wed, 06 Aug 2014 19:50:04 GMT</pubDate></item><item><title><![CDATA[Reply to Recordings form on Tue, 05 Aug 2014 21:12:09 GMT]]></title><description><![CDATA[<p dir="auto">It is not that hard to do it yourself, the code is there to tweak. I will write directly here, this is untested, it might contain typos or little errors.</p>
<p dir="auto">You must add a new column into the mysql table, something like:</p>
<pre><code>mysql -u root -p asterisk -e "ALTER TABLE fop2recordings ADD note text"
</code></pre>
<p dir="auto">After the table has the new field, edit the file /var/www/html/fop2/recordings.php . Find the line:</p>
<pre><code>$grid-&gt;set_fields('id,uniqueid,datetime,ownerextension,targetextension,duration,context,filename');
</code></pre>
<p dir="auto">And add your new field there:</p>
<pre><code>$grid-&gt;set_fields('id,uniqueid,datetime,ownerextension,targetextension,duration,context,note,filename');
</code></pre>
<p dir="auto">And to include the field in the search query, find the line:</p>
<pre><code>$grid-&gt;set_search_fields(array('ownerextension','targetextension','datetime','duration'));
</code></pre>
<p dir="auto">And add your field there too:</p>
<pre><code>$grid-&gt;set_search_fields(array('ownerextension','targetextension','datetime','duration','note'));
</code></pre>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/7759</link><guid isPermaLink="true">http://localhost:4567/post/7759</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 05 Aug 2014 21:12:09 GMT</pubDate></item></channel></rss>