<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
  <title>Asterisell</title>
  <link>http://asterisell.profitoss.com</link>
  <description>Asterisell is a open source web application for viewing, rating and billing Asterisk VoIP calls. 
</description>
  <language>en-us</language>
  <lastBuildDate>Sun, 29 Jun 2008 22:06:11 +02:00</lastBuildDate>
  <generator>Rassmalog</generator>

  <item>
    <title>asterisell-testing-0.9.8 release</title>
    <link>http://asterisell.profitoss.com/2008-06-29-asterisell-testing-0.9.8-release.html</link>
    <description>&lt;p&gt;Fixed a bug about rates displaying.&lt;/p&gt;


	&lt;p&gt;If you update remember to execute &amp;#8221;./symfony cc&amp;#8221; inside Asterisell root directory.&lt;/p&gt;</description>
    <pubDate>Sun, 29 Jun 2008 00:00:00 +00:00</pubDate>
  
    <guid>http://asterisell.profitoss.com/2008-06-29-asterisell-testing-0.9.8-release.html</guid>
  
    <comments>&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#105;&#110;&#102;&#111;&#64;&#97;&#115;&#116;&#101;&#114;&#105;&#115;&#101;&#108;&#108;&#46;&#112;&#114;&#111;&#102;&#105;&#116;&#111;&#115;&#115;&#46;&#99;&#111;&#109;?subject=%5BRassmalog%5D%20asterisell-testing-0.9.8%20release&amp;body=http%3A%2F%2Fasterisell.profitoss.com%2F2008-06-29-asterisell-testing-0.9.8-release.html</comments>
  
  </item>

  <item>
    <title>Unsupported Project</title>
    <link>http://asterisell.profitoss.com/2008-06-15-unsupported-project.html</link>
    <description>&lt;p&gt;Sorry, I have no more time to support this project.&lt;/p&gt;


	&lt;p&gt;If there is someone interested to become the new maintainer I can help him.&lt;/p&gt;</description>
    <pubDate>Sun, 15 Jun 2008 00:00:00 +00:00</pubDate>
  
    <guid>http://asterisell.profitoss.com/2008-06-15-unsupported-project.html</guid>
  
    <comments>&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#105;&#110;&#102;&#111;&#64;&#97;&#115;&#116;&#101;&#114;&#105;&#115;&#101;&#108;&#108;&#46;&#112;&#114;&#111;&#102;&#105;&#116;&#111;&#115;&#115;&#46;&#99;&#111;&#109;?subject=%5BRassmalog%5D%20Unsupported%20Project&amp;body=http%3A%2F%2Fasterisell.profitoss.com%2F2008-06-15-unsupported-project.html</comments>
  
  </item>

  <item>
    <title>asterisell-testing-0.9.7 release</title>
    <link>http://asterisell.profitoss.com/2008-02-11-asterisell-testing-0.9.7-release.html</link>
    <description>&lt;ul&gt;
	&lt;li&gt;fixed a bug about user viewable CDRs;&lt;/li&gt;
	&lt;li&gt;account code is now 30 chars for both &lt;span class=&quot;caps&quot;&gt;CDR&lt;/span&gt; table and AR_ASTERISK_ACCOUNT table;&lt;/li&gt;
&lt;/ul&gt;

	&lt;p&gt;&amp;#8220;user_viewable_cdr&amp;#8221; was removed from &amp;#8220;apps/asterisell/config/app.yml&amp;#8221;.
Now Asterisell displays all (only) the &amp;#8220;billable_cdr&amp;#8221; calls.&lt;/p&gt;


	&lt;p&gt;If you update remember to execute &amp;#8221;./symfony cc&amp;#8221; inside Asterisell root directory.&lt;/p&gt;</description>
    <pubDate>Mon, 11 Feb 2008 00:00:00 +00:00</pubDate>
  
    <guid>http://asterisell.profitoss.com/2008-02-11-asterisell-testing-0.9.7-release.html</guid>
  
    <comments>&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#105;&#110;&#102;&#111;&#64;&#97;&#115;&#116;&#101;&#114;&#105;&#115;&#101;&#108;&#108;&#46;&#112;&#114;&#111;&#102;&#105;&#116;&#111;&#115;&#115;&#46;&#99;&#111;&#109;?subject=%5BRassmalog%5D%20asterisell-testing-0.9.7%20release&amp;body=http%3A%2F%2Fasterisell.profitoss.com%2F2008-02-11-asterisell-testing-0.9.7-release.html</comments>
  
  </item>

  <item>
    <title>asterisell-testing-0.9.6 release</title>
    <link>http://asterisell.profitoss.com/2008-02-06-asterisell-testing-0.9.6-release.html</link>
    <description>&lt;ul&gt;
	&lt;li&gt;configuration files are not overwritten during upgrade;&lt;/li&gt;
	&lt;li&gt;added a &amp;#8220;rate per minute&amp;#8221; method;&lt;/li&gt;
&lt;/ul&gt;</description>
    <pubDate>Wed, 06 Feb 2008 00:00:00 +00:00</pubDate>
  
    <guid>http://asterisell.profitoss.com/2008-02-06-asterisell-testing-0.9.6-release.html</guid>
  
    <comments>&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#105;&#110;&#102;&#111;&#64;&#97;&#115;&#116;&#101;&#114;&#105;&#115;&#101;&#108;&#108;&#46;&#112;&#114;&#111;&#102;&#105;&#116;&#111;&#115;&#115;&#46;&#99;&#111;&#109;?subject=%5BRassmalog%5D%20asterisell-testing-0.9.6%20release&amp;body=http%3A%2F%2Fasterisell.profitoss.com%2F2008-02-06-asterisell-testing-0.9.6-release.html</comments>
  
  </item>

  <item>
    <title>asterisell-testing-0.9.5 release</title>
    <link>http://asterisell.profitoss.com/2007-12-12-asterisell-testing-0.9.5-release.html</link>
    <description>&lt;ul&gt;
	&lt;li&gt;fixed another bug about invoice generation with total less than 1.00;&lt;/li&gt;
&lt;/ul&gt;</description>
    <pubDate>Wed, 12 Dec 2007 00:00:00 +00:00</pubDate>
  
    <guid>http://asterisell.profitoss.com/2007-12-12-asterisell-testing-0.9.5-release.html</guid>
  
    <comments>&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#105;&#110;&#102;&#111;&#64;&#97;&#115;&#116;&#101;&#114;&#105;&#115;&#101;&#108;&#108;&#46;&#112;&#114;&#111;&#102;&#105;&#116;&#111;&#115;&#115;&#46;&#99;&#111;&#109;?subject=%5BRassmalog%5D%20asterisell-testing-0.9.5%20release&amp;body=http%3A%2F%2Fasterisell.profitoss.com%2F2007-12-12-asterisell-testing-0.9.5-release.html</comments>
  
  </item>

  <item>
    <title>asterisell-testing-0.9.3 release</title>
    <link>http://asterisell.profitoss.com/2007-06-28-asterisell-testing-0.9.3-release.html</link>
    <description>Fixed:
&lt;ul&gt;
	&lt;li&gt;upgraded from &amp;#8220;symfony 1.0.4&amp;#8221; to &amp;#8220;symfony 1.0.5&amp;#8221; framework;&lt;/li&gt;
	&lt;li&gt;many improvements to the online help;&lt;/li&gt;
	&lt;li&gt;invoices are now generated using customers locale;&lt;/li&gt;
