<?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>asterCC, asterisk callcenter and billing solution &#187; install</title>
	<atom:link href="http://astercc.org/tag/install/feed" rel="self" type="application/rss+xml" />
	<link>http://astercc.org</link>
	<description>asterCC, asterisk callcenter, ip pbx and billing solution</description>
	<lastBuildDate>Tue, 15 May 2012 05:06:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Install asterBilling on your server</title>
		<link>http://astercc.org/tutorial-2/2008/11/install-asterbilling-on-your-server.html</link>
		<comments>http://astercc.org/tutorial-2/2008/11/install-asterbilling-on-your-server.html#comments</comments>
		<pubDate>Wed, 05 Nov 2008 15:50:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[asterBilling]]></category>
		<category><![CDATA[asterCC Comercial]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[billing]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[realtime billing]]></category>

		<guid isPermaLink="false">http://astercc.org/?p=98</guid>
		<description><![CDATA[Download and unzip the source cd /var/www/html wget http://voxel.dl.sourceforge.net/sourceforge/astercc/astercc-0.09beta.zip unzip astercc-0.09beta.zip mv astercc-0.09beta astercc Create the directories and move astercc daemon scripts: mkdir -p /opt/asterisk/scripts/astercc/ mv /var/www/html/astercc/daemons/* /opt/asterisk/scripts/astercc/ chmod +x...]]></description>
			<content:encoded><![CDATA[<div class="entry">
<ol>
<li>Download and unzip the source</li>
<blockquote><p><em>cd /var/www/html<br />
wget http://voxel.dl.sourceforge.net/sourceforge/astercc/astercc-0.09beta.zip<br />
unzip astercc-0.09beta.zip<br />
mv astercc-0.09beta astercc </em></p></blockquote>
<li>Create the directories and move astercc daemon scripts:</li>
<blockquote><p><em>mkdir -p /opt/asterisk/scripts/astercc/<br />
mv /var/www/html/astercc/daemons/* /opt/asterisk/scripts/astercc/<br />
chmod +x /opt/asterisk/scripts/astercc/astercc<br />
chmod +x /opt/asterisk/scripts/astercc/asterrc<br />
chmod +x /opt/asterisk/scripts/astercc/asterccd </em></p></blockquote>
<li>Create the MySQL database and table, asterCC need mysql 4.1 or above</li>
<blockquote><p><em>mysqladmin -uyourmysqluser -pyourmysqlpasswd create astercc<br />
mysql -uyourmysqluser -pyourmysqlpasswd astercc &lt;sql/astercc.sql<br />
</em></p>
<p>Note: here we create the database named astercc, you could use whatever db name you want use your configration to replace yourmysqluser and yourmysqlpasswd</p></blockquote>
<li>Update /etc/asterisk/manager.conf to enable Manager connections</li>
<blockquote><p>Note: asterisk and astercc could be on different server</p>
<p>Add something like this to the manager.conf file:</p>
<p>[general]<br />
enabled = yes<br />
port = 5038<br />
bindaddr = 0.0.0.0<br />
;displayconnects = yes</p>
<p>;the following line could be changed by yourself<br />
[eventsdaemon]<br />
secret = myeventsdaemon<br />
read = system,call,log,verbose,command,agent,user<br />
write = system,call,log,verbose,command,agent,user<br />
deny=0.0.0.0/0.0.0.0<br />
; only allow local access, if you want to run astercrm on another server<br />
; use your astercrm ip to replace 127.0.0.1 or add a new line<br />
permit=127.0.0.1/255.255.255.0</p></blockquote>
<li>Modify /var/www/html/astercc/astercc.conf.php and /opt/asterisk/scripts/astercc/astercc.conf to fit your configration</li>
<li>Start astercc daemons</li>
<blockquote><p>/opt/asterisk/scripts/astercc/asterccd start<br />
Note: If your astercc scripts in other directory,<br />
you need to modify script path in CONFIGURATION SECTION of asterccd and asterccdaemon<br />
to fit your script path (modify path of astercc,asterrc and asterccdaemon in asterccd;<br />
modify path of asterccd and monitor log in asterccdaemon).</p>
<p>Start astercc daemons when system startup:<br />
Note: This option can only fit to redhat-release system.<br />
If you want astercc daemons to start automatically when you boot your<br />
machine, you need to :</p>
<p>cp /opt/asterisk/scripts/astercc/asterccd /etc/rc.d/init.d<br />
chmod 755 /etc/rc.d/init.d/asterccd<br />
chkconfig &#8211;add asterccd</p>
<p>Advice: Configure your astercc restart once everyday, it&#8217;s not necessary, but it&#8217;s good for your astercc operation.<br />
for example: you want to restart astercc at 0â€²clock everyday,just do the following line as root.<br />
crontab -e<br />
add a line:<br />
0 0 * * * /etc/rc.d/init.d/asterccd restart<br />
end of this file, the first &#8217;0&#8242; figures minutes and the second &#8217;0&#8242; figures hours.</p></blockquote>
<li>Set folder access</li>
<blockquote><p>chmod 777 /var/www/html/astercc/upload</p></blockquote>
<li>Testing: browse to http://localhost/astercc</li>
<blockquote><p>browse to http://localhost/astercc</p>
<p>or http://YOUR-WEB-SERVER-ADDRESS/astercc</p>
<p>login with admin/admin</p></blockquote>
<li>Set your first booth
<ul>
<li>go Reseller and add a reseller</li>
</ul>
<ul>
<li>go Group add a group belong to the reseller</li>
</ul>
<ul>
<li>go Clid add some clid for this group, then the account in asterisk with the clid would be billing as a user in this group</li>
</ul>
<ul>
<li> go Account add a account, usertype could be groupadmin and belongs to the group you just added</li>
</ul>
<ul>
<li>go Rate to Customer and add some rate for the group, if you dont select reseller or group, the rate could be the default rate all all resellers/groups</li>
</ul>
<ul>
<li> login as groupadmin account, then you should see some box as the attachments.</li>
</ul>
<ul>
<li> try make a call using the ip phone with the clid, you could see the calling and billing message in the box</li>
</ul>
</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://astercc.org/tutorial-2/2008/11/install-asterbilling-on-your-server.html/feed</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
