<?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; asterBilling</title>
	<atom:link href="http://astercc.org/tag/asterbilling/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>config trunk and failover trunk in asterbilling</title>
		<link>http://astercc.org/tutorial-2/2010/05/config-trunk-and-failover-trunk-in-asterbilling.html</link>
		<comments>http://astercc.org/tutorial-2/2010/05/config-trunk-and-failover-trunk-in-asterbilling.html#comments</comments>
		<pubDate>Thu, 27 May 2010 02:25:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[a2billing]]></category>
		<category><![CDATA[asterBilling]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[callshop]]></category>
		<category><![CDATA[failover]]></category>
		<category><![CDATA[Freepbx]]></category>
		<category><![CDATA[trunk]]></category>

		<guid isPermaLink="false">http://astercc.org/?p=708</guid>
		<description><![CDATA[in the new asterbilling, we provide a reselleroutbound.agi, so you can specific different reseller use different trunk (ex. each reseller use a account in a2billing), and you can config a...]]></description>
			<content:encoded><![CDATA[<p>in the new asterbilling, we provide a reselleroutbound.agi, so you can specific different reseller use different trunk (ex. each reseller use a account in a2billing), and you can config a failover trunk for the reseller.</p>
<p>Howto:：</p>
<p>a) in your asterisk, add a context in your dialplan for reselleroutbound.agi, in directory scripts, we also provided a conf file named &#8220;extensions_astercc.conf&#8221;, [asterbilling- outbound] is the context for reselleroutbound.agi, if you have installed astercc via the shell script install.sh, this conf file will be moved to your asterisk etc folder, and add a new line in your extensions.conf  &#8220;#include extensions_astercc.conf&#8221;, now you can use [asterbilling-outbound] as the context for asterbilling, if you are using asterCC-Box, it&#8217;s configed already. If you installed astercc manually, you would like to copy  extensions_astercc.conf  to asterisk etc folder(usually it&#8217;s /etc/asterisk ), and add the include line in your extensions.conf (#include extensions_astercc.conf, if it&#8217;s a system based freepbx, please add this line to /etc/asterisk/extensions_custom.conf)</p>
<div><a title="extensions_astercc.conf" rel="lightbox[pics708]" href="http://astercc.org/wp-content/uploads/2010/05/extensions_asterccconf11.jpg"><img class="attachment wp-att-711" src="http://astercc.org/wp-content/uploads/2010/05/extensions_asterccconf11.jpg" alt="extensions_astercc.conf" /></a></p>
<div class="imagecaption">extensions_astercc.conf</div>
</div>
<p>b)config the trunk for reseller</p>
<div><a title="reseller_trunk1" rel="lightbox[pics708]" href="http://astercc.org/wp-content/uploads/2010/05/reseller_trunk1en.jpg"><img class="attachment wp-att-712" src="http://astercc.org/wp-content/uploads/2010/05/reseller_trunk1en.jpg" alt="reseller_trunk1" width="497" height="580" /></a></div>
<p>when clid dialout, it&#8217;ll use turnk1 first and if  dail failed, it&#8217;ll try to dial by trunk2</p>
<p>There are three type of trunk: auto，default and customize</p>
<p>auto：reselleroutbound.agi don&#8217;t proccess anything，and  goto next step of context</p>
<p>default：your can select a default trunk that set in [resellertrunk] segment asterbilling.conf.php,  could be set tow default system trunk:</p>
<p>[resellertrunk]<br />
trunk1_type = sip<br />
trunk1= reselleroutbound1<br />
trunk2_type = sip<br />
trunk2= reselleroutbound2</p>
<p>customize：add new trunk for this reseller，should click &#8220;reload&#8221; button to generate asterisk conf file when saved trunk infomation</p>
<div><a title="reseller_trunk2en" rel="lightbox[pics708]" href="http://astercc.org/wp-content/uploads/2010/05/reseller_trunk2en.jpg"><img class="attachment wp-att-713" src="http://astercc.org/wp-content/uploads/2010/05/reseller_trunk2en.jpg" alt="reseller_trunk2en" width="285" height="81" /></a></div>
<p>when you add the trunk for the first time, when you reload, if will have two conf file: sip_astercc_registrations.conf  and  sip_astercc_trunks.conf , if you are not using astercc-box, please include these files to your sip.conf(for freepbx based system, please add  #include sip_astercc_registrations.conf to /etc/asterisk/sip_registrations_custom.conf, and add #include sip_astercc_trunks.conf  to /etc/asterisk/sip_custom.conf, and then do sip reload in asterisk , for the next time you add trunk, just need click the &#8220;reload&#8221; button.</p>
]]></content:encoded>
			<wfw:commentRss>http://astercc.org/tutorial-2/2010/05/config-trunk-and-failover-trunk-in-asterbilling.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>why i cant see booth history when can see the calling call?</title>
		<link>http://astercc.org/tips/asterbilling/2009/07/why-i-cant-see-booth-history-when-can-see-the-calling-call.html</link>
		<comments>http://astercc.org/tips/asterbilling/2009/07/why-i-cant-see-booth-history-when-can-see-the-calling-call.html#comments</comments>
		<pubDate>Wed, 15 Jul 2009 06:46:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[asterBilling]]></category>
		<category><![CDATA[booth]]></category>
		<category><![CDATA[callshop]]></category>
		<category><![CDATA[live call]]></category>
		<category><![CDATA[no history]]></category>

		<guid isPermaLink="false">http://astercc.org/?p=608</guid>
		<description><![CDATA[some customers find that they can see live booth calls(screen 1) but when call is done, nothing appears in the booth box(screen 2). this happens coz the admin set sip...]]></description>
			<content:encoded><![CDATA[<p>some customers find that they can see live booth calls(screen 1) but when call is done, nothing appears in the booth box(screen 2).</p>
<p style="text-align: center;"><img class="attachment wp-att-609 centered" src="http://astercc.org/wp-content/uploads/2009/07/2.jpg" alt="live call in booth window" width="480" height="330" /></p>
<p style="text-align: center;"><img class="attachment wp-att-610 centered" src="http://astercc.org/wp-content/uploads/2009/07/3.jpg" alt="nothing in booth box" width="480" height="330" /></p>
<p>this happens coz the admin set sip account in &#8220;clid&#8221; when it should be &#8220;caller id&#8221;</p>
<p>check table &#8220;mycdr&#8221; you will find that the &#8220;src&#8221; filed would be a number which doesnt match with &#8220;channel&#8221; field</p>
<p>to fix this, just go to &#8220;clid&#8221; in asterbilling and change the clid to be the number in src field</p>
]]></content:encoded>
			<wfw:commentRss>http://astercc.org/tips/asterbilling/2009/07/why-i-cant-see-booth-history-when-can-see-the-calling-call.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>how to upgrade astercc</title>
		<link>http://astercc.org/faq-2/2009/06/how-to-upgrade-astercc.html</link>
		<comments>http://astercc.org/faq-2/2009/06/how-to-upgrade-astercc.html#comments</comments>
		<pubDate>Sat, 27 Jun 2009 03:35:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[asterBilling]]></category>
		<category><![CDATA[asterCC Comercial]]></category>
		<category><![CDATA[asterCRM]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://astercc.org/?p=601</guid>
		<description><![CDATA[1.upgrade database unzip the package u could see folder &#8220;sql&#8221; where we put all database files, in asterCC 0.X it would looks like: astercc0.1b-0.1.sql astercc0.1-0.11.sql astercc0.11-0.12b.sql astercc0.12b.-0.12sql astercc0.13-0.14b.sql astercc&#8230;.0.X.sql astercc.sql...]]></description>
			<content:encoded><![CDATA[<p>1.upgrade database</p>
<p>unzip the package u could see folder &#8220;sql&#8221; where we put all database files, in asterCC 0.X it would looks like:</p>
<p>astercc0.1b-0.1.sql<br />
astercc0.1-0.11.sql<br />
astercc0.11-0.12b.sql<br />
astercc0.12b.-0.12sql<br />
astercc0.13-0.14b.sql<br />
astercc&#8230;.0.X.sql<br />
astercc.sql</p>
<p>say you are using 0.1b now, so you have to execute  astercc0.1b-0.1.sql, astercc0.1-0.11.sql, astercc0.11-0.12b.sql, astercc0.12b.-0.12sql until astercc&#8230;0.X.sql, then u get database of v0.X</p>
<p>the command line for this is like<br />
mysql -uroot -p astercc &lt; astercc&#8230;.0.X.sql</p>
<p>2. stop astercc daemons</p>
<p>/opt/asterisk/scripts/astercc/asterccd stop</p>
<p>3. cp the new html &amp; daemon files, please notice that you may want to backup astercrm.conf.php, astercc.conf and asterbilling.conf.php first</p>
<p>example:</p>
<p>cp astercrm /var/www/html -rf</p>
<p>cp asterbilling /var/www/html -rf</p>
<p>cp scripts/* /opt/asterisk/scripts/astercc</p>
<p>* from astercc-0.21, the package includes both 32bit and 64bit scrips, you will copy the scripts out of 32/ or 64/ to your daemon folder (usually /opt/asterisk/scripts/astercc)</p>
<p>4.  config conf files</p>
<p>check your astercc.conf, asterbilling.conf.php, astercrm.conf.php, make sure you have the correct config</p>
<p>5. start astercc daemons</p>
<p>/opt/asterisk/scripts/astercc/asterccd start</p>
<p>6. check crontab<br />
we provides some cron script to deal with recording files and CDRs, so open README, make sure you have the scripts configed in your crontab</p>
<p>7. login web and check if any errors</p>
]]></content:encoded>
			<wfw:commentRss>http://astercc.org/faq-2/2009/06/how-to-upgrade-astercc.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>new feature in asterbilling</title>
		<link>http://astercc.org/tips/asterbilling/2009/03/new-feature-in-asterbilling.html</link>
		<comments>http://astercc.org/tips/asterbilling/2009/03/new-feature-in-asterbilling.html#comments</comments>
		<pubDate>Tue, 17 Mar 2009 06:22:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[asterBilling]]></category>
		<category><![CDATA[new feature]]></category>
		<category><![CDATA[rate]]></category>

		<guid isPermaLink="false">http://astercc.org/?p=544</guid>
		<description><![CDATA[we provide a new feature in asterbilling, you can read your buy rate when add a sell rate manually. say admin set three rates for reseller: default     0.2    ...]]></description>
			<content:encoded><![CDATA[<p>we provide a new feature in asterbilling, you can read your buy rate when add a sell rate manually.</p>
<p>say admin set three rates for reseller:<br />
default     0.2         for all resellers<br />
0086        0.25     for reseller1<br />
00852     0.3        for all resellers</p>
<p style="text-align: center;"><img class="attachment wp-att-545 aligncenter" src="http://astercc.org/wp-content/uploads/2009/03/new_feature_rate_hint_1.png" alt="new_feature_rate_hint_1" width="450" height="171" /></p>
<p>then reseller1 logged in and want to add sell rate for his callshop</p>
<p>1. we add rate for North Americe, which prefix is 001, it will give the buy rate for 001 after input box (we didnt set prefix 001 in rate to reseller, so it will use default rate)</p>
<p style="text-align: center;"><img class="attachment wp-att-547 aligncenter" src="http://astercc.org/wp-content/uploads/2009/03/new_feature_rate_hint_2.png" alt="new_feature_rate_hint_2" width="450" height="189" /></p>
<p>2. we add rate for China, which prefix is 0086, it will give the buy rate for 0086 after input box</p>
<p style="text-align: center;"><img class="attachment wp-att-548 aligncenter" src="http://astercc.org/wp-content/uploads/2009/03/new_feature_rate_hint_3.png" alt="new_feature_rate_hint_3" width="450" height="177" /></p>
<p>3. we add rate for HK, which prefix is 00852, it will give the buy rate for 00852after input box</p>
<p style="text-align: center;"><img class="attachment wp-att-549 aligncenter" src="http://astercc.org/wp-content/uploads/2009/03/new_feature_rate_hint_4.png" alt="new_feature_rate_hint_4" width="450" height="180" /></p>
<p style="text-align: center;">also, when groupadmin add customer sell rate, he can also see his buy rate from reseller<br />
<img class="attachment wp-att-549 aligncenter" src="http://astercc.org/wp-content/uploads/2009/03/new_feature_rate_hint_4.png" alt="new_feature_rate_hint_4" width="450" height="180" /></p>
]]></content:encoded>
			<wfw:commentRss>http://astercc.org/tips/asterbilling/2009/03/new-feature-in-asterbilling.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>asterbilling hosted callshop solution for asterisk</title>
		<link>http://astercc.org/solutions/2008/11/asterbilling-hosted-callshop-solution-for-asterisk.html</link>
		<comments>http://astercc.org/solutions/2008/11/asterbilling-hosted-callshop-solution-for-asterisk.html#comments</comments>
		<pubDate>Wed, 19 Nov 2008 10:11:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Solutions]]></category>
		<category><![CDATA[asterBilling]]></category>
		<category><![CDATA[asterCC Comercial]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[callshop]]></category>
		<category><![CDATA[elastix]]></category>
		<category><![CDATA[Freepbx]]></category>
		<category><![CDATA[hosted callshop]]></category>
		<category><![CDATA[realtime billing]]></category>
		<category><![CDATA[reseller]]></category>
		<category><![CDATA[trixbox]]></category>

		<guid isPermaLink="false">http://astercc.org/?p=329</guid>
		<description><![CDATA[asterBilling is a realtime billing software for asterisk. Through asterBilling, it&#8217;s very easy to build a hosted callshop solution for asterisk. benefits of asterBilling hosted callshop solution: reseller, callshop, customer...]]></description>
			<content:encoded><![CDATA[<p>asterBilling is a realtime billing software for asterisk. Through asterBilling, it&#8217;s very easy to build a hosted callshop solution for asterisk.</p>
<p>benefits of asterBilling hosted callshop solution:</p>
<ul>
<li>reseller, callshop, customer three level billing</li>
<li>all web based</li>
<li>high performance</li>
<li>all asterisk system compatible</li>
</ul>
<p>here, i&#8217;ll introduce u how to build a hosted callshop solution using asterisk and asterbilling.</p>
<p>1. step1, install asterisk</p>
<p>2. step2, set trunk and dialplan in asterisk</p>
<p>edit /etc/asterisk/sip.conf and add your trunk there</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterisk_trunk_setting.png"><img class="alignnone size-full wp-image-341" title="asterisk_trunk_setting" src="http://astercc.org/wp-content/uploads/2008/11/asterisk_trunk_setting.png" alt="" width="344" height="156" /></a></p>
<p>then set dialplan, go to /etc/asterisk/extensions.conf and add a context there</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterisk_extensions_setting.png"><img class="alignnone size-full wp-image-343" title="asterisk_extensions_setting" src="http://astercc.org/wp-content/uploads/2008/11/asterisk_extensions_setting.png" alt="" width="395" height="92" /></a></p>
<p>3. step3, install asterBilling</p>
<p>4. step4, check asterbilling.conf.php</p>
<p>We need to modify asterbilling config file to meet our system, so check the &#8220;asterbilling.conf.php&#8221; in asterbilling folder, find section &#8220;sipbuddy&#8221; change context to be &#8220;context = from-booth&#8221;, so the sip peer generated by asterbilling will use context &#8220;from-booth&#8221; for outbound calls.</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterbilling_conf_set_1.png"><img class="alignnone size-full wp-image-345" title="asterbilling_conf_set_1" src="http://astercc.org/wp-content/uploads/2008/11/asterbilling_conf_set_1.png" alt="" width="250" height="188" /></a></p>
<p>* if you are using freepbx, you can use &#8220;context=from-internal&#8221; here, then it you can set outbound in your freepbx and all booth will use that.</p>
<p>By default, asterbilling will generate all sip peers to the file &#8220;/etc/asterisk/sip_astercc&#8221;, you can change to other name if you want, or leave it blank if u dont want asterbilling generate the sip peers</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterbilling_conf_set_2.png"><img class="alignnone size-full wp-image-346" title="asterbilling_conf_set_2" src="http://astercc.org/wp-content/uploads/2008/11/asterbilling_conf_set_2.png" alt="" width="663" height="72" /></a></p>
<p>also we need to include the conf file in sip.conf so that asterisk could load peers asterbilling generated</p>
<p>modify /etc/asterisk/sip.conf and add</p>
<p><em><strong>#include sip_astercc.conf</strong></em></p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterisk_include_setting.png"><img class="alignnone size-full wp-image-347" title="asterisk_include_setting" src="http://astercc.org/wp-content/uploads/2008/11/asterisk_include_setting.png" alt="" width="477" height="54" /></a></p>
<p>5. step5, set resellers and groups</p>
<p>6. step6, add clid as reseller</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/reseller.png"><img class="alignnone size-medium wp-image-510" title="reseller" src="http://astercc.org/wp-content/uploads/2008/11/reseller-300x156.png" alt="reseller" width="300" height="156" /></a></p>
<p>7. step7, set rates</p>
<p>asterbilling provides three level billing:</p>
<p>rate to reseller: the rate you sell to resellers</p>
<p>rate to callshop: the rate resellers sell to callshops</p>
<p>rate to customer: the rate callshops sell to customers</p>
<p>8. step8, login as groupadmin/operate check callshop interface</p>
<p><img class="alignnone size-medium wp-image-508" title="callshop" src="http://astercc.org/wp-content/uploads/2008/11/callshop-300x165.png" alt="callshop" width="300" height="165" /></p>
<p>9. step9, check reports</p>
]]></content:encoded>
			<wfw:commentRss>http://astercc.org/solutions/2008/11/asterbilling-hosted-callshop-solution-for-asterisk.html/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>import data in asterCC</title>
		<link>http://astercc.org/tips/astercrm/2008/11/import-data-in-astercc.html</link>
		<comments>http://astercc.org/tips/astercrm/2008/11/import-data-in-astercc.html#comments</comments>
		<pubDate>Sun, 16 Nov 2008 11:23:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[asterBilling]]></category>
		<category><![CDATA[asterCRM]]></category>
		<category><![CDATA[asterCC Comercial]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[rate]]></category>

		<guid isPermaLink="false">http://astercc.org/?p=247</guid>
		<description><![CDATA[You can import your data via web page in asterCC, in asterCRM, you can import customers, contacts and diallist, in asterBilling, you can import customerrate, grouprate and resellerrate, when import...]]></description>
			<content:encoded><![CDATA[<p>You can import your data via web page in asterCC, in asterCRM, you can import customers, contacts and diallist, in asterBilling, you can import customerrate, grouprate and resellerrate, when import in asterCC, it will require you define how to map your data in excel/csv file to fileds in database.</p>
<p>say you have a rate table what to import as rate for callshop, filename is callshoprate.csv, the content is like</p>
<pre>93,0,Afghanistan,0,1,14.5,60,1,2,15.03.08 18:22
9370,0,Afghanistan - Cellular,0,1,11,60,1,2,15.03.08 18:22
9379,0,Afghanistan - Cellular,0,1,11,60,1,2,15.03.08 18:22
35538,0,Albania - Cellular,0,1,10.5638,60,1,2,15.03.08 18:22</pre>
<p>1. select your data file, asterCC support excel or csv format OR you can select a exsited file in your &#8220;upload&#8221; folderand then click &#8220;Upload&#8221;</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterbilling_import.png"><img class="alignnone size-full wp-image-248" title="asterbilling_import" src="http://astercc.org/wp-content/uploads/2008/11/asterbilling_import.png" alt="" width="500" height="287" /></a></p>
<p>then select callshoprate from the drop down menu on left</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterbilling_import_1.png"><img class="alignnone size-full wp-image-249" title="asterbilling_import_1" src="http://astercc.org/wp-content/uploads/2008/11/asterbilling_import_1.png" alt="" width="500" height="186" /></a></p>
<p>If this rate is for specific reseller/group, we can selec the reseller and group at the buttom, but here we leave is as &#8220;All&#8221;, means all groups in all reseller will use this rate by default</p>
<p>click &#8220;Import&#8221; to import the data, then u might get a Success prompt and see such page</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/asterbilling_import_2.png"><img class="alignnone size-full wp-image-250" title="asterbilling_import_2" src="http://astercc.org/wp-content/uploads/2008/11/asterbilling_import_2.png" alt="" width="500" height="237" /></a></p>
<p>if you only get 0 records from the message, go back and check if anything is wrong.</p>
<p>In astercrm, there&#8217;re some more options</p>
<p><a href="http://astercc.org/wp-content/uploads/2008/11/astercrm_import.png"><img class="alignnone size-full wp-image-253" title="astercrm_import" src="http://astercc.org/wp-content/uploads/2008/11/astercrm_import.png" alt="" width="500" height="197" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://astercc.org/tips/astercrm/2008/11/import-data-in-astercc.html/feed</wfw:commentRss>
		<slash:comments>1</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! -->