&lt;/ul&gt;</description>
    <pubDate>Thu, 28 Jun 2007 00:00:00 +00:00</pubDate>
  
    <guid>http://asterisell.profitoss.com/2007-06-28-asterisell-testing-0.9.3-release.html</guid>
  
    <comments>&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#105;&#110;&#102;&#111;&#64;&#97;&#115;&#116;&#101;&#114;&#105;&#115;&#101;&#108;&#108;&#46;&#112;&#114;&#111;&#102;&#105;&#116;&#111;&#115;&#115;&#46;&#99;&#111;&#109;?subject=%5BRassmalog%5D%20asterisell-testing-0.9.3%20release&amp;body=http%3A%2F%2Fasterisell.profitoss.com%2F2007-06-28-asterisell-testing-0.9.3-release.html</comments>
  
  </item>

  <item>
    <title>Asterisell forum</title>
    <link>http://asterisell.profitoss.com/2007-06-26-asterisell-forum.html</link>
    <description>&lt;p&gt;Now there is a &lt;a href=&quot;http://groups.google.it/group/asterisell/topics&quot;&gt;forum&lt;/a&gt; about Asterisell configuration and usage.&lt;/p&gt;</description>
    <pubDate>Tue, 26 Jun 2007 00:00:00 +00:00</pubDate>
  
    <guid>http://asterisell.profitoss.com/2007-06-26-asterisell-forum.html</guid>
  
    <comments>&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#105;&#110;&#102;&#111;&#64;&#97;&#115;&#116;&#101;&#114;&#105;&#115;&#101;&#108;&#108;&#46;&#112;&#114;&#111;&#102;&#105;&#116;&#111;&#115;&#115;&#46;&#99;&#111;&#109;?subject=%5BRassmalog%5D%20Asterisell%20forum&amp;body=http%3A%2F%2Fasterisell.profitoss.com%2F2007-06-26-asterisell-forum.html</comments>
  
  </item>

  <item>
    <title>asterisell-0.9.2-testing release</title>
    <link>http://asterisell.profitoss.com/2007-06-20-asterisell-0.9.2-testing-release.html</link>
    <description>Fixed:
&lt;ul&gt;
	&lt;li&gt;upgrade to &amp;#8220;symfony 1.0.4&amp;#8221; framework;&lt;/li&gt;
	&lt;li&gt;null telephone operators prefixes;&lt;/li&gt;
	&lt;li&gt;online help;&lt;/li&gt;
	&lt;li&gt;home page improvements;&lt;/li&gt;
&lt;/ul&gt;</description>
    <pubDate>Wed, 20 Jun 2007 00:00:00 +00:00</pubDate>
  
    <guid>http://asterisell.profitoss.com/2007-06-20-asterisell-0.9.2-testing-release.html</guid>
  
    <comments>&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#105;&#110;&#102;&#111;&#64;&#97;&#115;&#116;&#101;&#114;&#105;&#115;&#101;&#108;&#108;&#46;&#112;&#114;&#111;&#102;&#105;&#116;&#111;&#115;&#115;&#46;&#99;&#111;&#109;?subject=%5BRassmalog%5D%20asterisell-0.9.2-testing%20release&amp;body=http%3A%2F%2Fasterisell.profitoss.com%2F2007-06-20-asterisell-0.9.2-testing-release.html</comments>
  
  </item>

  <item>
    <title>asterisell-0.9.1-testing release</title>
    <link>http://asterisell.profitoss.com/2007-06-09-asterisell-0.9.1-testing-release.html</link>
    <description>Fixed:
&lt;ul&gt;
	&lt;li&gt;rating of calls on different Asterisk destination channels;&lt;/li&gt;
	&lt;li&gt;download of &lt;span class=&quot;caps&quot;&gt;CSV&lt;/span&gt; and Excel files using Internet Explorer;&lt;/li&gt;
	&lt;li&gt;upgrade to &amp;#8220;symfony 1.0.3&amp;#8221; framework;&lt;/li&gt;
&lt;/ul&gt;</description>
    <pubDate>Sat, 09 Jun 2007 00:00:00 +00:00</pubDate>
  
    <guid>http://asterisell.profitoss.com/2007-06-09-asterisell-0.9.1-testing-release.html</guid>
  
    <comments>&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#105;&#110;&#102;&#111;&#64;&#97;&#115;&#116;&#101;&#114;&#105;&#115;&#101;&#108;&#108;&#46;&#112;&#114;&#111;&#102;&#105;&#116;&#111;&#115;&#115;&#46;&#99;&#111;&#109;?subject=%5BRassmalog%5D%20asterisell-0.9.1-testing%20release&amp;body=http%3A%2F%2Fasterisell.profitoss.com%2F2007-06-09-asterisell-0.9.1-testing-release.html</comments>
  
  </item>

  <item>
    <title>Development</title>
    <link>http://asterisell.profitoss.com/2007-06-01-development.html</link>
    <description>&lt;h1&gt;Symfony Framework&lt;/h1&gt;

	&lt;p&gt;Asterisell uses the &lt;a href=&quot;http://www.symfony-project.com&quot;&gt;Symfony &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; framework&lt;/a&gt; wich is a well documented and designed framework.&lt;/p&gt;


	&lt;h2&gt;Installation&lt;/h2&gt;

	&lt;p&gt;Asterisell distribution contanins a &amp;#8220;snapshot&amp;#8221; of the Symfony framework.&lt;/p&gt;


	&lt;p&gt;If you want to use the most recent version of Symfony framework you can install it through the &lt;a href=&quot;http://pear.php.net&quot;&gt;PEAR &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; Extension and Application Repository&lt;/a&gt;&lt;/p&gt;


&lt;pre&gt;
pear channel-discover pear.symfony-project.com
pear install symfony/symfony&lt;/pre&gt;
	&lt;p&gt;In order to upgrade to new versions of symfony:&lt;/p&gt;


&lt;pre&gt;
pear upgrade symfony/symfony&lt;/pre&gt;
	&lt;p&gt;Do not forget to clear the Asterisell cache executing in the Asterisell directory:&lt;/p&gt;


&lt;pre&gt;
symfony cc&lt;/pre&gt;
	&lt;h3&gt;Patch Application&lt;/h3&gt;

	&lt;p&gt;Up to date a patched version of Symfony 1.0.5 is used, so you must apply the patch inside the directory &amp;#8220;symfony-patch&amp;#8221;.&lt;/p&gt;


	&lt;p&gt;Consult the &lt;span class=&quot;caps&quot;&gt;README&lt;/span&gt; file for details on how to apply the patch.&lt;/p&gt;


	&lt;h1&gt;Asterisell Development Version Usage&lt;/h1&gt;

	&lt;p&gt;If you run Asterisell in production mode every time you change some code you must rexecute the command&lt;/p&gt;


&lt;pre&gt;
symfony cc&lt;/pre&gt;
	&lt;p&gt;because the page generation result is cached for performance reasons.&lt;/p&gt;


	&lt;p&gt;If you run Asterisell in development mode all the pages are regenerated every time.&lt;/p&gt;


	&lt;p&gt;In order to enable the development mode execute&lt;/p&gt;


&lt;pre&gt;
symfony enable asterisell dev&lt;/pre&gt;
	&lt;p&gt;If Asterisell project is in the &amp;#8221;/var/www/asterisell&amp;#8221; directory and your local apache server is listening on port 3000, then you must open the web page:&lt;/p&gt;


&lt;pre&gt;
http://localhost:3000/asterisell/web/asterisell_dev.php/login&lt;/pre&gt;
	&lt;h1&gt;Asterisell Localization&lt;/h1&gt;

If you want to support a new language / culture you must:
&lt;ul&gt;
	&lt;li&gt;add to &amp;#8220;apps/asterisell/config/app.yml&amp;#8221; the new currency and culture;&lt;/li&gt;
	&lt;li&gt;copy &amp;#8220;apps/asterisell/i18n/messages.it.xml&amp;#8221; to &amp;#8220;apps/asterisell/i18n/messages.your_culture_code.xml&amp;#8221;;&lt;/li&gt;
	&lt;li&gt;replace all Italian translations with your locale translations;&lt;/li&gt;
	&lt;li&gt;update &amp;#8220;apps/asterisell/lib/standardMailWithInvoiceGenerator.class.php&amp;#8221; with the new culture support;&lt;/li&gt;
	&lt;li&gt;execute &amp;#8221;./symfony cc&amp;#8221; in order to clear the cache and view the new messages;&lt;/li&gt;
	&lt;li&gt;make a login in Asterisell web interface using a web account with the new culture in order to inspect the result;&lt;/li&gt;
