<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Asterisk Reports Made Simple - SAM Reports &#187; Pbx</title>
	<atom:link href="http://samreports.com/tag/pbx/feed" rel="self" type="application/rss+xml" />
	<link>http://samreports.com</link>
	<description>Asterisk Reports Made Simple, Asterisk Reporting for Small Business, CDR Reports, Queue Reports</description>
	<lastBuildDate>Wed, 07 Dec 2011 10:41:38 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>About beta and TrixBox-Fonality</title>
		<link>http://samreports.com/blog/beta-trixboxfonality</link>
		<comments>http://samreports.com/blog/beta-trixboxfonality#comments</comments>
		<pubDate>Sat, 27 Feb 2010 02:32:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Beta]]></category>
		<category><![CDATA[Cdr]]></category>
		<category><![CDATA[Csv]]></category>
		<category><![CDATA[Csv Data]]></category>
		<category><![CDATA[Default Master]]></category>
		<category><![CDATA[Directory]]></category>
		<category><![CDATA[Fonality]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Group]]></category>
		<category><![CDATA[Help Files]]></category>
		<category><![CDATA[I Don T Care]]></category>
		<category><![CDATA[Pbx]]></category>
		<category><![CDATA[Queue]]></category>
		<category><![CDATA[Screenshot]]></category>
		<category><![CDATA[Time Stamp]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Unix Time]]></category>
		<category><![CDATA[Xxxxxxxxxx]]></category>

		<guid isPermaLink="false">http://samreports.com/?p=945</guid>
		<description><![CDATA[The first five days of beta are behind me. Some people subscribed to the Google Group and others corresponded with me only via email. Very useful feedback so far, I&#8217;m satisfied with how all is going.
Update 2011-12-07 : SAM Reports 2 supports Trixbox/Fonality without any additional modules. Take a look at our new help files.
TrixBox [...]


Related posts:<ol><li><a href='http://samreports.com/blog/version-samreports-support-trixbox-fonality-big-datasets' rel='bookmark' title='Permanent Link: New version of SamReports will support Trixbox and Fonality and Big Datasets'>New version of SamReports will support Trixbox and Fonality and Big Datasets</a> <small>The new version of SamReports is in the making, to...</small></li>
<li><a href='http://samreports.com/blog/sam-reports-2-released' rel='bookmark' title='Permanent Link: SAM Reports 2 is released!'>SAM Reports 2 is released!</a> <small>The new version, SAM Reports 2 is out! There are...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>The first five days of beta are behind me. Some people subscribed to the Google Group and others corresponded with me only via email. Very useful feedback so far, I&#8217;m satisfied with how all is going.</p>
<p><span style="background-color: #ff99cc;">Update 2011-12-07 : SAM Reports 2 supports Trixbox/Fonality without any additional modules. Take a look at our <a href="http://samreports.com/help">new help files</a>.</span></p>
<h2>TrixBox (Fonality) issues</h2>
<p>I would really like to make reading the reports from TrixBox (Fonality) a bit easier. Sam Reports generates Asterisk reports from log files that are present on every Asterisk box by default (master.csv and queue_log). TrixBox slices the log files into a bunch of small files and puts them in  date-named directories . Let me describe it in details:</p>
<h3>Master.csv</h3>
<p>It is originally just one cvs file located in<span style="background-color: #ffff99;"> /var/log/asterisk/cdr-csv/</span><span style="background-color: #ccffcc;">master.csv</span> (I don&#8217;t care about the cdr-custom at the moment). On Fonality PBX, (I&#8217;m not sure that the situation is the same on all TrixBox SKUs), the master.csv data is placed in the same directory:  <span style="background-color: #ffff99;">/var/log/asterisk/cdr-csv</span><span style="background-color: #ccffcc;">/09-10-01/</span>,  but there are additional directories created there, on a weekly basis. So (the date &#8211; <span style="background-color: #ccffcc;">09-10-01</span> &#8211; corresponds to YY-MM-DD). A new directory is  created on Monday of each week , as stated in <a title="Fonality-TrixBox master.csv" href="http://help.trixbox.com/Reporting/Cdr_reports#Saving_the_data_to_a_file">Fonality help files</a>. I have copied all the files from Fonality PBX on my local PC, and below you can see a screenshot:</p>
<div id="attachment_947" class="wp-caption aligncenter" style="width: 367px"><a href="http://samreports.com/wp-content/uploads/2010/02/fonality_cdr_csv.png"><img class="size-full wp-image-947" title="Fonality (TrixBox) master.csv" src="http://samreports.com/wp-content/uploads/2010/02/fonality_cdr_csv.png" alt="Fonality (TrixBox) master.csv" width="357" height="135" /></a><p class="wp-caption-text">Fonality (TrixBox) master.csv</p></div>
<p>In each of these directories there are thousands of master.csv parts named: <span style="background-color: #ffff99;">Master.csv.xxxxxxxxxx</span>, where the xxxxxxxxxx is a UNIX time stamp (the number of seconds  elapsed since Jan 1, 1970). One such file is created every 5 minutes, on a Fonality PBX. The file named just &#8220;<span style="text-decoration: underline;">master.csv</span>&#8220;, that you see on the figure above, is the latest log that has not yet been stored in a directory and rotated.</p>
<div id="attachment_953" class="wp-caption aligncenter" style="width: 793px"><a href="http://samreports.com/wp-content/uploads/2010/02/fonality_master_dir.png"><img class="size-full wp-image-953" title="Fonality-TrixBox master.csv parts" src="http://samreports.com/wp-content/uploads/2010/02/fonality_master_dir.png" alt="Fonality-TrixBox master.csv parts" width="783" height="130" /></a><p class="wp-caption-text">Fonality-TrixBox master.csv parts</p></div>
<h3>Queue_log</h3>
<p>Originally queue_log file is located in <span style="background-color: #ffff99;">/var/log/asterisk</span>/<span style="background-color: #ccffcc;">queue_log</span>.  On Fonality-TrixBox  it is also dissected  into many parts, in much the same way.</p>
<div id="attachment_952" class="wp-caption aligncenter" style="width: 459px"><a href="http://samreports.com/wp-content/uploads/2010/02/fonality_queue_dirs.png"><img class="size-full wp-image-952" title="Fonality-TrixBox queue_log" src="http://samreports.com/wp-content/uploads/2010/02/fonality_queue_dirs.png" alt="Fonality-TrixBox queue_log" width="449" height="152" /></a><p class="wp-caption-text">Fonality-TrixBox queue_log</p></div>
<p>The original &#8220;<span style="text-decoration: underline;">queue_log</span>&#8221; file just holds the latest 5 minutes worth of information, and all other data is in files created by the same algorithm as CDR files.</p>
<div id="attachment_954" class="wp-caption aligncenter" style="width: 771px"><a href="http://samreports.com/wp-content/uploads/2010/02/fonality_queue_parts.png"><img class="size-full wp-image-954" title="Fonality-TrixBox queue_log parts" src="http://samreports.com/wp-content/uploads/2010/02/fonality_queue_parts.png" alt="Fonality-TrixBox queue_log parts" width="761" height="124" /></a><p class="wp-caption-text">Fonality-TrixBox queue_log parts</p></div>
<h3>Merging the files</h3>
<p>One of my beta testers wanted to try Sam Reports, but got only the 5 minutes worth of data. So I decided to make a little program to merge all the disjointed files into one, master.csv and queue_log respectively. If you ever have such need, you can download the file here: <a title="Fonality Log Files Merge" href="http://samreports.com/downloads/fonalitymerge.zip">FonalityMerge</a>.</p>
<ul>
<li>It requires that you have copied all the log files and directories from your Fonality box, somewhere on your local disk.</li>
<li>Then you merge the files with <a title="Fonality Log Files Merge" href="http://samreports.com/downloads/fonalitymerge.zip">FonalityMerge</a></li>
<li>And you get your master.csv and queue_log</li>
</ul>
<p>Now you can process the log files with Sam Reports and see your reports.</p>
<h3>Further improvement</h3>
<p>If I get enough inquiries for TrixBox/Fonality support I may opt to do one of the things:</p>
<ul>
<li>Make the transfer of directories from Fonality-TrixBox available with a click of a button. That would take into account just the diff between directories and files (the directories and files already present on the local disk would not be transferred any more)</li>
<li>Or go for the database option and connect directly to the MySQL database with the logs. To do that I would need a working TrixBox with a database that contains <strong>meaningful</strong> data.  Meaningful means real data generated by using a system for 5-6 month, at least.</li>
</ul>
<p>It would be great<span style="background-color: #ffffff;"> if someone could <a title="More details here-&gt;" href="http://samreports.com/blog/vm-operational-trixboxfonality">provide me with a virtual machine of a TrixBox PBX</a> that has been operational for some time.</span> I know it&#8217;s a long shot. I would be veeeery grateful.</p>


<p>Related posts:<ol><li><a href='http://samreports.com/blog/version-samreports-support-trixbox-fonality-big-datasets' rel='bookmark' title='Permanent Link: New version of SamReports will support Trixbox and Fonality and Big Datasets'>New version of SamReports will support Trixbox and Fonality and Big Datasets</a> <small>The new version of SamReports is in the making, to...</small></li>
<li><a href='http://samreports.com/blog/sam-reports-2-released' rel='bookmark' title='Permanent Link: SAM Reports 2 is released!'>SAM Reports 2 is released!</a> <small>The new version, SAM Reports 2 is out! There are...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://samreports.com/blog/beta-trixboxfonality/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Calls By Hour / Quarter (CDR Reports)</title>
		<link>http://samreports.com/tour/calls-hour-quarter-cdr-reports</link>
		<comments>http://samreports.com/tour/calls-hour-quarter-cdr-reports#comments</comments>
		<pubDate>Tue, 09 Feb 2010 08:46:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tour]]></category>
		<category><![CDATA[Cdr]]></category>
		<category><![CDATA[CDR Report]]></category>
		<category><![CDATA[Curve]]></category>
		<category><![CDATA[Hour]]></category>
		<category><![CDATA[Pbx]]></category>
		<category><![CDATA[Quarter]]></category>
		<category><![CDATA[Quarters]]></category>
		<category><![CDATA[Report]]></category>
		<category><![CDATA[Traffic]]></category>

		<guid isPermaLink="false">http://samreports.com/?p=592</guid>
		<description><![CDATA[On this view wee see the overall call traffic displayed by hours and quarters. All four quarters follow pretty much the same hourly curve, but some are more  loaded than others. The area chart smoothly depicts the rising  of traffic by quarters as well as the hourly bell like curve. Since this is a CDR [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>On this view wee see the overall call traffic displayed by hours and quarters. All four quarters follow pretty much the same hourly curve, but some are more  loaded than others. The area <a title="SAM Reports Chart" href="http://samreports.com/online-help/aterisk-reports#reportchart">chart</a> smoothly depicts the rising  of traffic by quarters as well as the hourly bell like curve. Since this is a <a title="Asterisk CDR Reports By SAM Reports" href="http://samreports.com/online-help/cdr-reports">CDR report</a> view we can see how the entire traffic of our PBX behaved in terms of quarters and hours too.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://samreports.com/tour/calls-hour-quarter-cdr-reports/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

