<?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呼叫中心和计费解决方案 &#187; hosted callshop</title>
	<atom:link href="http://cn.astercc.org/tag/hosted-callshop/feed" rel="self" type="application/rss+xml" />
	<link>http://cn.astercc.org</link>
	<description>asterCC, asterisk 呼叫中心,IP电话交换机和计费解决方案</description>
	<lastBuildDate>Wed, 01 Feb 2012 05:42:36 +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>使用asterBilling对asterisk计费时的费率设置方法</title>
		<link>http://cn.astercc.org/2008/11/21/%e4%bd%bf%e7%94%a8asterbilling%e5%af%b9asterisk%e8%ae%a1%e8%b4%b9%e6%97%b6%e7%9a%84%e8%b4%b9%e7%8e%87%e8%ae%be%e7%bd%ae%e6%96%b9%e6%b3%95.html</link>
		<comments>http://cn.astercc.org/2008/11/21/%e4%bd%bf%e7%94%a8asterbilling%e5%af%b9asterisk%e8%ae%a1%e8%b4%b9%e6%97%b6%e7%9a%84%e8%b4%b9%e7%8e%87%e8%ae%be%e7%bd%ae%e6%96%b9%e6%b3%95.html#comments</comments>
		<pubDate>Fri, 21 Nov 2008 08:03:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[asterBilling]]></category>
		<category><![CDATA[使用技巧]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[asterisk 计费]]></category>
		<category><![CDATA[hosted callshop]]></category>
		<category><![CDATA[realtime billing]]></category>
		<category><![CDATA[代理商]]></category>
		<category><![CDATA[实时计费]]></category>
		<category><![CDATA[计费]]></category>
		<category><![CDATA[话吧]]></category>
		<category><![CDATA[费率]]></category>
		<category><![CDATA[连锁话吧]]></category>

		<guid isPermaLink="false">http://cn.astercc.org/?p=182</guid>
		<description><![CDATA[使用asterBilling对asterisk计费时的费率设置方法]]></description>
			<content:encoded><![CDATA[<p>在asterBilling中有三种费率表，代理商费率、话吧费率和用户费率。</p>
<ul>
<li>代理商费率：admin出售给代理商的费率。</li>
<li>话吧费率 (组费率)： 代理商出售给话吧(组)的费率。</li>
<li>用户费率：话吧出售给客户的费率。</li>
</ul>
<p>asterBilling 中的费率是可以被继承的，例如，有两条记录在 resellerrate表中：</p>
<p><a href="http://cn.astercc.org/wp-content/uploads/2008/11/asterbilling_resellerrate1_add.png"><img class="alignnone size-full wp-image-183" title="asterbilling_resellerrate1_add" src="http://cn.astercc.org/wp-content/uploads/2008/11/asterbilling_resellerrate1_add.png" alt="" width="500" height="421" /></a></p>
<p>dialpreifx = 0086<br />
number length = 0<br />
connect charge = 0.2<br />
init block = 60<br />
rate = 0.1<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>因为我们没有为这条费率指定一个代理商，所有这条费率会被应用于所有代理商。如果你不想让某一个代理商应用这条默认的费率，非常简单，只需要为这个代理商添加一条费率：</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>上面这条费率我们指定了代理商(resellerid=1)，当他的客户拨一个0086开头的号码时，将会应用这条新费率计费。</p>
<p>与代理商费率一样，话吧费率也可以被继承：</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>B:</p>
<p><a href="http://cn.astercc.org/wp-content/uploads/2008/11/asterbilling_grouprate_add.png"><img class="alignnone size-full wp-image-184" title="asterbilling_grouprate_add" src="http://cn.astercc.org/wp-content/uploads/2008/11/asterbilling_grouprate_add.png" alt="" width="500" height="445" /></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://cn.astercc.org/wp-content/uploads/2008/11/asterbilling_grouprate1_add.png"><img class="alignnone size-full wp-image-186" title="asterbilling_grouprate1_add" src="http://cn.astercc.org/wp-content/uploads/2008/11/asterbilling_grouprate1_add.png" alt="" width="500" height="447" /></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>费率C将被应用于所有代理商和组，费率B将被应用于reseller1下的所有组，费率A 仅被应用于group1。</p>
<p>通过继承费率，admin可以更容易的控制费率，比如设置一套费率用于所在代理商，只调整需要不同费率的部分，代理商也可以所有组设置一套费率，对特殊费率进行小范围的调整。</p>
]]></content:encoded>
			<wfw:commentRss>http://cn.astercc.org/2008/11/21/%e4%bd%bf%e7%94%a8asterbilling%e5%af%b9asterisk%e8%ae%a1%e8%b4%b9%e6%97%b6%e7%9a%84%e8%b4%b9%e7%8e%87%e8%ae%be%e7%bd%ae%e6%96%b9%e6%b3%95.html/feed</wfw:commentRss>
		<slash:comments>0</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! -->