&lt;/ul&gt;</description>
    <pubDate>Fri, 01 Jun 2007 00:00:00 +00:00</pubDate>
  
    <guid>http://asterisell.profitoss.com/2007-06-01-development.html</guid>
  
    <comments>&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#105;&#110;&#102;&#111;&#64;&#97;&#115;&#116;&#101;&#114;&#105;&#115;&#101;&#108;&#108;&#46;&#112;&#114;&#111;&#102;&#105;&#116;&#111;&#115;&#115;&#46;&#99;&#111;&#109;?subject=%5BRassmalog%5D%20Development&amp;body=http%3A%2F%2Fasterisell.profitoss.com%2F2007-06-01-development.html</comments>
  
  </item>

  <item>
    <title>Installation and Configuration</title>
    <link>http://asterisell.profitoss.com/2007-02-01-installation-and-configuration.html</link>
    <description>&lt;h1&gt;Software Infrastructure&lt;/h1&gt;

VoIP calls are managed from &lt;a href=&quot;htpp://www.asterisk.org&quot;&gt;Asterisk Server&lt;/a&gt;:
&lt;ul&gt;
	&lt;li&gt;it routes the calls to the proper dial peer;&lt;/li&gt;
	&lt;li&gt;it associates to every customer a unique &amp;#8220;accountcode&amp;#8221;;&lt;/li&gt;
	&lt;li&gt;it writes Call Detail Records (CDRs) on a specific MySQL database table shared with Asterisell.&lt;/li&gt;
&lt;/ul&gt;

