<?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; asterisk billing</title>
	<atom:link href="http://astercc.org/tag/asterisk-billing/feed" rel="self" type="application/rss+xml" />
	<link>http://astercc.org</link>
	<description>asterCC, asterisk callcenter, ip pbx and billing solution</description>
	<lastBuildDate>Thu, 12 Jan 2012 08:35:18 +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>Why I cant see some records in CDR page in my asterBilling?</title>
		<link>http://astercc.org/tips/asterbilling/2008/12/why-i-cant-see-some-records-in-cdr-page-in-my-asterbilling.html</link>
		<comments>http://astercc.org/tips/asterbilling/2008/12/why-i-cant-see-some-records-in-cdr-page-in-my-asterbilling.html#comments</comments>
		<pubDate>Sun, 14 Dec 2008 09:29:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[asterBilling]]></category>
		<category><![CDATA[asterisk billing]]></category>
		<category><![CDATA[billing]]></category>
		<category><![CDATA[miss cdr in asterisk]]></category>

		<guid isPermaLink="false">http://astercc.org/?p=417</guid>
		<description><![CDATA[sometimes when you go CDR page to check CDRs for resellers, groups or some clid in your system, but nothing there or some records missed, and then u go database...]]></description>
			<content:encoded><![CDATA[<p>sometimes when you go CDR page to check CDRs for resellers, groups or some clid in your system, but nothing there or some records missed, and then u go database and checked, find there&#8217;s data in cdr table &#8220;mycdr&#8221;, so why it&#8217;s missed in asterBilling interface?</p>
<p>Reason 1: historyCdr issue</p>
<p>check your asterbilling.conf.php in asterbilling web scripts folder</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/12/sc1.png"><img class="alignnone size-full wp-image-413" title="sc1" src="http://astercc.org/wp-content/uploads/2008/12/sc1.png" alt="sc1" width="433" height="110" /></a></p>
<p>by default the option is &#8220;useHistoryCdr = 1&#8243;, and asterbilling CDR page will go table &#8220;historycdr&#8221; to fetch data, but astercc daemon only put data to table &#8220;mycdr&#8221; untill someone &#8220;checkout&#8221; the records, the data will be moved to table &#8220;historycdr&#8221;, so if u cant find all data in web interface, change this option to &#8220;0&#8243; or &#8220;checkout&#8221; the records.</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/12/sc2.png"><img class="alignnone size-full wp-image-414" title="click Clear to checkout" src="http://astercc.org/wp-content/uploads/2008/12/sc2.png" alt="click Clear to checkout" width="400" height="328" /></a></p>
<p>Reason 2: clid issue</p>
<p>Even though the astercc daemon will put all CDR it get to database, but not all records will be billed, only after you set the &#8220;clid&#8221; in asterbilling. So if u see the value of fields &#8220;resellerid&#8221; and &#8220;groupid&#8221; in &#8220;mycdr&#8221; is -1, please check if u set the &#8220;clid&#8221; correctly, the &#8220;src&#8221; field should be matched with clid.</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/12/sc3.png"><img class="alignnone size-full wp-image-415" title="sc3" src="http://astercc.org/wp-content/uploads/2008/12/sc3.png" alt="sc3" width="433" height="213" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://astercc.org/tips/asterbilling/2008/12/why-i-cant-see-some-records-in-cdr-page-in-my-asterbilling.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>asterbilling and asterisk2billing (a2billing) for asterisk billing</title>
		<link>http://astercc.org/tips/asterbilling/2008/11/asterbilling-and-asterisk2billing-a2billing-for-asterisk-billing.html</link>
		<comments>http://astercc.org/tips/asterbilling/2008/11/asterbilling-and-asterisk2billing-a2billing-for-asterisk-billing.html#comments</comments>
		<pubDate>Thu, 20 Nov 2008 09:08:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[asterBilling]]></category>
		<category><![CDATA[a2billing]]></category>
		<category><![CDATA[asteisk]]></category>
		<category><![CDATA[asterisk billing]]></category>
		<category><![CDATA[calling card]]></category>

		<guid isPermaLink="false">http://astercc.org/?p=354</guid>
		<description><![CDATA[a2billing is a widly used billing system, so what&#8217;s the difference between a2billing and asterbilling? system theory: a2billing work with asterisk through AGI, each call would be handled by a2billing.agi,...]]></description>
			<content:encoded><![CDATA[<p>a2billing is a widly used billing system, so what&#8217;s the difference between a2billing and asterbilling?</p>
<h4><strong>system theory:</strong></h4>
<p>a2billing work with asterisk through AGI, each call would be handled by a2billing.agi, so you need change your astierks context so that when your phone make calls it will go to a2billing.agi, of course you need to copy a2billing scripts to your asterisk server.</p>
<p>asterbilling runs as linux daemons, connect to asterisk via AMI over tcp,  no need change anything on your asterisk, asterbilling can bill it. Even asterbilling could work with a2billing.</p>
<p><strong>license &amp; free:</strong></p>
<p>a2billing: 100% open source and free to use.</p>
<p>asterbilling: only web scripts are open source, and provides 5 free simultaneous channels, have to purchase when need more channels.</p>
<p><strong>performance:</strong></p>
<p>a2billing: like 100 simultaneous calls on single server? i didnt test, <img src='http://astercc.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>asterbilling: passed 240 simultaneous calls testing, but didnt test more.</p>
<p><strong>best usage:</strong></p>
<p>a2billing: calling card, callback or wholesale solutions</p>
<p>asterbilling: billing for embedded astiersk, pbx (like all freepbx based system), callshop, hosted callshop soltution</p>
<p><strong>other keywords:</strong></p>
<p>a2billing: openser</p>
<p>asterbilling: realtime billing, reseller</p>
]]></content:encoded>
			<wfw:commentRss>http://astercc.org/tips/asterbilling/2008/11/asterbilling-and-asterisk2billing-a2billing-for-asterisk-billing.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rates setting in asterbilling for asterisk billing</title>
		<link>http://astercc.org/tips/asterbilling/2008/11/rates-setting-in-asterbilling-for-asterisk-billing.html</link>
		<comments>http://astercc.org/tips/asterbilling/2008/11/rates-setting-in-asterbilling-for-asterisk-billing.html#comments</comments>
		<pubDate>Wed, 19 Nov 2008 11:11:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[asterBilling]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[asterisk billing]]></category>
		<category><![CDATA[billing]]></category>
		<category><![CDATA[hosted callshop]]></category>
		<category><![CDATA[rate]]></category>
		<category><![CDATA[realtime billing]]></category>
		<category><![CDATA[reseller]]></category>

		<guid isPermaLink="false">http://astercc.org/?p=332</guid>
		<description><![CDATA[There are three rates in asterBilling, reseller rate, callshop rate and customer rate. reseller rate: the rate admin sell to reseller callshop rate (group rate): the rate reseller sell to...]]></description>
			<content:encoded><![CDATA[<p>There are three rates in asterBilling, reseller rate, callshop rate and customer rate.</p>
<ul>
<li>reseller rate: the rate admin sell to reseller</li>
<li>callshop rate (group rate): the rate reseller sell to callshop (group)</li>
<li>customer rate: the rate callshop sell to customers</li>
</ul>
<p>Rates in asterBilling could be inherited, for example, here&#8217;s two records in resellerrate</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterbillin_add_reseller_rate.png"><img class="alignnone size-full wp-image-336" title="asterbillin_add_reseller_rate" src="http://astercc.org/wp-content/uploads/2008/11/asterbillin_add_reseller_rate.png" alt="" width="500" height="369" /></a></p>
<p>dialpreifx = 0086<br />
number length = 0<br />
connect charge = 0.2<br />
init block = 60<br />
rate = 0.2<br />
billing block = 60<br />
<strong><span style="color: #ff0000;">resellerid = 0</span></strong></p>
<p>dialpreifx = 0049<br />
number length = 0<br />
connect charge = 0.4<br />
init block = 60<br />
rate = 0.4<br />
billing block = 60<br />
<span style="color: #ff0000;"><strong>resellerid = 0</strong></span></p>
<p>Because we dont specify which reseller is this rate for (resellerid = 0), this rate could be used for all resellers.  So what if some resellers want to change this rate rather than use this &#8220;default&#8221; rate? quite simple, just add another rate for the reseller:</p>
<p>dialpreifx = 0086<br />
number length = 0<br />
connect charge = 0.2<br />
init block = 60<br />
rate = 0.2<br />
billing block = 60<br />
<span style="color: #ff0000;"><strong> resellerid = 1</strong></span></p>
<p>so for this reseller (resellerid=1), when customer dial a number begin with 0086, it will use this new rate, we  can call it &#8220;overwrite&#8221;, but for other resellers who dont set their rate, it would use the one admin setted.</p>
<p>Just like reseller rate, group rate could also be inherited.</p>
<p>A:<br />
dialpreifx = 0086<br />
number length = 0<br />
connect charge = 0.2<br />
init block = 60<br />
rate = 0.2<br />
billing block = 60<br />
<strong><span style="color: #ff0000;">resellerid = 1<br />
</span></strong><strong><span style="color: #ff0000;">grouprid = 1</span></strong></p>
<p><strong></strong>B:</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterbillin_add_group_rate_1.png"><img class="alignnone size-full wp-image-339" title="asterbillin_add_group_rate_1" src="http://astercc.org/wp-content/uploads/2008/11/asterbillin_add_group_rate_1.png" alt="" width="500" height="362" /></a><br />
dialpreifx = 0086<br />
number length = 0<br />
connect charge = 0.4<br />
init block = 60<br />
rate = 0.4<br />
billing block = 60<br />
<strong><span style="color: #ff0000;">resellerid = 1<br />
</span></strong><strong><span style="color: #ff0000;">grouprid = 0</span></strong></p>
<p>C:</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterbillin_add_group_rate.png"><img class="alignnone size-full wp-image-338" title="asterbillin_add_group_rate" src="http://astercc.org/wp-content/uploads/2008/11/asterbillin_add_group_rate.png" alt="" width="500" height="347" /></a></p>
<p>dialpreifx = 0086<br />
number length = 0<br />
connect charge = 0.4<br />
init block = 60<br />
rate = 0.4<br />
billing block = 60<br />
<span style="color: #ff0000;"><strong>resellerid = 0<br />
groupid = 0</strong></span></p>
<p>so rate C is a rate for all reseller and all group,  rate B is for all groups in reseller 1, rate A is only for group 1.</p>
<p>Through inherit rate, admin could be much easier to control the rates, like just set one rate for all resellers, and adjust some when they require some difference, also reseller could just set one rate for his callshops, and only do minor change to provide different rate plan.</p>
]]></content:encoded>
			<wfw:commentRss>http://astercc.org/tips/asterbilling/2008/11/rates-setting-in-asterbilling-for-asterisk-billing.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to set asterBilling working with Freepbx, Trixbox, Elastix …</title>
		<link>http://astercc.org/tutorial-2/2008/11/how-to-set-asterbilling-working-with-freepbx-trixbox-elastix.html</link>
		<comments>http://astercc.org/tutorial-2/2008/11/how-to-set-asterbilling-working-with-freepbx-trixbox-elastix.html#comments</comments>
		<pubDate>Wed, 12 Nov 2008 12:42:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[asterBilling]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[asterisk billing]]></category>
		<category><![CDATA[bill asterisk phone]]></category>
		<category><![CDATA[billing]]></category>
		<category><![CDATA[elastix]]></category>
		<category><![CDATA[Freepbx]]></category>
		<category><![CDATA[pbx billing]]></category>
		<category><![CDATA[realtime billing]]></category>
		<category><![CDATA[trixbox]]></category>

		<guid isPermaLink="false">http://astercc.org/?p=223</guid>
		<description><![CDATA[asterBilling is a realtime billing solution for asterisk, could be used as a hosted callshop or just a simple billing system for your asterisk pbx. Many people are using freepbx...]]></description>
			<content:encoded><![CDATA[<p>asterBilling is a realtime billing solution for asterisk, could be used as a hosted callshop or just a simple billing system for your asterisk pbx. Many people are using freepbx based system as their pbx, like trixbox, elastix &#8230; so here i&#8217;ll introduce you how to use asterBilling to bill your asterisk pbx.</p>
<p>the first thing is, you must have freepbx installed and have a user their, say you want to bill these two users: solo &lt;8000&gt; and donnie &lt;8001&gt;</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/freepbx_extensions.png"><img class="alignnone size-full wp-image-255" title="freepbx_extensions" src="http://astercc.org/wp-content/uploads/2008/11/freepbx_extensions.png" alt="" width="500" height="183" /></a></p>
<p>next go to asterBilling manager login (like http://asterccserver/asterbilling/manager_login.php) and login as &#8220;admin&#8221;</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterbilling_manager_login.png"><img class="alignnone size-full wp-image-257" title="asterbilling_manager_login" src="http://astercc.org/wp-content/uploads/2008/11/asterbilling_manager_login.png" alt="" width="388" height="293" /></a></p>
<p>Although we only want to bill our pbx,  still have to add a reseller first, go to &#8220;reseller&#8221; and click &#8220;Add&#8221; button, pur some message in the form and click &#8220;continue&#8221;</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterbilling_add_reseller.png"><img class="alignnone size-full wp-image-258" title="asterbilling_add_reseller" src="http://astercc.org/wp-content/uploads/2008/11/asterbilling_add_reseller.png" alt="" width="500" height="196" /></a></p>
<p>i left &#8220;Credit Lmit&#8221; to be null and &#8220;Limit Type&#8221; to &#8220;No limt&#8221; coz i just want to know how much each phone dialed each month.</p>
<p>then go to &#8220;Account Group&#8221; and add a group there</p>
<p><span id="more-223"></span></p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterbilling_add_group.png"><img class="alignnone size-full wp-image-259" title="asterbilling_add_group" src="http://astercc.org/wp-content/uploads/2008/11/asterbilling_add_group.png" alt="" width="500" height="216" /></a></p>
<p>next go to &#8220;Clid&#8221; and add your phones, write down the &#8220;Pin&#8221; of the phone.</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterbilling_add_clid.png"><img class="alignnone size-full wp-image-260" title="asterbilling_add_clid" src="http://astercc.org/wp-content/uploads/2008/11/asterbilling_add_clid.png" alt="" width="500" height="268" /></a></p>
<p>ok, now you have added the phones you want to bill in asterBilling, we need to add rate next, we have reseller rate, group rate and customer rate, I want to know the phone cost of each phone, so i only set customer rate</p>
<p>go to &#8220;Rate to Customer&#8221; and add a rate</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterbilling_add_rate.png"><img class="alignnone size-full wp-image-262" title="asterbilling_add_rate" src="http://astercc.org/wp-content/uploads/2008/11/asterbilling_add_rate.png" alt="" width="500" height="292" /></a></p>
<p>this 0049 rate mean all calls begin with 0049 will be charged as such rate, 0.2 for the first 180 seconds and 0.2 each minutes after the first 180 seconds, it&#8217;d be charged every 60 seconds.</p>
<p>We have a rate which prefix is &#8220;default&#8221;, so this means if no prefix matched, the call will use this rate, we can use this for internal calls.</p>
<p>Also you may noticed that we didnt select Reseller and Group, this means all Reseller and Group will use this rate.</p>
<p>After all rates are added, your configuration job is done, before you leave asterBilling, make sure astercc daemons is working or else just start them by &#8220;asterccd start&#8221;</p>
<p>When a phone user want to check his CDR and how much he have dialed, he can login asterBilling via phone login page, like http://asterccserver/asterbilling/login.php, login use phone number and pin</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterbilling_user_login.png"><img class="alignnone size-full wp-image-263" title="asterbilling_user_login" src="http://astercc.org/wp-content/uploads/2008/11/asterbilling_user_login.png" alt="" width="389" height="298" /></a></p>
<p>then you can see your CDR history and how much each call cost:</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterbilling_clid_cdr.png"><img class="alignnone size-medium wp-image-264" title="asterbilling_clid_cdr" src="http://astercc.org/wp-content/uploads/2008/11/asterbilling_clid_cdr-300x129.png" alt="" width="300" height="129" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://astercc.org/tutorial-2/2008/11/how-to-set-asterbilling-working-with-freepbx-trixbox-elastix.html/feed</wfw:commentRss>
		<slash:comments>10</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! -->