Asterisell is a &lt;span class=&quot;caps&quot;&gt;PHP5&lt;/span&gt; web application that:
&lt;ul&gt;
	&lt;li&gt;reads calls information from the &lt;span class=&quot;caps&quot;&gt;CDR&lt;/span&gt; table shared with Asterisk Server;&lt;/li&gt;
	&lt;li&gt;associate to every call a cost (what the service provider pays to other vendors for routing the customer&amp;#8217;s call);&lt;/li&gt;
	&lt;li&gt;associate to every call an income (what the customer pays to the service provider);&lt;/li&gt;
	&lt;li&gt;displays calls info;&lt;/li&gt;
&lt;/ul&gt;

	&lt;h1&gt;Asterisk Configuration&lt;/h1&gt;

	&lt;h2&gt;Account Code&lt;/h2&gt;

	&lt;p&gt;An &amp;#8220;accountcode&amp;#8221; is the code of the user requesting the call. It is assigned from Asterisk server after the user validation.&lt;/p&gt;


	&lt;p&gt;There must be a unique &amp;#8220;accountcode&amp;#8221; for each different customer.&lt;/p&gt;


	&lt;p&gt;Note: the Asterisk standard documentation pretends that this code is specified on a per-channel basis, but this is not the case in Asterisell configuration. So each accountcode has the same associated customer for every channel. This is also useful/practical in case of the same customer using different channels.&lt;/p&gt;


	&lt;h2&gt;Amaflags&lt;/h2&gt;

	&lt;p&gt;amaflags stands for &amp;#8220;Automated Message Accounting flags&amp;#8221;.&lt;/p&gt;


	&lt;p&gt;You must configure Asterisk to use certain &amp;#8220;amaflags&amp;#8221; in order to classify a call as documentation or to bill or to ignore etc..&lt;/p&gt;


	&lt;p&gt;As in the case of &amp;#8220;accountcode&amp;#8221; in theory every different channel can have its set of &amp;#8220;amaflags&amp;#8221;, but Asterisell supports only a unique set of flags that are assumed valid and with the same meaning for all channels.&lt;/p&gt;


	&lt;h1&gt;Web Server&lt;/h1&gt;

	&lt;h2&gt;Installation&lt;/h2&gt;

The typical installation requires:
&lt;ul&gt;
	&lt;li&gt;Apache2 &lt;span class=&quot;caps&quot;&gt;HTTP&lt;/span&gt; server&lt;/li&gt;
	&lt;li&gt;mod_php5&lt;/li&gt;
	&lt;li&gt;mod_ssl&lt;/li&gt;
	&lt;li&gt;MySQL database server&lt;/li&gt;
&lt;/ul&gt;

	&lt;p&gt;Asterisell use some &lt;span class=&quot;caps&quot;&gt;PHP5&lt;/span&gt; libraries. On Fedora for example you must install&lt;/p&gt;


&lt;pre&gt;
yum install php
yum install php-bcmath
yum install php-xml&lt;/pre&gt;
	&lt;p&gt;and then execute&lt;/p&gt;


&lt;pre&gt;
/etc/init.d/httpd restart&lt;/pre&gt;
	&lt;h2&gt;Directory Configuration&lt;/h2&gt;

Create the file &amp;#8220;asterisell.conf&amp;#8221; inside the directory:
&lt;ul&gt;
	&lt;li&gt;&amp;#8221;/etc/httpd/conf.d/&amp;#8221; or&lt;/li&gt;
	&lt;li&gt;&amp;#8221;/etc/apache2/conf.d/&amp;#8221;&lt;/li&gt;
&lt;/ul&gt;

	&lt;p&gt;The content is something like:&lt;/p&gt;


&lt;pre&gt;
Alias /your-asterisell-web-name /your-asterisell-installation-directory/web/

&amp;lt;Location /your-asterisell-web-name&amp;gt;
  Order allow,deny
  Allow from all 

  # If you have mod_ssl installed 
  # then with these lines you can force the usage of https connections
  # for all Asterisell access.
  # If you omit them the passwords are sent in plain text and
  # they can be intercepted from hackers...
  #
  AllowOverride All
  &amp;lt;IfModule mod_rewrite.c&amp;gt;
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
  &amp;lt;/IfModule&amp;gt;

&amp;lt;/Location&amp;gt;&lt;/pre&gt;
Restart the apache2 httpd server in order to render active the configurations using a command like:
&lt;pre&gt;
/etc/init.d/httpd restart&lt;/pre&gt;
	&lt;p&gt;or&lt;/p&gt;


&lt;pre&gt;
/etc/init.d/apache2 restart&lt;/pre&gt;
	&lt;p&gt;If it is all correct then &amp;#8220;http://your-host/your-asterisell-web-name&amp;#8221; will display the login form.&lt;/p&gt;


	&lt;h1&gt;Asterisell Configuration&lt;/h1&gt;

	&lt;p&gt;Rename&lt;/p&gt;


&lt;pre&gt;
  apps/asterisell/config/_app.yml&lt;/pre&gt;
	&lt;p&gt;to&lt;/p&gt;


&lt;pre&gt;
  apps/asterisell/config/app.yml&lt;/pre&gt;
	&lt;p&gt;and then inspect / change its content.&lt;/p&gt;


	&lt;h2&gt;Important&lt;/h2&gt;

	&lt;p&gt;After any change of configuration files or &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; code execute&lt;/p&gt;


&lt;pre&gt;
  ./symfony cc&lt;/pre&gt;
	&lt;p&gt;in order to clear the Asterisell execution cache.&lt;/p&gt;


	&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;IMPORTANT&lt;/span&gt;: in &lt;span class=&quot;caps&quot;&gt;YAML&lt;/span&gt; files use only spaces and not tabs because they are not allowed!&lt;/p&gt;


	&lt;h2&gt;Customizations&lt;/h2&gt;

&lt;ul&gt;
	&lt;li&gt;&amp;#8220;web/css/asterisell.css&amp;#8221; contains the Cascading Style Sheets;&lt;/li&gt;
	&lt;li&gt;&amp;#8220;apps/asterisell/templates/asterisell_layout.php&amp;#8221; contains the html page template;&lt;/li&gt;
	&lt;li&gt;&amp;#8220;web/images/&amp;#8221; contains the available images;&lt;/li&gt;
	&lt;li&gt;&amp;#8220;config/properties.ini&amp;#8221; contains the project/web-site name;&lt;/li&gt;
&lt;/ul&gt;

	&lt;h2&gt;Source Code&lt;/h2&gt;

	&lt;p&gt;It is normally not needed but you can customize low level Asterisell behavior modifying its source code or &lt;a href=&quot;http://www.symfony-project.com&quot;&gt;Symfony &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; Framework&lt;/a&gt; related configuration files.&lt;/p&gt;


	&lt;h1&gt;Database Installation&lt;/h1&gt;

	&lt;p&gt;Up to date Asterisell is tested only with &lt;a href=&quot;http://www.mysql.com&quot;&gt;MySQL &lt;span class=&quot;caps&quot;&gt;DBMS&lt;/span&gt;&lt;/a&gt;, but the Symfony framework support many other popular open source &lt;span class=&quot;caps&quot;&gt;DBMS&lt;/span&gt;.&lt;/p&gt;


	&lt;h2&gt;Database Creation&lt;/h2&gt;

&lt;pre&gt;
  mysqladmin -u your-root-user-name -p create your-asterisell-db-name&lt;/pre&gt;
	&lt;h2&gt;Access&lt;/h2&gt;

	&lt;p&gt;Rename&lt;/p&gt;


&lt;pre&gt;
config/_databases.yml&lt;/pre&gt;
	&lt;p&gt;to&lt;/p&gt;


&lt;pre&gt;
config/databases.yml&lt;/pre&gt;
	&lt;p&gt;and adapt it to yours needs:&lt;/p&gt;


&lt;pre&gt;
 all:
 propel:
   class:        sfPropelDatabase
   param:
     phptype:    mysql
     host:       your-mysql-server-host--typically-localhost
     database:   your-asterisell-db-name
     username:   your-root-user-name
     password:   your-root-password
     encoding:   utf8&lt;/pre&gt;
with the correct
&lt;ul&gt;
	&lt;li&gt;root-user-name and &lt;/li&gt;
	&lt;li&gt;asterisell-db-name&lt;/li&gt;
&lt;/ul&gt;

	&lt;p&gt;Rename&lt;/p&gt;


&lt;pre&gt;
config/_propel.ini&lt;/pre&gt;
	&lt;p&gt;to&lt;/p&gt;


&lt;pre&gt;
config/propel.ini&lt;/pre&gt;
	&lt;p&gt;and adapt it to something like:&lt;/p&gt;


&lt;pre&gt;
propel.project             = asterisell
propel.database            = mysql
propel.database.createUrl  = mysql://localhost/
propel.database.url        = mysql://localhost/asterisell
propel.mysql.tableType = InnoDB

; directories
propel.output.dir              = /your-asterisell-install-dir&lt;/pre&gt;
	&lt;h2&gt;Schema Creation&lt;/h2&gt;

	&lt;h3&gt;From &lt;span class=&quot;caps&quot;&gt;YAML&lt;/span&gt; to &lt;span class=&quot;caps&quot;&gt;SQL&lt;/span&gt;&lt;/h3&gt;

&lt;pre&gt;
config/schema.yml&lt;/pre&gt;
	&lt;p&gt;contains the asterisell database schema description. It is defined using the &lt;span class=&quot;caps&quot;&gt;YAML&lt;/span&gt; syntax.&lt;/p&gt;


	&lt;p&gt;Typically you must not change this file, but in case remember to regenerate the &lt;span class=&quot;caps&quot;&gt;SQL&lt;/span&gt; counterpart with:&lt;/p&gt;


&lt;pre&gt;
  ./symfony propel-build-model
  ./symfony propel-build-sql&lt;/pre&gt;
	&lt;h3&gt;From &lt;span class=&quot;caps&quot;&gt;SQL&lt;/span&gt; to Database&lt;/h3&gt;

	&lt;p&gt;In order to create the Asterisell database:&lt;/p&gt;


&lt;pre&gt;
  mysql -u your-root-user-name -p your-asterisell-db-name &amp;lt; data/sql/lib.model.schema.sql&lt;/pre&gt;
	&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;WARNING&lt;/span&gt;: this command will delete all previous data inside the previous Asterisell tables / databases.&lt;/p&gt;


	&lt;h2&gt;Add Asterisell Root User&lt;/h2&gt;

&lt;pre&gt;
  cd /your-asterisell-directory/batch
  php create_root your-password&lt;/pre&gt;
These commands will create:
&lt;ul&gt;
	&lt;li&gt;an admin user with login &amp;#8220;root&amp;#8221; and &lt;/li&gt;
	&lt;li&gt;password &amp;#8220;your-password&amp;#8221;&lt;/li&gt;
&lt;/ul&gt;

	&lt;h2&gt;Insert Demo-Data&lt;/h2&gt;

	&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;FIXME&lt;/span&gt;: due to incompatibility with the new version of the Symfony framework the current &amp;#8220;demo-data&amp;#8221; does not work. So skip this section. However you can use the root-user created in the previous section, but without any demo data&amp;#8230;&lt;/p&gt;


	&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;WARNING&lt;/span&gt;: these commands will delete all previous data from the Asterisell database. So do not execute if you have important data on the database.&lt;/p&gt;


If you want to populate the database with some demo data then execute:
&lt;pre&gt;
  cd /your-asterisell-directory/batch
  php insert_demo_data.php&lt;/pre&gt;
	&lt;p&gt;In this case the default admin user is &amp;#8220;root&amp;#8221; with password &amp;#8220;root&amp;#8221;.&lt;/p&gt;


	&lt;h2&gt;Asterisk Database-Related Configuration&lt;/h2&gt;

	&lt;p&gt;Asterisell reads info from the your-asterisell-database-name.CDR table (Call Details Records table). So you must configure Asterisk server to write calls info inside this table.&lt;/p&gt;


	&lt;h1&gt;Mail Configuration&lt;/h1&gt;

	&lt;p&gt;Asterisell can send mails to the administrator or to the customers with invoice information. It uses the &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; mail function. In order to enable it you must follow the &lt;a href=&quot;http://www.php.net/manual/en/ref.mail.php&quot;&gt;notes on &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; documentation site&lt;/a&gt; .&lt;/p&gt;


	&lt;h1&gt;Cron Job&lt;/h1&gt;

	&lt;h2&gt;Calls Rating&lt;/h2&gt;

Asterisell rates the calls:
&lt;ul&gt;
	&lt;li&gt;&amp;#8220;just-in-time&amp;#8221; when users navigate in the reports and &lt;/li&gt;
	&lt;li&gt;&amp;#8220;off-line&amp;#8221; using a cron-job process.&lt;/li&gt;
&lt;/ul&gt;

	&lt;p&gt;The cron job process is important because it tests also if there is a Customer who does not respect his cost limits.&lt;/p&gt;


	&lt;p&gt;In case of errors the process sends an email to the administrator as configured in the &amp;#8220;apps/asterisell/config/app.yml&amp;#8221; configuration file.&lt;/p&gt;


The process must be executed from the same user that is associated to http connection. On Fedora it is &amp;#8220;apache&amp;#8221;, on Debian &amp;#8220;www-data&amp;#8221;. In order to retrieve it you can execute
&lt;pre&gt;
ls -l /your-asterisell-dir/log/&lt;/pre&gt;
Supposing the http user is &amp;#8220;apache&amp;#8221; you can associate to it a cron job using the command
&lt;pre&gt;
crontab -u apache -e&lt;/pre&gt;
Add to the apache user crontab this line:
&lt;pre&gt;
5,20,35,45 * * * * sh -c &amp;quot;cd /your-asterisell-dir/batch/ ; php rate_all_and_test.php&amp;quot;&lt;/pre&gt;
	&lt;p&gt;The meaning of the line is to execute at minutes 5, 20, 35 and 45 of every hour the &amp;#8220;php rate_all_and_test.php&amp;#8221; command inside the Asterisell directory.&lt;/p&gt;


&lt;span class=&quot;caps&quot;&gt;NOTE&lt;/span&gt;: in order to enter the above line using &amp;#8220;vi&amp;#8221; editor digit:
&lt;pre&gt;
:i
5,20,35,45 * * * * sh -c &amp;quot;cd /your-asterisell-dir/batch/ ; php rate_all_and_test.php&amp;quot; 
&amp;quot;press ctrl-c&amp;quot; 
:wq&lt;/pre&gt;
	&lt;h2&gt;Log Rotate&lt;/h2&gt;

In order to reduce log file size put &amp;#8220;asterisell-logrotate&amp;#8221; with execution privileges in &amp;#8221;/etc/cron.monthly&amp;#8221; directory:
&lt;pre&gt;
#!/bin/sh

cd /your-asterisell-install-dir
./symfony log-rotate asterisell prod&lt;/pre&gt;
	&lt;h2&gt;VoIP Accounts&lt;/h2&gt;

	&lt;p&gt;You must define an &amp;#8220;Asterisk VoIP Account&amp;#8221; using Asterisell Web-Interface for each corresponding Asterisell &amp;#8220;accountcode&amp;#8221;.&lt;/p&gt;


	&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;WARNING&lt;/span&gt;: If there is an &amp;#8220;accountcode&amp;#8221; not registered as &amp;#8220;Asterisk VoIP Account&amp;#8221; then (for current technical limitation) it will not registered on the &lt;span class=&quot;caps&quot;&gt;CDR&lt;/span&gt; table.&lt;/p&gt;


	&lt;h2&gt;Other Configurations&lt;/h2&gt;

	&lt;p&gt;Every call is associated to a VoIP account. Every VoIP account is associated to a Customer who is the responsible for the account. The Customer is who pays the calls cost. A Customer can have more than one VoIP account.&lt;/p&gt;


	&lt;p&gt;Every customer or VoIP account can have a Web Access Account. It is a login and a password. If you connect as VoIP account you can inspect only the calls made from you. If you connect as a Customer you can inspect all the calls of your VoIP accounts. If you connect as Admin you can inspect all the calls.&lt;/p&gt;


&lt;ul&gt;
	&lt;li&gt;Customer Categories (normal, discounted, etc..)&lt;/li&gt;
	&lt;li&gt;Dial Peer Telephone Operators&lt;/li&gt;
	&lt;li&gt;Telephone Operators Prefixes Numbers&lt;/li&gt;
	&lt;li&gt;Vendors&lt;/li&gt;
	&lt;li&gt;Rate Methods&lt;/li&gt;
	&lt;li&gt;Currency Conversions&lt;/li&gt;
	&lt;li&gt;Customers&lt;/li&gt;
	&lt;li&gt;VoIP accounts&lt;/li&gt;
	&lt;li&gt;Web Access Accounts&lt;/li&gt;
&lt;/ul&gt;

	&lt;p&gt;A rate can be applied to a customer category. In this case it specifies an income from a specific class of Customer. Otherwise it can be applied from a &amp;#8220;Vendor&amp;#8221;. In this case it specifies a cost due to a specific vendor.&lt;/p&gt;


	&lt;h1&gt;Troubleshooting&lt;/h1&gt;

	&lt;h2&gt;Directory Permissions&lt;/h2&gt;

Often there are problems related files and directories permissions. 
In this case run 
&lt;pre&gt;
  ./symfony fix-perms&lt;/pre&gt;
	&lt;h2&gt;Log File Permission&lt;/h2&gt;

	&lt;p&gt;Often there are problems related to the Asterisell log files inside log directory.&lt;/p&gt;


If this file was created from root then the &amp;#8220;apache&amp;#8221; user is not able to add info to it and the entire Asterisell application is blocked. In this case change the permissions of file with something like:
&lt;pre&gt;
  cd log
  chmod a+rw asterisell_prod.log
  chmod a+rw asterisell_dev.log&lt;/pre&gt;
or better change the owner in something like
&lt;pre&gt;
  cd log
  chown apache asterisell_prod.log
  chown apache asterisell_dev.log&lt;/pre&gt;
	&lt;p&gt;Try also to restart the web server.&lt;/p&gt;


	&lt;h3&gt;Additional Run-Time Debug Info&lt;/h3&gt;

	&lt;p&gt;In case of problems you can enable the development/debug version of Asterisell that shows useful informations about its execution and related problems.&lt;/p&gt;


Execute:
&lt;pre&gt;
  ./symfony enable asterisell dev&lt;/pre&gt;
	&lt;p&gt;and open the url&lt;/p&gt;


&lt;pre&gt;
http://your-web-url/asterisell_dev.php/login&lt;/pre&gt;
When finished remember to execute
&lt;pre&gt;
  ./symfony disable asterisell dev&lt;/pre&gt;
	&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;NOTE&lt;/span&gt;: on the contrary of Asterisell production version, in the development version if you change Asterisell source code or a configuration file you must not execute &amp;#8221;./symfony cc&amp;#8221;, because the development version recreate all files every time in order to speed up development at the expense of run-time executions.&lt;/p&gt;


	&lt;h2&gt;Potential Loss of Data&lt;/h2&gt;

	&lt;p&gt;You must define an &amp;#8220;Asterisk VoIP Account&amp;#8221; using Asterisell Web-Interface for each corresponding Asterisell &amp;#8220;accountcode&amp;#8221;.&lt;/p&gt;


	&lt;p&gt;If there is an &amp;#8220;accountcode&amp;#8221; not registered as &amp;#8220;Asterisk VoIP Account&amp;#8221; then (for current technical limitation) it will not registered on the &lt;span class=&quot;caps&quot;&gt;CDR&lt;/span&gt; table.&lt;/p&gt;


	&lt;h3&gt;Reasons&lt;/h3&gt;

	&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;CDR&lt;/span&gt; table has the field &amp;#8220;accountcode&amp;#8221; that is defined as foreign key of the Asterisell.ar_asterisk_account table.&lt;/p&gt;


	&lt;p&gt;Symfony generates the schema and it imposes through a database constraint the presence of a corresponding accountcode for each cdr record added.&lt;/p&gt;


	&lt;p&gt;If there is no accountcode then the MySQL database signals a referential integrity error and it does not permit the insertion of the Call.&lt;/p&gt;


	&lt;p&gt;So the &amp;#8220;nasty effects&amp;#8221; is that the &lt;span class=&quot;caps&quot;&gt;CDR&lt;/span&gt; table does not contain a potentially billable record.&lt;/p&gt;


	&lt;p&gt;This type of errors are showed only in the Asterisk server log error messages.&lt;/p&gt;


	&lt;h2&gt;Run Time Configuration Problems&lt;/h2&gt;

	&lt;p&gt;Every problem encountered from Asterisell during the call rating process is clearly reported to the administrator with hints of how to resolve it.&lt;/p&gt;


	&lt;p&gt;The presence of problems is signaled also via email to the administrator.&lt;/p&gt;


	&lt;p&gt;In case of dubious configurations Asterisell advise the administrator and suspend the rate of affected calls.&lt;/p&gt;


The rate process is rather robust and error-free regarding ill defined configurations because:
&lt;ul&gt;
	&lt;li&gt;re-rating of calls is always possible;&lt;/li&gt;
	&lt;li&gt;problems are always signaled;&lt;/li&gt;
&lt;/ul&gt;

	&lt;h2&gt;Security&lt;/h2&gt;

	&lt;p&gt;The end user interacts only with the &amp;#8220;Call Report&amp;#8221; form. The content of user input fields is checked by a very conservative function that removes every non proper character.&lt;/p&gt;


	&lt;p&gt;No particular care is put on other forms because they are accessible only from the administrator.&lt;/p&gt;


	&lt;p&gt;User session handling is managed directly from Symfony and &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; engine.&lt;/p&gt;


	&lt;h1&gt;Upgrade&lt;/h1&gt;

	&lt;p&gt;All files except &amp;#8220;apps/asterisell/config/app.yml&amp;#8221;, &amp;#8220;config/databases.yml&amp;#8221;, &amp;#8220;config/propel.ini&amp;#8221; will be overwritten with the new version. So create a backup of them before upgrade Asterisell.&lt;/p&gt;


	&lt;p&gt;Discard the Symfony cache executing&lt;/p&gt;


&lt;pre&gt;
./symfony cc&lt;/pre&gt;
	&lt;p&gt;inside Asterisell root directory.&lt;/p&gt;</description>
    <pubDate>Thu, 01 Feb 2007 00:00:00 +00:00</pubDate>
  
    <guid>http://asterisell.profitoss.com/2007-02-01-installation-and-configuration.html</guid>
  
    <comments>&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#105;&#110;&#102;&#111;&#64;&#97;&#115;&#116;&#101;&#114;&#105;&#115;&#101;&#108;&#108;&#46;&#112;&#114;&#111;&#102;&#105;&#116;&#111;&#115;&#115;&#46;&#99;&#111;&#109;?subject=%5BRassmalog%5D%20Installation%20and%20Configuration&amp;body=http%3A%2F%2Fasterisell.profitoss.com%2F2007-02-01-installation-and-configuration.html</comments>
  
  </item>

  <item>
    <title>License</title>
    <link>http://asterisell.profitoss.com/2007-02-01-license.html</link>
    <description>&lt;p&gt;Asterisell&lt;/p&gt;


	&lt;p&gt;Copyright&amp;#169; 2007 by Massimo Zaniboni &amp;#8211; &lt;a href=&quot;http://asterisell.profitoss.commailto:massimo.zaniboni@profitoss.com&quot;&gt;massimo.zaniboni@profitoss.com&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;This program is free software; you can redistribute it and/or
modify it under the terms of the &lt;span class=&quot;caps&quot;&gt;GNU&lt;/span&gt; General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.&lt;/p&gt;


	&lt;p&gt;This program is distributed in the hope that it will be useful,
but &lt;span class=&quot;caps&quot;&gt;WITHOUT ANY WARRANTY&lt;/span&gt;; without even the implied warranty of
&lt;span class=&quot;caps&quot;&gt;MERCHANTABILITY&lt;/span&gt; or &lt;span class=&quot;caps&quot;&gt;FITNESS FOR A PARTICULAR PURPOSE&lt;/span&gt;.  See the
&lt;span class=&quot;caps&quot;&gt;GNU&lt;/span&gt; General Public License for more details.&lt;/p&gt;


	&lt;p&gt;You should have received a copy of the &lt;span class=&quot;caps&quot;&gt;GNU&lt;/span&gt; General Public License
along with this program (see gpl.txt); if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, &lt;span class=&quot;caps&quot;&gt;MA  02110&lt;/span&gt;-1301, &lt;span class=&quot;caps&quot;&gt;USA&lt;/span&gt;.&lt;/p&gt;


	&lt;p&gt;Asterisell uses the symfony framework that uses different projects with
different licenses (compatible with &lt;span class=&quot;caps&quot;&gt;GPL&lt;/span&gt;) listed in the directory licenses.&lt;/p&gt;</description>
    <pubDate>Thu, 01 Feb 2007 00:00:00 +00:00</pubDate>
  
    <guid>http://asterisell.profitoss.com/2007-02-01-license.html</guid>
  
    <comments>&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#105;&#110;&#102;&#111;&#64;&#97;&#115;&#116;&#101;&#114;&#105;&#115;&#101;&#108;&#108;&#46;&#112;&#114;&#111;&#102;&#105;&#116;&#111;&#115;&#115;&#46;&#99;&#111;&#109;?subject=%5BRassmalog%5D%20License&amp;body=http%3A%2F%2Fasterisell.profitoss.com%2F2007-02-01-license.html</comments>
  
  </item>

  <item>
    <title>Requirements</title>
    <link>http://asterisell.profitoss.com/2007-02-01-requirements.html</link>
    <description>&lt;ul&gt;
	&lt;li&gt;&lt;span class=&quot;caps&quot;&gt;HTTP WEB&lt;/span&gt; Server&lt;/li&gt;
	&lt;li&gt;&lt;span class=&quot;caps&quot;&gt;PHP 5&lt;/span&gt;.0 or greater (PHP 4.0 is not supported)&lt;/li&gt;
	&lt;li&gt;MySQL &lt;span class=&quot;caps&quot;&gt;DBMS&lt;/span&gt;&lt;/li&gt;
	&lt;li&gt;Asterisk VoIP server&lt;/li&gt;
&lt;/ul&gt;</description>
    <pubDate>Thu, 01 Feb 2007 00:00:00 +00:00</pubDate>
  
    <guid>http://asterisell.profitoss.com/2007-02-01-requirements.html</guid>
  
    <comments>&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#105;&#110;&#102;&#111;&#64;&#97;&#115;&#116;&#101;&#114;&#105;&#115;&#101;&#108;&#108;&#46;&#112;&#114;&#111;&#102;&#105;&#116;&#111;&#115;&#115;&#46;&#99;&#111;&#109;?subject=%5BRassmalog%5D%20Requirements&amp;body=http%3A%2F%2Fasterisell.profitoss.com%2F2007-02-01-requirements.html</comments>
  
  </item>

  <item>
    <title>Screenshots</title>
    <link>http://asterisell.profitoss.com/2007-02-01-screenshots.html</link>
    <description>&lt;h1&gt;Customer Calls Report&lt;/h1&gt;

	&lt;p&gt;&lt;a href=&quot;http://asterisell.profitoss.comimages/screenshots/asterisell_1.png&quot;&gt;&lt;img src=&quot;http://asterisell.profitoss.comimages/screenshots/thumb-asterisell_1.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


	&lt;h1&gt;Administrator Calls Report&lt;/h1&gt;

	&lt;p&gt;&lt;a href=&quot;http://asterisell.profitoss.comimages/screenshots/asterisell_2.png&quot;&gt;&lt;img src=&quot;http://asterisell.profitoss.comimages/screenshots/thumb-asterisell_2.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


	&lt;h1&gt;Rates&lt;/h1&gt;

	&lt;p&gt;&lt;a href=&quot;http://asterisell.profitoss.comimages/screenshots/asterisell_3.png&quot;&gt;&lt;img src=&quot;http://asterisell.profitoss.comimages/screenshots/thumb-asterisell_3.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


	&lt;h1&gt;Customer Invoice&lt;/h1&gt;

	&lt;p&gt;&lt;a href=&quot;http://asterisell.profitoss.comimages/screenshots/asterisell_4.png&quot;&gt;&lt;img src=&quot;http://asterisell.profitoss.comimages/screenshots/thumb-asterisell_4.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


	&lt;h1&gt;Bulk Invoice Creation&lt;/h1&gt;

	&lt;p&gt;&lt;a href=&quot;http://asterisell.profitoss.comimages/screenshots/asterisell_5.png&quot;&gt;&lt;img src=&quot;http://asterisell.profitoss.comimages/screenshots/thumb-asterisell_5.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


	&lt;h1&gt;Problem Notification&lt;/h1&gt;

	&lt;p&gt;&lt;a href=&quot;http://asterisell.profitoss.comimages/screenshots/asterisell_6.png&quot;&gt;&lt;img src=&quot;http://asterisell.profitoss.comimages/screenshots/thumb-asterisell_6.png&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description>
    <pubDate>Thu, 01 Feb 2007 00:00:00 +00:00</pubDate>
  
    <guid>http://asterisell.profitoss.com/2007-02-01-screenshots.html</guid>
  
    <comments>&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#105;&#110;&#102;&#111;&#64;&#97;&#115;&#116;&#101;&#114;&#105;&#115;&#101;&#108;&#108;&#46;&#112;&#114;&#111;&#102;&#105;&#116;&#111;&#115;&#115;&#46;&#99;&#111;&#109;?subject=%5BRassmalog%5D%20Screenshots&amp;body=http%3A%2F%2Fasterisell.profitoss.com%2F2007-02-01-screenshots.html</comments>
  
  </item>

  <item>
    <title>Current Status</title>
    <link>http://asterisell.profitoss.com/2007-01-02-current-status.html</link>
    <description>&lt;p&gt;Up to date Asterisell is in beta phase. It is under test in a production environment.&lt;/p&gt;


Known Bugs:
&lt;ul&gt;
	&lt;li&gt;multicurrencies support is incomplete / buggy;&lt;/li&gt;
	&lt;li&gt;English localization must be improved because I am not a native English speaker;&lt;/li&gt;
	&lt;li&gt;insert-demo-data is not compatible with the new version of Symfony framework;&lt;/li&gt;
&lt;/ul&gt;</description>
    <pubDate>Tue, 02 Jan 2007 00:00:00 +00:00</pubDate>
  
    <guid>http://asterisell.profitoss.com/2007-01-02-current-status.html</guid>
  
    <comments>&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#105;&#110;&#102;&#111;&#64;&#97;&#115;&#116;&#101;&#114;&#105;&#115;&#101;&#108;&#108;&#46;&#112;&#114;&#111;&#102;&#105;&#116;&#111;&#115;&#115;&#46;&#99;&#111;&#109;?subject=%5BRassmalog%5D%20Current%20Status&amp;body=http%3A%2F%2Fasterisell.profitoss.com%2F2007-01-02-current-status.html</comments>
  
  </item>

  <item>
    <title>Overview</title>
    <link>http://asterisell.profitoss.com/2007-01-01-overview.html</link>
    <description>&lt;h1&gt;Usage Scenario&lt;/h1&gt;

&lt;ul&gt;
	&lt;li&gt;you are a vendor of Voice over IP Telephony services (VoIP) &lt;/li&gt;
	&lt;li&gt;your customers call other users who can reside on different telephone networks&lt;/li&gt;
	&lt;li&gt;your customers pay you for this service&lt;/li&gt;
	&lt;li&gt;in order to route the calls on particular networks you have to use the services of other vendors&lt;/li&gt;
	&lt;li&gt;you are a customer of others vendors&lt;/li&gt;
	&lt;li&gt;you pays others vendors for this service&lt;/li&gt;
&lt;/ul&gt;

	&lt;p&gt;So each call has a cost and an income because Asterisell views you (the VoIP service provider) as a reseller of others vendors services.&lt;/p&gt;


	&lt;p&gt;The income is what your customer pays to you and the cost is what you pays to other vendors in order to route the customer call.&lt;/p&gt;


	&lt;h1&gt;Asterisell&lt;/h1&gt;

	&lt;p&gt;Asterisell is a &lt;span class=&quot;caps&quot;&gt;PHP5&lt;/span&gt; web application that reads calls information generated from Asterisk VoIP server.&lt;/p&gt;


	&lt;p&gt;It is responsible for the rate process of calls. Up to date it can not manage the routing of calls.&lt;/p&gt;


	&lt;p&gt;It permits to associate for every call a cost and an income. The cost is what the customer pays to the service provider and the cost is what the service provider pays to other vendors in order to route the call.&lt;/p&gt;


	&lt;h1&gt;Offered Services&lt;/h1&gt;

	&lt;p&gt;From the customer point of view, Asterisell is a web interface where he can inspect calls with associated costs.&lt;/p&gt;


	&lt;p&gt;From the vendor point of view, Asterisell is a web interface where he can can manage prices lists for customers and rates for other vendors using different currencies and timezones. Then he can inspect calls with associated incomes from customers and expenses due to other vendors.&lt;/p&gt;


	&lt;p&gt;From a developer point of view, Asterisell is a &lt;a href=&quot;http://www.php.net&quot;&gt;PHP&lt;/a&gt; application that use the &lt;a href=&quot;http://www.symfony-project.com&quot;&gt;symfony&lt;/a&gt; framework. It reads Call Detail Records from a &lt;span class=&quot;caps&quot;&gt;CDR&lt;/span&gt; table where Asterisk write info for every call.&lt;/p&gt;


	&lt;p&gt;The use of an object-oriented design permits to extend the software adding new features.&lt;/p&gt;


	&lt;p&gt;The use of simple &lt;a href=&quot;http://www.yaml.org&quot;&gt;YAML&lt;/a&gt;  based configuration files permits to select at installation time what features to enable or disable, reducing the need for different and hard to maintain branches.&lt;/p&gt;


	&lt;h1&gt;Features&lt;/h1&gt;

Customer features:
&lt;ul&gt;
	&lt;li&gt;report of calls with aggregate totals&lt;/li&gt;
	&lt;li&gt;many filter-criteria&lt;/li&gt;
	&lt;li&gt;different sort-criteria&lt;/li&gt;
	&lt;li&gt;export to &lt;span class=&quot;caps&quot;&gt;CSV&lt;/span&gt; and MS Excel document&lt;/li&gt;
	&lt;li&gt;many VoIP accounts associated with the same customer&lt;/li&gt;
&lt;/ul&gt;

Administrator features:
&lt;ul&gt;
	&lt;li&gt;input fields are secure from intrusion attempts&lt;/li&gt;
	&lt;li&gt;each customer could have a cost limit for the last 30 days&lt;/li&gt;
	&lt;li&gt;informal currency conversion table for the test of cost limits &lt;/li&gt;
	&lt;li&gt;administrator is advised via email if a customer pass its cost limit&lt;/li&gt;
	&lt;li&gt;different cultures for each VoIP account or Customer&lt;/li&gt;
	&lt;li&gt;prices and messages are displayed in the specified culture&lt;/li&gt;
	&lt;li&gt;customers can be grouped into different price list categories&lt;/li&gt;
	&lt;li&gt;different rate methods applicable to different time periods, customer categories, destination gateway channels, destination telephone network etc..&lt;/li&gt;
	&lt;li&gt;customizable rate methods adding &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; Class respecting a specific interface&lt;/li&gt;
	&lt;li&gt;generation of customer invoices&lt;/li&gt;
	&lt;li&gt;delivery of emails with invoice details to customers&lt;/li&gt;
	&lt;li&gt;support bulk generation of invoices and emails to all customers with associated incomes&lt;/li&gt;
	&lt;li&gt;support for multi-currency invoices (not yet tested)&lt;/li&gt;
	&lt;li&gt;problems during rate process are reported and signaled via email to the administrator&lt;/li&gt;
&lt;/ul&gt;

General features:
&lt;ul&gt;
	&lt;li&gt;multi-culture and locales support (it_IT, en_US, ecc..)&lt;/li&gt;
	&lt;li&gt;multi-currency support (not yet tested)&lt;/li&gt;
&lt;/ul&gt;

	&lt;h1&gt;Limits&lt;/h1&gt;

	&lt;p&gt;See &lt;a href=&quot;http://devwiki.profitoss.com/doku.php?id=asterisell:start&quot;&gt;Asterisell development section&lt;/a&gt;&lt;/p&gt;</description>
    <pubDate>Mon, 01 Jan 2007 00:00:00 +00:00</pubDate>
  
    <guid>http://asterisell.profitoss.com/2007-01-01-overview.html</guid>
  
    <comments>&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#105;&#110;&#102;&#111;&#64;&#97;&#115;&#116;&#101;&#114;&#105;&#115;&#101;&#108;&#108;&#46;&#112;&#114;&#111;&#102;&#105;&#116;&#111;&#115;&#115;&#46;&#99;&#111;&#109;?subject=%5BRassmalog%5D%20Overview&amp;body=http%3A%2F%2Fasterisell.profitoss.com%2F2007-01-01-overview.html</comments>
  
  </item>

  <item>
    <title>Downloads</title>
    <link>http://asterisell.profitoss.com/2007-01-01-downloads.html</link>
    <description>&lt;h1&gt;Testing Release &lt;/h1&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;http://downloads.profitoss.com/asterisell/asterisell-testing-0.9.8.tar.gz&quot;&gt;asterisell-testing-0.9.8.tar.gz&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

For more info:
&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;http://asterisell.profitoss.com2007-01-02-current-status.html&quot;&gt;Current Status&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://asterisell.profitoss.com2007-02-01-installation-and-configuration.html&quot;&gt;How to Upgrade&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

	&lt;h1&gt;Old Releases&lt;/h1&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;http://downloads.profitoss.com/asterisell/asterisell-testing-0.9.7.tar.gz&quot;&gt;asterisell-testing-0.9.7.tar.gz&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://downloads.profitoss.com/asterisell/asterisell-testing-0.9.5.tar.gz&quot;&gt;asterisell-testing-0.9.5.tar.gz&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://downloads.profitoss.com/asterisell/asterisell-testing-0.9.4.tar.gz&quot;&gt;asterisell-testing-0.9.4.tar.gz&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://downloads.profitoss.com/asterisell/asterisell-testing-0.9.3.tar.gz&quot;&gt;asterisell-testing-0.9.3.tar.gz&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://downloads.profitoss.com/asterisell/asterisell-testing-0.9.2.tar.gz&quot;&gt;asterisell-testing-0.9.2.tar.gz&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    <pubDate>Mon, 01 Jan 2007 00:00:00 +00:00</pubDate>
  
    <guid>http://asterisell.profitoss.com/2007-01-01-downloads.html</guid>
  
    <comments>&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#105;&#110;&#102;&#111;&#64;&#97;&#115;&#116;&#101;&#114;&#105;&#115;&#101;&#108;&#108;&#46;&#112;&#114;&#111;&#102;&#105;&#116;&#111;&#115;&#115;&#46;&#99;&#111;&#109;?subject=%5BRassmalog%5D%20Downloads&amp;body=http%3A%2F%2Fasterisell.profitoss.com%2F2007-01-01-downloads.html</comments>
  
  </item>

  <item>
    <title>Open Funding</title>
    <link>http://asterisell.profitoss.com/2007-01-01-open-funding.html</link>
    <description>&lt;h1&gt;Open Business Report&lt;/h1&gt;

	&lt;p&gt;Asterisell Total expected net income is &lt;span class=&quot;caps&quot;&gt;EUR 4000&lt;/span&gt; (approximately &lt;span class=&quot;caps&quot;&gt;USD 5130&lt;/span&gt;).&lt;/p&gt;


	&lt;p&gt;Current payments are:&lt;/p&gt;


	&lt;table&gt;
		&lt;tr&gt;
			&lt;th&gt;Date&lt;/th&gt;
			&lt;th&gt;Contributor&lt;/th&gt;
			&lt;th&gt;Payment Method&lt;/th&gt;
			&lt;th&gt;Payment Id&lt;/th&gt;
			&lt;th&gt;Income&lt;/th&gt;
			&lt;th&gt;Expense&lt;/th&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt;2008-02-04&lt;/td&gt;
			&lt;td&gt;VoiceNet Consulting Ltd&lt;/td&gt;
			&lt;td&gt;SWREG&lt;/td&gt;
			&lt;td&gt;E1325538&lt;/td&gt;
			&lt;td&gt;EUR 20.00&lt;/td&gt;
			&lt;td&gt;EUR 30.00 (development-time)&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt;2007-07-09&lt;/td&gt;
			&lt;td&gt;&lt;a href=&quot;http://www.tsnet.it/&quot;&gt;http://www.tsnet.it/&lt;/a&gt;&lt;/td&gt;
			&lt;td&gt;Direct&lt;/td&gt;
			&lt;td&gt;Invoice 001&lt;/td&gt;
			&lt;td&gt;EUR 1020.00&lt;/td&gt;
			&lt;td&gt;&amp;nbsp;&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt;2007-06-26&lt;/td&gt;
			&lt;td&gt;&lt;a href=&quot;http://purpleoranges.com/&quot;&gt;http://purpleoranges.com/&lt;/a&gt;&lt;/td&gt;
			&lt;td&gt;SWREG&lt;/td&gt;
			&lt;td&gt;E1202617&lt;/td&gt;
			&lt;td&gt;EUR 20.00&lt;/td&gt;
			&lt;td&gt;&amp;nbsp;&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/table&gt;



	&lt;table&gt;
		&lt;tr&gt;
			&lt;td&gt;&amp;nbsp;&lt;/td&gt;
			&lt;td&gt;&amp;nbsp;&lt;/td&gt;
			&lt;td&gt;&amp;nbsp;&lt;/td&gt;
			&lt;th&gt;Total&lt;/th&gt;
			&lt;th&gt;EUR 1060.00&lt;/th&gt;
			&lt;th&gt;EUR 30.00&lt;/th&gt;
		&lt;/tr&gt;
	&lt;/table&gt;



	&lt;h1&gt;How to Contribute&lt;/h1&gt;

	&lt;p&gt;You can use the Asterisell &lt;span class=&quot;caps&quot;&gt;SWREG&lt;/span&gt;  Account:&lt;/p&gt;


	&lt;p&gt;&lt;a href=&quot;https://euro.swreg.org/cgi-bin/s.cgi?s=81596&amp;#38;p=81596asterisell&amp;#38;v=0&amp;#38;d=0&amp;#38;q=1&quot;&gt;&lt;img src=&quot;http://swreg.org/downloads/SWREG_buynow.gif&quot; title=&quot;Asterisell SWREG Account&quot; alt=&quot;Asterisell SWREG Account&quot; /&gt;&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;or you can contact me (&lt;a href=&quot;mailto://massimo.zaniboni@profitoss.com&quot;&gt;Massimo Zaniboni&lt;/a&gt;) and ask for information about direct Bank Wire Transfer. For large sum of money this is the preferred method because there are lower transaction fees. If requested in advance I can produce an invoice for the payment.&lt;/p&gt;


	&lt;h1&gt;Philosophy&lt;/h1&gt;

Asterisell adopts a Open Funding Business Model because:
&lt;ul&gt;
	&lt;li&gt;every income is reported&lt;/li&gt;
	&lt;li&gt;every expense is reported&lt;/li&gt;
	&lt;li&gt;there is a fixed expected net income&lt;/li&gt;
	&lt;li&gt;every contributor can receive an income committing extensions/patches&lt;/li&gt;
&lt;/ul&gt;

	&lt;h2&gt;Financial Contributor&lt;/h2&gt;

	&lt;p&gt;If you have earned (or saved) money using Asterisell then consider to give back something.&lt;/p&gt;


	&lt;p&gt;Asterisell is released under a open source license so you own entirely the product and you are free to customize and improve it. So contributions are not a license cost but a way to pay for past Asterisell development.&lt;/p&gt;


	&lt;h2&gt;Open Funding of source code Contributors&lt;/h2&gt;

	&lt;p&gt;If you extend Asterisell then you can agree with me (&lt;a href=&quot;mailto://massimo.zaniboni@profitoss.com&quot;&gt;Massimo Zaniboni&lt;/a&gt;) an expected net income. This income will be added to Asterisell total expected income and it will be sent to you when raised.&lt;/p&gt;


	&lt;p&gt;If you commit a patch you can agree with me (&lt;a href=&quot;mailto://massimo.zaniboni@profitoss.com&quot;&gt;Massimo Zaniboni&lt;/a&gt;) an income. In this case the net income of the extension affected by the bug will be decreased according the cost of the patch.&lt;/p&gt;


	&lt;h2&gt;Financial Contributions to other Open Source Projects&lt;/h2&gt;

	&lt;p&gt;Incomes higher than the expected Asterisell net income will be redirect to other open source projects related to Asterisell like the Symfony framework, Asterisk VoIP server, &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; language etc..&lt;/p&gt;</description>
    <pubDate>Mon, 01 Jan 2007 00:00:00 +00:00</pubDate>
  
    <guid>http://asterisell.profitoss.com/2007-01-01-open-funding.html</guid>
  
    <comments>&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#105;&#110;&#102;&#111;&#64;&#97;&#115;&#116;&#101;&#114;&#105;&#115;&#101;&#108;&#108;&#46;&#112;&#114;&#111;&#102;&#105;&#116;&#111;&#115;&#115;&#46;&#99;&#111;&#109;?subject=%5BRassmalog%5D%20Open%20Funding&amp;body=http%3A%2F%2Fasterisell.profitoss.com%2F2007-01-01-open-funding.html</comments>
  
  </item>

</channel>
</rss>
